Skip to content

Commit

Permalink
Merge pull request #8028 from cms-sw/smuzaffar-patch-6
Browse files Browse the repository at this point in the history
[vecgeom][gcc11] drop CMAKE_CXX_FLAGS_RELEASE to let veccgeom use its default flags
  • Loading branch information
smuzaffar authored Aug 18, 2022
2 parents d8000cf + 1a9550e commit 88755d0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vecgeom.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ cmake ../%{n}-%{realversion} \
-DCMAKE_AR=$(which gcc-ar) \
-DCMAKE_RANLIB=$(which gcc-ranlib) \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DNO_SPECIALIZATION=ON \
-DBACKEND=Scalar \
%ifarch x86_64
Expand All @@ -37,11 +36,11 @@ cmake ../%{n}-%{realversion} \
%endif
-DGEANT4=OFF

make %{makeprocesses}
make %{makeprocesses} VERBOSE=1

%install
cd ../build
make %{makeprocesses} install
make %{makeprocesses} install VERBOSE=1

%post
%{relocateConfig}lib/cmake/VecGeom/*.cmake

0 comments on commit 88755d0

Please sign in to comment.