Skip to content

Commit

Permalink
Initial attempt with openloops
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Nov 12, 2014
1 parent 5495ad8 commit 2490a1a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions openloops.spec
@@ -0,0 +1,27 @@
### RPM external openloops 1.0.1
%define tag d888f2705fbcd315d8cf5f290f73a524464698ed
%define branch cms/v%{realversion}
%define github_user cms-externals
Source: git+https://github.com/%github_user/root.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz

BuildRequires: python

%define keep_archives true

%prep
%setup -n %{n}-%{realversion}

%build
cat << \EOF >> openloops.cfg
[OpenLoops]
fortran_compiler = gfortran
gfortran_f90_flags = -ffixed-line-length-0 -ffree-line-length-0 -Os
EOF

./scons auto=all/

%install
mkdir %i/{lib,proclib}
cp lib/*.so %i/lib
cp proclib/*.so %i/proclib
cp proclib/*.info %i/proclib

0 comments on commit 2490a1a

Please sign in to comment.