-
Notifications
You must be signed in to change notification settings - Fork 37
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
cmake error at embed PCH with tag rocm-5.7.0 #16
Comments
can you try unsetting HIP_PATH when you build CLR from source and set it again after its done building? So basically. unset HIP_PATH |
@cjatin Great! This is the perfect solution to my problem. Thank you very much for your reply. |
Following this guide exactly, I get the exact same error? I have tried with both This is Ubuntu 22.04 LTS with I am not able to unset the "HIP_PATH" as I don't have it?
|
I built the clr from source, using the tag rocm-5.7.0
cmake reports an error:
My cmake setting is
export HIP_DIR=/home/marco/workspace/HIP
export HIPCC_DIR=/home/marco/workspace/HIPCC
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$ROCM_PATH -DCMAKE_PREFIX_PATH=$ROCM_PATH -DHIP_COMMON_DIR=$HIP_DIR -DHIP_PLATFORM=amd -DHIPCC_BIN_DIR=$HIPCC_DIR/build -DHIP_CATCH_TEST=0 -DCLR_BUILD_HIP=ON -DROCM_PATH=$ROCM_PATH
My llvm-project is also built from source code with tag rocm-5.7.0
I wonder how to fix it. If need more information, please let me know.
The text was updated successfully, but these errors were encountered: