-
Notifications
You must be signed in to change notification settings - Fork 48
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
[aomp-extras] Build error with LLVM AOMP version 11.6.2 #116
Comments
So I noticed a few things that I want to ask about. The extras build script is reporting a NON STANDALONE BUILD and finds llvm in /opt/rocm/aomp/bin. Could you please detail your cloning and building process for AOMP 11.6-2? If your intent is to build
Then this should be a STANDALONE build and should not use anything from the /opt/rocm/aomp install. For a normal STANDALONE BUILD I would expect something like this
**Note that AOMP env variable is not set here so it will default install to /home/$USER/rocm/aomp |
My intent is to install
These are the cmake flags for LLVM:
For
and configure it with
|
Thanks for the clarification. AOMP does have a package inside of ROCm 3.5 called I would strongly suggest not to mix and match ROCm components with components from our Git Hub AOMP releases. Here are some options:
Are you able to use precompiled packages? Can you build AOMP 11.6-2 STANDALONE from source? Or are you set on building 11.6-2 with ROCm 3.5 components from source? Just trying to understand your reasoning here for building AOMP in /opt/rocm/aomp. I assume it is due to the fact you are on Arch Linux. |
Thank you very much @estewart08 for your detailed explanation! I'm able to compile AOMP 11.6-2 STANDALONE from source and can successfully compile and run the examples. I've created a package for Arch Linux that will soon be available on the AUR. |
This will be fixed in aomp 11.7-1 due any hour. |
@tpkessler Can we close this now? I would recommend installing ROCM 4.1 rocm-dkms package and AOMP 13.0-2. |
Yes. I totally forgot about this issue. I've been able to build |
I'm using Arch Linux and successfully compiled and ran aomp 11.6.1. With the new release 11.6.2 however, I get the following build error for
aomp-extras
:It seems to me that the filenames of the
*.bc
files clang is looking for are missing a.amdgcn.
. Fromrocm-device-libs 3.5.1
:With the previous version,
aomp-extras
compiled fine. This is an excerpt from the build log with llvm 11.6.1, butaomp-extras
at 11.6.2:The text was updated successfully, but these errors were encountered: