Skip to content

Commit a145e53

Browse files
authored
Modify a small issue
1 parent 6807886 commit a145e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/scripts/stage3/install_elpa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ case "$with_elpa" in
139139
--libdir="${pkg_install_dir}/${TARGET}/lib" \
140140
--enable-openmp=${enable_openmp} \
141141
${config_flags} \
142-
--enable-nvidia-gpu-kernels \
142+
--enable-nvidia-gpu-kernels=$([ "$TARGET" = "nvidia" ] && echo "yes" || echo "no") \
143143
--with-cuda-path=${CUDA_PATH:-${CUDA_HOME:-/CUDA_HOME-notset}} \
144144
--with-NVIDIA-GPU-compute-capability=$([ "$TARGET" = "nvidia" ] && echo "sm_$ARCH_NUM" || echo "sm_75") \
145145
FC=${MPIFC} \

0 commit comments

Comments
 (0)