Attachment 'atlas-3.8.3.p0.txt'
Download 1 --- atlas-3.8.3.p0/src/CONFIG/src/SpewMakeInc.c~ 2009-02-19 05:47:37.000000000 +1100
2 +++ atlas-3.8.3.p0/src/CONFIG/src/SpewMakeInc.c 2009-03-01 16:24:42.131861605 +1100
3 @@ -664,6 +664,8 @@
4 fprintf(fpout, " -melf_i386");
5 else if (ptrbits == 64)
6 fprintf(fpout, " -melf_x86_64");
7 + if (OS == OSFreeBSD)
8 + fprintf(fpout, "_fbsd");
9 }
10 fprintf(fpout, "\n F77SYSLIB = %s\n", f77lib ? f77lib : "");
11 fprintf(fpout, " BC = $(ICC)\n");
12 --- atlas-3.8.3.p0/src/makes/Make.lib~ 2009-02-19 05:47:36.000000000 +1100
13 +++ atlas-3.8.3.p0/src/makes/Make.lib 2009-03-07 11:44:40.451862466 +1100
14 @@ -52,7 +52,7 @@
15 ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive \
16 liblapack.a --no-whole-archive $(F77SYSLIB)
17 libclapack.so : libclapack.a
18 - ld $(LDFLAGS) -shared -soname liblapack.so -o liblapack.so \
19 + ld $(LDFLAGS) -shared -soname libclapack.so -o libclapack.so \
20 --whole-archive libclapack.a
21 libptf77blas.so : libptf77blas.a
22 ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libptf77blas.a \
23 --- atlas-3.8.3.p0/make_correct_shared.sh.orig 2009-02-03 07:22:04.000000000 +1100
24 +++ atlas-3.8.3.p0/make_correct_shared.sh 2009-03-09 20:40:10.327469958 +1100
25 @@ -26,10 +26,10 @@
26
27
28
29 -if [ `uname` = "Linux" ]; then
30 +if [ `uname` = "Linux" -o `uname` = "FreeBSD" ]; then
31 if [ `./fortran_type.pl` = "g95" ]; then
32 cd "$SAGE_LOCAL"/lib
33 lapack_command="ld -L"$f95_dir" -L"$SAGE_LOCAL"/lib -shared -soname liblapack.so -o liblapack.so --whole-archive liblapack.a --no-whole-archive -lc -lm -lf95"
34 f77blas_command="ld -L"$f95_dir" -L"$SAGE_LOCAL"/lib -shared -soname libf77blas.so -o libf77blas.so --whole-archive libf77blas.a --no-whole-archive -lc -lm -lf95"
35
36 echo $lapack_command
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.