Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions root.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ export CXXFLAGS="${CXXFLAGS} %{arch_build_flags}"

cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
%if %{is_debug_build root/llvm}
-DCMAKE_BUILD_TYPE=Debug \
-DLLVM_BUILD_TYPE=Debug \
%else
-DLLVM_BUILD_TYPE=Release \
%endif
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
Expand Down Expand Up @@ -177,11 +173,6 @@ export ROOTSYS="%{i}"

ninja -v %{makeprocesses} install

# Generate cuda.pcm if CUDA is available
%if 0%{!?without_cuda:1}
echo '#include <cuda_runtime.h>' | %{i}/bin/root -b -n -l
%endif

find %{i} -type f -name '*.py' | xargs chmod -x
grep -rlI '#!.*python' %{i} | xargs chmod +x
for p in $(grep -rlI -m1 '^#\!.*python' %i/bin %i/etc) ; do
Expand Down