mirror of https://github.com/Kitware/CMake.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
563 B
9 lines
563 B
export HIPCXX=/usr/bin/clang++-15
|
|
export HIPFLAGS='--rocm-path=/usr --rocm-device-lib-path=/usr/lib/x86_64-linux-gnu/amdgcn/bitcode'
|
|
|
|
# FIXME(debian): Clang is supposed to automatically parse a HIP version file.
|
|
# The ROCm installer places it at '$prefix/bin/.hipVersion', but the package
|
|
# on Debian moves it to '$prefix/share/hip/version'. llvm-toolchain package
|
|
# version 15.0.7-4 has 'debian/patches/amdgpu/usr-search-paths.patch' for this,
|
|
# but Debian 12 currently provides version 15.0.6-4 without the patch.
|
|
export HIPFLAGS="$HIPFLAGS --hip-version=5.2"
|