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
10 changes: 2 additions & 8 deletions root.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
## INITENV SET ROOTSYS %{i}
## INCLUDE compilation_flags
## INCLUDE cpp-standard
%define tag 83c0fce2a9545d58d5c24f6e6035f5ea34cd952d
%define branch cms/master/81b4b2d35e
%define tag 2182efbb594f5c2aa5cdbcc940824ade1afc51d9
%define branch cms/master/3f866f57cd

%define github_user cms-sw
Source: git+https://github.com/%{github_user}/root.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz

BuildRequires: cmake ninja

Requires: gsl libjpeg-turbo libpng libtiff giflib pcre2 python3 fftw3 xz xrootd libxml2 zlib davix tbb OpenBLAS py3-numpy lz4 freetype zstd
%{!?without_cuda:Requires: cuda}

%ifos linux
Requires: dcap
Expand Down Expand Up @@ -177,11 +176,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