Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

external clang never detected #1

Open
sguera opened this issue May 17, 2016 · 3 comments
Open

external clang never detected #1

sguera opened this issue May 17, 2016 · 3 comments

Comments

@sguera
Copy link

sguera commented May 17, 2016

Hi,

I am trying to install A software relying on your PET module. When entering the configure of PET it always detects:

"checking which clang to use... system"

even though I specified I want to use another clang version and this results in:

"checking clang/Basic/SourceLocation.h usability... no
checking clang/Basic/SourceLocation.h presence... no
checking for clang/Basic/SourceLocation.h... no"

even though those libraries are present in the path I pass to CPPFLAGS and LDFLAGS.

Any idea on how to solve the issue?

Thanks

@Meinersbur
Copy link
Owner

Thank you for the report.

Are you running configure from pencilcc, ppcg or directly from the pet directory? If not from the pet directory, please try. If it does not work, please also try using the upstream pet (http://repo.or.cz/w/pet.git).

In any case, please send me the command line how you are invoking configure and all config.log files.

@sguera
Copy link
Author

sguera commented May 31, 2016

config.log
pluto_config.log

Hi Michael,

sorry for the delay but I was not at work until this afternoon.

Actually I am trying to install a stencil compiler called PLUTO. Its installation procedure first downloads the upstream pet and then runs an external configure that enters the directory of PET and from there runs the PET configure. I am trying to install PLUTO by mean of EasyBuild a software management tool for reproducible builds.
I was able to install PET and PLUTO on a system where Clang is installed in the standard location. When I use EasyBuild all the software is installed in another path and it looks to me that either Pluto or Pet directly fail to find where the Clang is, even though I tried to pass the installation path of Clang (anyway Clang is in the PATH when I try to configure pluto/pet). The guy from Pluto told me that it’s an issue related to PET (I don’t know). Attached you find 2 config.log:
one for PLUTO and the other one for PET (which is a subfolder of PLUTO).
The command used for this output was:
./configure —with-clang-prefix=/path\ to \clang

If you need anything else please let me know.

Regards,

Danilo

@Meinersbur
Copy link
Owner

Hi sguera,

thanks for the reply. Unfortunately I do not find any files attached.

This repository is for the modifications to PET I made for pencilcc. If you want to discuss issues with PET with for use with another project, there is the more general mailing list where more people can help you:
[email protected]

Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants