Skip to content

Commit f142488

Browse files
committed
[Do not merge] Enable ROOT debug
1 parent 4a79e26 commit f142488

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

root.spec

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@ export CXXFLAGS="${CXXFLAGS} %{arch_build_flags}"
4545

4646
cmake ../%{n}-%{realversion} \
4747
-G Ninja \
48-
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
49-
%if %{is_debug_build root/llvm}
48+
-DCMAKE_BUILD_TYPE=Debug \
5049
-DLLVM_BUILD_TYPE=Debug \
51-
%else
52-
-DLLVM_BUILD_TYPE=Release \
53-
%endif
5450
-DCMAKE_INSTALL_PREFIX="%{i}" \
5551
-DCMAKE_C_COMPILER=gcc \
5652
-DCMAKE_CXX_COMPILER=g++ \
@@ -178,11 +174,6 @@ export ROOTSYS="%{i}"
178174

179175
ninja -v %{makeprocesses} install
180176

181-
# Generate cuda.pcm if CUDA is available
182-
%if 0%{!?without_cuda:1}
183-
echo '#include <cuda_runtime.h>' | %{i}/bin/root -b -n -l
184-
%endif
185-
186177
find %{i} -type f -name '*.py' | xargs chmod -x
187178
grep -rlI '#!.*python' %{i} | xargs chmod +x
188179
for p in $(grep -rlI -m1 '^#\!.*python' %i/bin %i/etc) ; do

0 commit comments

Comments
 (0)