Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
52483bd5
Commit
52483bd5
authored
Apr 23, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libblas: build shared library
parent
ebfdc5d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
component/libblas/buildout.cfg
component/libblas/buildout.cfg
+6
-1
No files found.
component/libblas/buildout.cfg
View file @
52483bd5
...
...
@@ -11,15 +11,20 @@ install_cmd =
set -e
mkdir -p ${:location}__compile__
cd ${:location}__compile__
wget http://www.netlib.org/blas/blas.tgz
wget
-nc
http://www.netlib.org/blas/blas.tgz
tar xzf blas.tgz
cd BLAS
${:gfortran} -O3 -std=legacy -m64 -fno-second-underscore -fPIC -c *.f
ar r libfblas.a *.o
ranlib libfblas.a
gcc -shared -Wl,-soname,libf77blas.so.3 -o libf77blas.so.3.0.0 *.o -lc
# rm -rf *.o
mkdir -p ${:location}
mv libfblas.a ${:location}/
cp libf77blas.so.3.0.0 ${:location}/
cd ${:location}
ln -sf libf77blas.so.3.0.0 libf77blas.so.3.0
ln -sf libf77blas.so.3.0 libf77blas.so.3
#update_cmd = ${:install_cmd}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment