summaryrefslogtreecommitdiff
path: root/atlas-generic
diff options
context:
space:
mode:
Diffstat (limited to 'atlas-generic')
-rw-r--r--atlas-generic/bld.bat3
-rw-r--r--atlas-generic/build.sh35
-rw-r--r--atlas-generic/meta.yaml13
3 files changed, 51 insertions, 0 deletions
diff --git a/atlas-generic/bld.bat b/atlas-generic/bld.bat
new file mode 100644
index 0000000..bea6315
--- /dev/null
+++ b/atlas-generic/bld.bat
@@ -0,0 +1,3 @@
+
+echo Not supported
+if errorlevel 1 exit 1 \ No newline at end of file
diff --git a/atlas-generic/build.sh b/atlas-generic/build.sh
new file mode 100644
index 0000000..ce5d3eb
--- /dev/null
+++ b/atlas-generic/build.sh
@@ -0,0 +1,35 @@
+
+
+export LIBTOOL=/usr/bin/libtool
+export OPTIONS=
+
+case "$(uname -s)" in
+Darwin)
+export CC=/opt/local/bin/gcc-mp-4.8
+export F77=/opt/local/bin/gfortran-mp-4.8
+export OPTIONS="-C agc $CC -C if $F77 --shared -t 2 -b 64 -V 128 -A 12"
+;;
+Linux)
+export CC=/usr/bin/gcc
+export F77=/usr/bin/gfortran
+export OPTIONS="-C agc $CC -C if $F77 --shared -t 2 -b 64 -V 128 -A 12"
+;;
+*)
+;;
+esac
+
+export LAPACK_VERSION=3.5.0
+export LAPACK_TARBALL=lapack-${LAPACK_VERSION}.tgz
+export LAPACK_URL="http://www.netlib.org/lapack/${LAPACK_TARBALL}"
+wget ${LAPACK_URL}
+
+mkdir -p build
+pushd ./build
+../configure --prefix=$PREFIX \
+--with-netlib-lapack-tarfile=../${LAPACK_TARBALL} \
+"${OPTIONS}"
+
+make LIBTOOL=$LIBTOOL
+make install
+
+popd \ No newline at end of file
diff --git a/atlas-generic/meta.yaml b/atlas-generic/meta.yaml
new file mode 100644
index 0000000..5003875
--- /dev/null
+++ b/atlas-generic/meta.yaml
@@ -0,0 +1,13 @@
+about:
+ home: http://sourceforge.net/projects/math-atlas/files/Stable
+ license: BSD
+ summary: atlas-generic
+build:
+ number: '0'
+package:
+ name: atlas-generic
+ version: 3.10.2
+source:
+ fn: atlas3.10.2.tar.bz2
+ url:
+ - http://sourceforge.net/projects/math-atlas/files/Stable/3.10.2/atlas3.10.2.tar.bz2