-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Intel Fortran Compiler can not be detected on linux #1893
Comments
I have improved it but I have not environment to test it. You can try it. If it does not work, you can open a pr later. 0944d5a |
Now it is able to find |
I have improved it on ifort branch, can you try it again.
https://github.com/xmake-io/xmake/pull/1898/files But I have not tested it. if it dose not work, you can debug this patch and open pr to this branch. |
I have improved to detect icc/ifort toolchains again on dev, you can try it. xmake update -s dev |
It's still the same |
Describe the bug
When I switch to the
ifort
toolchain usingset_toolchains("ifort")
, the compiler is not found. There is a workaround (see Additional Context) though it would be nice if it could be detected automatically. I installed the compiler from the official Intel website using the online installer.Expected behavior
The Compiler and all related paths should be detected automatically by xmake.
Error output
Well, it just says
toolchain("ifort"): not found!
.Related Environment
Additional context
The workaround goes as follows:
PATH
For me I had to add
~/intel/oneapi/compiler/latest/linux/bin/intel64
. Changeintel64
toia32
for x86.LD_LIBRARY_PATH
For me I had to add
~/intel/oneapi/compiler/latest/linux/compiler/lib/intel64
. Changeintel64
toia32
for x86.This should be everything and now you can use ifort with xmake.
The text was updated successfully, but these errors were encountered: