Skip to content

Commit

Permalink
Merge pull request #9323 from cms-sw/cepgen-disable-boostwarpper
Browse files Browse the repository at this point in the history
[cepgen] Disable BoostWrapper addon
  • Loading branch information
smuzaffar authored Jul 26, 2024
2 parents 127a136 + a0404f7 commit 1016602
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cepgen.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
Source: https://github.com/cepgen/cepgen/archive/refs/tags/%{realversion}.tar.gz

BuildRequires: cmake ninja
Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root bz2lib zlib xz
Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root bz2lib zlib xz python3

%prep
%setup -n %{n}-%{realversion}
sed -i -e 's|add_subdirectory(BoostWrapper)||' CepGenAddOns/CMakeLists.txt

%build
rm -rf ../build
Expand All @@ -25,6 +26,7 @@ cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_BUILD_TYPE=Release \
-DBoost_NO_SYSTEM_PATHS=ON \
-DCMAKE_PREFIX_PATH="${BZ2LIB_ROOT};${ZLIB_ROOT};${XZ_ROOT}"

ninja -v %{makeprocesses}
Expand Down

0 comments on commit 1016602

Please sign in to comment.