Fix folders for DBCSR build with CUDA and HIP

This commit is contained in:
Matthias Krack 2025-02-13 18:01:06 +01:00
parent e89c3580bf
commit f8bee9bf09

View file

@ -55,6 +55,7 @@ case "${with_dbcsr}" in
cd ..
if [ "${ENABLE_CUDA}" == "__TRUE__" ]; then
mkdir build-cuda
cd build-cuda
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DUSE_ACCEL=cuda -DWITH_GPU=P100"
cmake \
-DCMAKE_INSTALL_PREFIX=${pkg_install_dir}-cuda \
@ -66,6 +67,7 @@ case "${with_dbcsr}" in
fi
if [ "${ENABLE_HIP}" == "__TRUE__" ]; then
mkdir build-hip
cd build-hip
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DUSE_ACCEL=hip -DWITH_GPU=Mi250"
cmake \
-DCMAKE_INSTALL_PREFIX=${pkg_install_dir}-hip \