Skip to content

Commit 52a13ce

Browse files
committed
[Do not merge][15_1_X] Enable ROOT debug
1 parent ea9e45b commit 52a13ce

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

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++ \
@@ -177,11 +173,6 @@ export ROOTSYS="%{i}"
177173

178174
ninja -v %{makeprocesses} install
179175

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

0 commit comments

Comments
 (0)