Skip to content
Snippets Groups Projects
Commit 3ff4d2a1 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Refactoring CMAKE for backend

parent 8dfcaaed
No related branches found
No related tags found
No related merge requests found
Pipeline #3839 passed
...@@ -123,7 +123,6 @@ with_petsc ...@@ -123,7 +123,6 @@ with_petsc
with_eigen with_eigen
with_vcdevel with_vcdevel
enable_gpu enable_gpu
enable_hip
enable_asan enable_asan
enable_garbageinj enable_garbageinj
enable_garbageinjv enable_garbageinjv
...@@ -249,8 +248,6 @@ do ...@@ -249,8 +248,6 @@ do
test_performance) test_performance)
conf_options="$conf_options -DTEST_PERFORMANCE=ON" conf_options="$conf_options -DTEST_PERFORMANCE=ON"
;; ;;
<<<<<<< HEAD
=======
gpu) gpu)
if [ x"$CXX" == x"" ]; then if [ x"$CXX" == x"" ]; then
conf_options="$conf_options" conf_options="$conf_options"
...@@ -264,10 +261,6 @@ do ...@@ -264,10 +261,6 @@ do
fi fi
conf_options="$conf_options -DENABLE_GPU=ON" conf_options="$conf_options -DENABLE_GPU=ON"
;; ;;
hip)
conf_options="$conf_options -DHIP_ENABLE=ON"
;;
>>>>>>> 49900f22654dff41bd2698a2a1f37ba6b2d05c49
asan) asan)
conf_options="$conf_options -DENABLE_ASAN=ON" conf_options="$conf_options -DENABLE_ASAN=ON"
;; ;;
...@@ -484,18 +477,6 @@ do ...@@ -484,18 +477,6 @@ do
case $ac_useropt in case $ac_useropt in
cuda_on_backend) cuda_on_backend)
conf_options="$conf_options -DCUDA_ON_BACKEND=$ac_optarg" conf_options="$conf_options -DCUDA_ON_BACKEND=$ac_optarg"
if [ x"$ac_optarg" == x"CUDA" ]; then
if [ x"$CXX" == x"" ]; then
conf_options="$conf_options"
else
conf_options="$conf_options -DCMAKE_CUDA_HOST_COMPILER=$(which $CXX)"
fi
if [ x"$CXXCUDA" == x"" ]; then
conf_options="$conf_options"
else
conf_options="$conf_options -DCMAKE_CUDA_COMPILER=$(which $CXXCUDA)"
fi
fi
;; ;;
libhilbert) libhilbert)
conf_options="$conf_options -DLIBHILBERT_ROOT=$ac_optarg" conf_options="$conf_options -DLIBHILBERT_ROOT=$ac_optarg"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment