Commit 940deee68e04a3e134076924383b1e2d2a2071f1

Authored by wdaniau
1 parent 3cee84f227
Exists in master

Added necessary flags to also build shared libraries.

git-svn-id: https://lxsd.femto-st.fr/svn/atlas@6 dff38a21-2163-4b57-a1b5-aae693bec1e4

Showing 3 changed files with 11 additions and 4 deletions Side-by-side Diff

... ... @@ -5,7 +5,7 @@
5 5 ( ./build.sh )
6 6  
7 7 install:
8   - ( cp ATLAS/install/lib/*.a $(BTREE)/lib )
  8 + ( cp ATLAS/install/lib/* $(BTREE)/lib )
9 9  
10 10 clean:
11 11 ( rm -rf atlas-3.8.2 )
... ... @@ -40,7 +40,12 @@
40 40 mkdir build
41 41 mkdir install
42 42 cd build
43   -../configure --prefix=../install --with-netlib-lapack=../../lapack-3.1.1/lapack_LINUX.a
  43 +../configure --prefix=../install --with-netlib-lapack=../../lapack-3.1.1/lapack_LINUX.a -Fa alg -fPIC
44 44 make
45 45 make install
  46 +# make and install shared libraries
  47 +cd lib
  48 +make shared
  49 +make ptshared
  50 +cp *.so ../../install/lib
make.inc.gfortran.lapack
... ... @@ -17,9 +17,9 @@
17 17 # desired load options for your machine.
18 18 #
19 19 FORTRAN = gfortran
20   -OPTS = -O2
  20 +OPTS = -O2 -fPIC
21 21 DRVOPTS = $(OPTS)
22   -NOOPT = -O0
  22 +NOOPT = -O0 -fPIC
23 23 LOADER = gfortran
24 24 LOADOPTS =
25 25 #