Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openblas, Python package cleanup #2915

Merged
merged 7 commits into from Mar 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions OpenBLAS-toolfile.spec
@@ -0,0 +1,22 @@
### RPM external OpenBLAS-toolfile 1.0
Requires: OpenBLAS
%prep

%build

%install

mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/OpenBLAS.xml
<tool name="OpenBLAS" version="@TOOL_VERSION@">
<lib name="openblas"/>
<client>
<environment name="OPENBLAS_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$OPENBLAS_BASE/include"/>
<environment name="LIBDIR" default="$OPENBLAS_BASE/lib"/>
<environment name="BINDIR" default="$OPENBLAS_BASE/bin"/>
</client>
</tool>
EOF_TOOLFILE

## IMPORT scram-tools-post
13 changes: 13 additions & 0 deletions OpenBLAS.spec
@@ -0,0 +1,13 @@
### RPM external OpenBLAS 0.2.19
Source: https://github.com/xianyi/OpenBLAS/archive/v%{realversion}.tar.gz

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

%build

make %{makeprocesses} FC=gfortran BINARY=64

%install
make install PREFIX=%i

2 changes: 1 addition & 1 deletion boost.spec
Expand Up @@ -84,7 +84,7 @@ for tool in $(echo %{requiredtools} | sed -e's|\s+| |;s|^\s+||'); do
root=$(echo $tool | tr a-z- A-Z_)_ROOT; eval r=\$$root
if [ X"$r" != X ] && [ -r "$r/etc/profile.d/init.sh" ]; then
echo "test X\$$root != X || . $r/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
echo "test X\$$root != X || source $r/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh
echo "test \$?$root != 0 || source $r/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh
fi
done

Expand Down
2 changes: 1 addition & 1 deletion cherrypy.spec
@@ -1,5 +1,5 @@
### RPM external cherrypy 3.1.2
## INITENV +PATH PYTHONPATH %i/$PYTHON_LIB_SITE_PACKAGES
## INITENV +PATH PYTHONPATH %i/${PYTHON_LIB_SITE_PACKAGES}
Source: http://download.cherrypy.org/cherrypy/%v/CherryPy-%realversion.tar.gz
Requires: python
Patch0: cherrypy-upload
Expand Down
10 changes: 3 additions & 7 deletions cmssw-tool-conf.spec
@@ -1,4 +1,4 @@
### RPM cms cmssw-tool-conf 37.0
### RPM cms cmssw-tool-conf 38.0
## NOCOMPILER
# With cmsBuild, change the above version only when a new
# tool is added
Expand Down Expand Up @@ -87,16 +87,12 @@ Requires: graphviz-toolfile
Requires: valgrind-toolfile
Requires: py2-matplotlib-toolfile
Requires: py2-numpy-toolfile
Requires: py2-pandas-toolfile
Requires: py2-scipy-toolfile
Requires: cmsswdata-toolfile
Requires: py2-sqlalchemy-toolfile
Requires: py2-pygithub-toolfile
Requires: py2-dablooms-toolfile
Requires: py2-dxr-toolfile
Requires: py2-pysqlite-toolfile
Requires: py2-PyYAML-toolfile
Requires: py2-root_numpy-toolfile
Requires: py2-h5py-toolfile
Requires: hdf5-toolfile
Requires: rivet-toolfile
Expand Down Expand Up @@ -152,11 +148,11 @@ Requires: tinyxml-toolfile
Requires: scons-toolfile
Requires: md5-toolfile
Requires: madgraph5amcatnlo-toolfile
Requires: histogrammar-toolfile
Requires: py2-pippkgs-toolfile
Requires: py2-pippkgs_depscipy-toolfile
Requires: dasgoclient
#still a work in progress Requires: py2-notebook
Requires: OpenBLAS


# Only for Linux platform.
%if %islinux
Expand Down
2 changes: 1 addition & 1 deletion cython.spec
@@ -1,5 +1,5 @@
### RPM external cython 0.22
## INITENV +PATH PYTHONPATH %{i}/$PYTHON_LIB_SITE_PACKAGES
## INITENV +PATH PYTHONPATH %{i}/${PYTHON_LIB_SITE_PACKAGES}

Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}/%{n}-%{realversion}-src.tgz

Expand Down
246 changes: 0 additions & 246 deletions dbs-server.spec

This file was deleted.

33 changes: 0 additions & 33 deletions dbs-web.spec

This file was deleted.