Skip to content

Commit

Permalink
backports lwtnn to 80x
Browse files Browse the repository at this point in the history
  • Loading branch information
iahmad-khan committed Feb 10, 2017
1 parent 5fc2f35 commit 614239c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions eigen.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### RPM external eigen 3.2.2
## INITENV +PATH PKG_CONFIG_PATH %{i}/share/pkgconfig
## NOCOMPILER
%define tag 87b069eefbf748ee3aba16fe5f84b4ccd6227082
%define branch cms/3.2.2
Expand Down
1 change: 0 additions & 1 deletion lwtnn.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Patch0: lwtnn-1.0-boost-fix

%build

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$EIGEN_ROOT/share/pkgconfig
export BOOST_ROOT
make all

Expand Down
24 changes: 24 additions & 0 deletions py2-pkgconfig-toolfile.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### RPM external py2-pkgconfig-toolfile 1.0
Requires: py2-pkgconfig
%prep

%build

%install

mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/py2-pkgconfig.xml
<tool name="py2-pkgconfig" version="@TOOL_VERSION@">
<client>
<environment name="PY2_PKGCONFIG_BASE" default="@TOOL_ROOT@"/>
</client>
<runtime name="PYTHONPATH" value="$PY2_PKGCONFIG_BASE/lib/python@PYTHONV@/site-packages" type="path"/>
<use name="python"/>
</tool>
EOF_TOOLFILE

export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.)

## IMPORT scram-tools-post


0 comments on commit 614239c

Please sign in to comment.