Skip to content

Commit

Permalink
Merge IB/CMSSW_11_0_X/master into IB/CMSSW_11_0_X/rootmaster.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Sep 18, 2019
2 parents 4b79484 + 0026ab3 commit 7629b3d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,14 @@ Requires: igprof-toolfile
Requires: cuda-toolfile
Requires: cub-toolfile
Requires: cuda-api-wrappers-toolfile
Requires: openloops-toolfile
%endif

%if %isamd64
Requires: dmtcp-toolfile
Requires: tkonlinesw-toolfile
Requires: oracle-toolfile
Requires: intel-vtune
Requires: openloops-toolfile

%if %isslc
Requires: glibc-toolfile
Expand Down
2 changes: 1 addition & 1 deletion geneva-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cat << \EOF_TOOLFILE >%i/etc/scram.d/geneva.xml
<use name="py2-numpy"/>
<use name="HepMC"/>
<use name="lhapdf"/>
%ifarch x86_64
%ifnarch ppc64le
<use name="openloops"/>
%endif
<use name="gsl"/>
Expand Down
4 changes: 2 additions & 2 deletions geneva.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Source: git+https://stash.desy.de/scm/geneva/geneva-public.git?obj=master/%{real
BuildRequires: cmake gmake

Requires: python py2-setuptools py2-numpy gsl OpenBLAS lhapdf hepmc pythia8
%ifarch x86_64
%ifnarch ppc64le
Requires: openloops
%endif

Expand All @@ -14,7 +14,7 @@ Requires: openloops

%build

%ifarch x86_64
%ifnarch ppc64le
export OPENLOOPS_FLAG="-Dopenloops_ROOT=${OPENLOOPS_ROOT}"
%endif

Expand Down
2 changes: 1 addition & 1 deletion herwigpp-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cat << \EOF_TOOLFILE >%i/etc/scram.d/herwigpp.xml
<use name="lhapdf"/>
<use name="thepeg"/>
<use name="madgraph5amcatnlo"/>
%ifarch x86_64
%ifnarch ppc64le
<use name="openloops"/>
%endif
</tool>
Expand Down
4 changes: 2 additions & 2 deletions herwigpp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Requires: gsl OpenBLAS
Requires: fastjet
Requires: gosamcontrib gosam
Requires: madgraph5amcatnlo
%ifarch x86_64
%ifnarch ppc64le
Requires: openloops
%endif
BuildRequires: autotools
Expand Down Expand Up @@ -44,7 +44,7 @@ sed -i -e "s|-lgslcblas|-lopenblas|" ./configure
--with-gosam=$GOSAM_ROOT \
--with-gosam-contrib=$GOSAMCONTRIB_ROOT \
--with-hepmc=$HEPMC_ROOT \
%ifarch x86_64
%ifnarch ppc64le
--with-openloops=$OPENLOOPS_ROOT \
%endif
%ifnarch x86_64
Expand Down
6 changes: 4 additions & 2 deletions sherpa-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ cat << \EOF_TOOLFILE >%i/etc/scram.d/sherpa.xml
<use name="fastjet"/>
<use name="sqlite"/>
<use name="openmpi"/>
%ifarch x86_64
%if %islinux
%ifnarch ppc64le
<use name="openloops"/>
%endif
%endif # isamd64
%endif # islinux
</tool>
EOF_TOOLFILE

Expand Down
6 changes: 4 additions & 2 deletions sherpa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ BuildRequires: mcfm swig
%define islinux %(case $(uname -s) in (Linux) echo 1 ;; (*) echo 0 ;; esac)
%define isamd64 %(case %{cmsplatf} in (*amd64*) echo 1 ;; (*) echo 0 ;; esac)

%ifarch x86_64
%if %islinux
%ifnarch ppc64le
Requires: openloops
%endif
%endif # is not ppc64
%endif # islinux

%prep
%setup -q -n SHERPA-MC-%{realversion}
Expand Down

0 comments on commit 7629b3d

Please sign in to comment.