From f7c67e1e38d688ee32accd1815be96b2c5cbb22d Mon Sep 17 00:00:00 2001 From: Vladimir Date: Tue, 26 Apr 2022 12:02:44 +0200 Subject: [PATCH 1/2] Attempt to fix compilation warnings and optimize usage of VecGeom --- geant4.spec | 2 +- vecgeom.spec | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/geant4.spec b/geant4.spec index e5030809563..0b437e81c60 100644 --- a/geant4.spec +++ b/geant4.spec @@ -56,7 +56,7 @@ cmake ../%{n}.%{realversion} \ -DGEANT4_BUILD_VERBOSE_CODE=OFF \ -DGEANT4_BUILD_BUILTIN_BACKTRACE=OFF \ %if %{use_vecgeom} - -DGEANT4_USE_USOLIDS="all" \ + -DGEANT4_USE_USOLIDS="CONS;POLYCONE;POLYHEDRA" \ %endif -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=ON \ diff --git a/vecgeom.spec b/vecgeom.spec index 8cc8a7e1b1f..23f7f0b1b17 100644 --- a/vecgeom.spec +++ b/vecgeom.spec @@ -24,7 +24,6 @@ cmake ../%{n}-%{realversion} \ -DCMAKE_BUILD_TYPE=Release \ -DNO_SPECIALIZATION=ON \ -DBACKEND=Scalar \ - -DGEANT4_USE_USOLIDS="CONS;POLYCONE;POLYHEDRA" \ %ifarch x86_64 -DVECGEOM_VECTOR=sse3 \ %endif From e601a16becbf2210edcca7a263e12b0c17fce402 Mon Sep 17 00:00:00 2001 From: Vladimir Ivantchenko Date: Wed, 27 Apr 2022 16:37:35 +0200 Subject: [PATCH 2/2] Update geant4.spec --- geant4.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geant4.spec b/geant4.spec index 0b437e81c60..e5030809563 100644 --- a/geant4.spec +++ b/geant4.spec @@ -56,7 +56,7 @@ cmake ../%{n}.%{realversion} \ -DGEANT4_BUILD_VERBOSE_CODE=OFF \ -DGEANT4_BUILD_BUILTIN_BACKTRACE=OFF \ %if %{use_vecgeom} - -DGEANT4_USE_USOLIDS="CONS;POLYCONE;POLYHEDRA" \ + -DGEANT4_USE_USOLIDS="all" \ %endif -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=ON \