Skip to content

Commit

Permalink
Add fortran flag for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Jan 18, 2018
1 parent a186067 commit db8a8f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion herwigpp.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
### RPM external herwigpp 7.1.2
Source: https://www.hepforge.org/archive/herwig/Herwig-%{realversion}.tar.bz2


# Tried to comment out the parts which build HerwigDefaults.rpo during make install

%define isamd64 %(case %{cmsplatf} in (*amd64*) echo 1 ;; (*) echo 0 ;; esac)
%define isaarch64 %(case %{cmsplatf} in (*_aarch64_*) echo 1 ;; (*) echo 0 ;; esac)

Requires: lhapdf
Requires: boost
Expand Down Expand Up @@ -58,6 +58,9 @@ PLATF_CONF_OPTS="--enable-shared --disable-static"
%endif
--prefix=%i \
CXX="$CXX" CC="$CC" \
%if %isaarch64
FCFLAGS="-fno-range-check" \
%endif
BOOST_ROOT="$BOOST_ROOT" LDFLAGS="$LDFLAGS -L$BOOST_ROOT/lib" \
LD_LIBRARY_PATH=$LHAPDF_ROOT/lib:$GSL_ROOT/lib:$GOSAMCONTRIB_ROOT/lib:$MADGRAPH5AMCATNLO_ROOT/HEPTools/lib:$LD_LIBRARY_PATH

Expand Down

0 comments on commit db8a8f0

Please sign in to comment.