We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 167daf0 + bcfdb50 commit 133c171Copy full SHA for 133c171
acts.spec
@@ -65,10 +65,14 @@ cmake ../%{n}-%{realversion} \
65
-DCMAKE_BUILD_TYPE="Release" \
66
-DCMAKE_INSTALL_PREFIX="%{i}" \
67
-DCMAKE_SKIP_INSTALL_RPATH="ON" \
68
+%if 0%{!?without_cuda:1}
69
-DCMAKE_CUDA_ARCHITECTURES="$(echo %{cuda_arch} | sed -e 's/ \+/;/g')" \
70
-DCMAKE_CUDA_FLAGS="-Wno-deprecated-gpu-targets --threads 0" \
71
+%endif
72
+%if 0%{!?without_rocm:1}
73
-DCMAKE_HIP_ARCHITECTURES="$(echo %{rocm_archs} | sed -e 's/ \+/;/g')" \
74
-DAMDGPU_TARGETS="$(echo %{rocm_archs} | sed -e 's/ \+/;/g')" \
75
76
-DBUILD_SHARED_LIBS="ON" \
77
-DACTS_NLOHMANNJSON_SOURCE="" \
78
-DACTS_USE_SYSTEM_NLOHMANN_JSON="ON" \
0 commit comments