[atlas] 07/08: Drop patches for creating full BLAS and LAPACK libs, and shared libs.
Sébastien Villemot
sebastien at debian.org
Sat Aug 5 15:02:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository atlas.
commit edae804118d99a3876e74f5177aa7f8686982f8a
Author: Sébastien Villemot <sebastien at debian.org>
Date: Sat Aug 5 15:38:30 2017 +0200
Drop patches for creating full BLAS and LAPACK libs, and shared libs.
Replace them by rules in debian/rules.
Gbp-Dch: Full
---
debian/blas-atlas.pc.in | 2 +-
debian/lapack-atlas.pc.in | 2 +-
debian/libatlas-base-dev.install | 11 ++-
debian/libatlas3-base.install | 9 +-
debian/patches/10_s390.diff | 2 +-
debian/patches/kfreebsd.diff | 2 +-
debian/patches/series | 2 -
debian/patches/shared_libraries.diff | 130 ----------------------------
debian/patches/static_full_blas_lapack.diff | 117 -------------------------
debian/rules | 86 +++++++++++++++---
10 files changed, 94 insertions(+), 269 deletions(-)
diff --git a/debian/blas-atlas.pc.in b/debian/blas-atlas.pc.in
index 3cb9d3b..6292a33 100644
--- a/debian/blas-atlas.pc.in
+++ b/debian/blas-atlas.pc.in
@@ -3,7 +3,7 @@ libdir=${prefix}/lib/atlas-base/atlas
includedir=${prefix}/include
Name: atlas-blas
Description: Automatically Tuned Linear Algebra Software, BLAS
-Version: @DEB_UPSTREAM_VERSION@
+Version: @DEB_VERSION_UPSTREAM@
URL: http://math-atlas.sourceforge.net/
Libs: -L${libdir} -lblas
Libs.private: -L${libdir} -latlas -lm
diff --git a/debian/lapack-atlas.pc.in b/debian/lapack-atlas.pc.in
index 23f1332..8a00182 100644
--- a/debian/lapack-atlas.pc.in
+++ b/debian/lapack-atlas.pc.in
@@ -3,7 +3,7 @@ libdir=${prefix}/lib/atlas-base/atlas
includedir=${prefix}/include
Name: atlas-lapack
Description: Automatically Tuned Linear Algebra Software, LAPACK
-Version: @DEB_UPSTREAM_VERSION@
+Version: @DEB_VERSION_UPSTREAM@
URL: http://math-atlas.sourceforge.net/
Libs: -L${libdir} -llapack
Libs.private: -L${libdir} -latlas -lm
diff --git a/debian/libatlas-base-dev.install b/debian/libatlas-base-dev.install
index 70dbae3..b05dffc 100644
--- a/debian/libatlas-base-dev.install
+++ b/debian/libatlas-base-dev.install
@@ -1,6 +1,11 @@
-debian/tmp/usr/lib/atlas-base/*.so
debian/tmp/usr/lib/atlas-base/*.a
-debian/tmp/usr/lib/atlas-base/atlas/*.so
-debian/tmp/usr/lib/atlas-base/atlas/*.a
debian/blas-atlas.pc /usr/lib/pkgconfig
debian/lapack-atlas.pc /usr/lib/pkgconfig
+libblas.a /usr/lib/atlas-base/atlas/
+libblas.so /usr/lib/atlas-base/atlas/
+liblapack.a /usr/lib/atlas-base/atlas/
+liblapack.so /usr/lib/atlas-base/atlas/
+libatlas.so /usr/lib/atlas-base/
+libcblas.so /usr/lib/atlas-base/
+libf77blas.so /usr/lib/atlas-base/
+liblapack_atlas.so /usr/lib/atlas-base/
\ No newline at end of file
diff --git a/debian/libatlas3-base.install b/debian/libatlas3-base.install
index 98ba78c..36bd992 100644
--- a/debian/libatlas3-base.install
+++ b/debian/libatlas3-base.install
@@ -1,3 +1,6 @@
-debian/tmp/usr/lib/atlas-base/*.so.*
-debian/tmp/usr/lib/atlas-base/atlas/*.so.*
-
+libblas.so.* /usr/lib/atlas-base/atlas/
+liblapack.so.* /usr/lib/atlas-base/atlas/
+libatlas.so.* /usr/lib/atlas-base/
+libcblas.so.* /usr/lib/atlas-base/
+libf77blas.so.* /usr/lib/atlas-base/
+liblapack_atlas.so.* /usr/lib/atlas-base/
diff --git a/debian/patches/10_s390.diff b/debian/patches/10_s390.diff
index 59c459c..e72e4b7 100644
--- a/debian/patches/10_s390.diff
+++ b/debian/patches/10_s390.diff
@@ -9,7 +9,7 @@
if (OS == OSAIX)
return((ptrbits == 64) ? "-maix64" : "-maix32");
-@@ -801,8 +801,6 @@ int main(int nargs, char **args)
+@@ -798,8 +798,6 @@ int main(int nargs, char **args)
fprintf(fpout, "_fbsd");
}
}
diff --git a/debian/patches/kfreebsd.diff b/debian/patches/kfreebsd.diff
index d7aafc9..0e06c3d 100644
--- a/debian/patches/kfreebsd.diff
+++ b/debian/patches/kfreebsd.diff
@@ -1,6 +1,6 @@
--- a/CONFIG/src/SpewMakeInc.c
+++ b/CONFIG/src/SpewMakeInc.c
-@@ -805,8 +805,10 @@ int main(int nargs, char **args)
+@@ -802,8 +802,10 @@ int main(int nargs, char **args)
fprintf(fpout, " -melf_i386");
else if (ptrbits == 64)
fprintf(fpout, " -melf_x86_64");
diff --git a/debian/patches/series b/debian/patches/series
index e3c2ac4..ffae333 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,4 @@
02_rename_lapack_atlas.diff
-static_full_blas_lapack.diff
-shared_libraries.diff
10_s390.diff
16_warning-removed.diff
17_hppa.diff
diff --git a/debian/patches/shared_libraries.diff b/debian/patches/shared_libraries.diff
deleted file mode 100644
index 9bcfccb..0000000
--- a/debian/patches/shared_libraries.diff
+++ /dev/null
@@ -1,130 +0,0 @@
-Description: Create shared versions of the libraries
-Author: David Evans
- Sébastien Villemot <sebastien at debian.org>
-Last-Update: 2014-07-16
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/makes/Make.lib
-+++ b/makes/Make.lib
-@@ -33,6 +33,79 @@ $(tarnam).tar.bz2 :
- rm -rf $(ARCH)
- $(BZIP) --best $(tarnam).tar
-
-+fullshared: libatlas.so libcblas.so libf77blas.so liblapack_atlas.so atlas/libblas.so atlas/liblapack.so
-+
-+libatlas.so: libatlas.so.3
-+ ln -sf $< $@
-+
-+libatlas.so.3: libatlas.so.3.0
-+ ln -sf $< $@
-+
-+libatlas.so.3.0 : libatlas.a
-+ ld $(LDFLAGS) -shared -soname libatlas.so.3 -o $@ \
-+ --whole-archive libatlas.a --no-whole-archive -lc $(LIBS) $(F77SYSLIB)
-+
-+libcblas.so: libcblas.so.3
-+ ln -sf $< $@
-+
-+libcblas.so.3: libcblas.so.3.0
-+ ln -sf $< $@
-+
-+libcblas.so.3.0 : libcblas.a libatlas.so
-+ ld $(LDFLAGS) -shared -soname libcblas.so.3 -o $@ \
-+ --whole-archive libcblas.a \
-+ --no-whole-archive -L. -latlas $(F77SYSLIB) -lm -lc
-+
-+libf77blas.so: libf77blas.so.3
-+ ln -sf $< $@
-+
-+libf77blas.so.3: libf77blas.so.3.0
-+ ln -sf $< $@
-+
-+libf77blas.so.3.0 : libf77blas.a libcblas.so libatlas.so
-+ ld $(LDFLAGS) -shared -soname libf77blas.so.3 -o $@ \
-+ --whole-archive libf77blas.a \
-+ --no-whole-archive -L. -lcblas -latlas $(F77SYSLIB) -lm -lc
-+
-+liblapack_atlas.so: liblapack_atlas.so.3
-+ ln -sf $< $@
-+
-+liblapack_atlas.so.3: liblapack_atlas.so.3.0
-+ ln -sf $< $@
-+
-+liblapack_atlas.so.3.0 : liblapack_atlas.a libatlas.so libcblas.so libf77blas.so
-+ ld $(LDFLAGS) -shared -soname liblapack_atlas.so.3 -o $@ \
-+ --whole-archive liblapack_atlas.a \
-+ --no-whole-archive -L. -lf77blas -lcblas -latlas -lm -lc $(F77SYSLIB)
-+
-+atlas/libblas.so: atlas/libblas.so.3
-+ (cd atlas && ln -sf libblas.so.3 libblas.so)
-+
-+atlas/libblas.so.3: atlas/libblas.so.3.0
-+ (cd atlas && ln -sf libblas.so.3.0 libblas.so.3)
-+
-+atlas/libblas.so.3.0: libf77blas.a libcblas.a libatlas.so.3.0
-+ if test -f libptf77blas.a -a -f libptcblas.a; then \
-+ ld $(LDFLAGS) -shared -soname libblas.so.3 -o $@ \
-+ --whole-archive libptf77blas.a libptcblas.a \
-+ --no-whole-archive -L. -latlas $(F77SYSLIB) -lm -lc; \
-+ else \
-+ ld $(LDFLAGS) -shared -soname libblas.so.3 -o $@ \
-+ --whole-archive libf77blas.a libcblas.a \
-+ --no-whole-archive -L. -latlas $(F77SYSLIB) -lm -lc; \
-+ fi
-+
-+atlas/liblapack.so: atlas/liblapack.so.3
-+ (cd atlas && ln -sf liblapack.so.3 liblapack.so)
-+
-+atlas/liblapack.so.3: atlas/liblapack.so.3.0
-+ (cd atlas && ln -sf liblapack.so.3.0 liblapack.so.3)
-+
-+atlas/liblapack.so.3.0: atlas/liblapack.a atlas/libblas.so libatlas.so.3.0
-+ ld $(LDFLAGS) -shared -soname liblapack.so.3 -o $@ \
-+ --whole-archive atlas/liblapack.a \
-+ --no-whole-archive -L. -Latlas -lblas -latlas $(F77SYSLIB) -lm -lc
-+
- # ===================================================================
- # The following commands are to build dynamic/shared objects on Linux
- # using the gnu gcc or ld
---- a/Make.top
-+++ b/Make.top
-@@ -16,6 +16,7 @@ build:
- cd bin/ ; ./xatlas_build $(INSTFLAGS)
- cd lib/ ; $(MAKE) atlas/libblas.a
- cd lib/ ; $(MAKE) atlas/liblapack.a
-+ cd lib/ ; $(MAKE) fullshared
-
- time:
- ./xatlbench -dc $(BLDdir)/bin/INSTALL_LOG -dp $(BLDdir)/ARCHS/$(ARCH)
-@@ -683,3 +684,21 @@ install_static_lib:
- - cp $(LIBdir)/libsatlas.so $(INSTdir)/.
- - cp $(LIBdir)/libtatlas.so $(INSTdir)/.
-
-+install_shared_lib:
-+ for lib in atlas cblas f77blas lapack_atlas; do \
-+ cp $(LIBdir)/lib$$lib.so.3.0 $(INSTdir)/. ; \
-+ ( cd $(INSTdir) && ln -s lib$$lib.so.3.0 lib$$lib.so.3); \
-+ ( cd $(INSTdir) && ln -s lib$$lib.so.3 lib$$lib.so); \
-+ chmod 0644 $(INSTdir)/lib$$lib.so ;\
-+ chmod 0644 $(INSTdir)/lib$$lib.so.3 ;\
-+ chmod 0644 $(INSTdir)/lib$$lib.so.3.0 ;\
-+ done;
-+ mkdir -p $(INSTdir)/atlas
-+ for lib in blas lapack; do \
-+ cp $(LIBdir)/atlas/lib$$lib.so.3.0 $(INSTdir)/atlas/. ; \
-+ ( cd $(INSTdir)/atlas/ && ln -s lib$$lib.so.3.0 lib$$lib.so.3); \
-+ ( cd $(INSTdir)/atlas/ && ln -s lib$$lib.so.3 lib$$lib.so); \
-+ chmod 0644 $(INSTdir)/atlas/lib$$lib.so ;\
-+ chmod 0644 $(INSTdir)/atlas/lib$$lib.so.3 ;\
-+ chmod 0644 $(INSTdir)/atlas/lib$$lib.so.3.0 ;\
-+ done;
---- a/CONFIG/src/Makefile
-+++ b/CONFIG/src/Makefile
-@@ -624,6 +624,7 @@ $(LIBINSTdir) :
- install : $(INCINSTdir) $(LIBINSTdir) $(INCINSTdir)/atlas
- $(MAKE) -f Make.top install_inc INSTdir=$(INCINSTdir)
- $(MAKE) -f Make.top install_static_lib INSTdir=$(LIBINSTdir)
-+ $(MAKE) -f Make.top install_shared_lib INSTdir=$(LIBINSTdir)
-
- confclean: $(CLEANdep)
- rm -f *core* *.o config?.out
diff --git a/debian/patches/static_full_blas_lapack.diff b/debian/patches/static_full_blas_lapack.diff
deleted file mode 100644
index ef23fca..0000000
--- a/debian/patches/static_full_blas_lapack.diff
+++ /dev/null
@@ -1,117 +0,0 @@
-Description: Create full featured static libblas.a and liblapack.a
- The resulting BLAS library will use the threaded flavour if the build has been
- configured to create them. Otherwise, the serial library is used.
-Author: David Evans
-Last-Update: 2013-06-05
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Make.top
-+++ b/Make.top
-@@ -14,6 +14,9 @@ leafstart:
- build:
- cd bin/ ; $(MAKE) xatlas_build
- cd bin/ ; ./xatlas_build $(INSTFLAGS)
-+ cd lib/ ; $(MAKE) atlas/libblas.a
-+ cd lib/ ; $(MAKE) atlas/liblapack.a
-+
- time:
- ./xatlbench -dc $(BLDdir)/bin/INSTALL_LOG -dp $(BLDdir)/ARCHS/$(ARCH)
- C_sanity_test:
-@@ -401,6 +404,7 @@ startup : lib include results EXtest
- $(MAKE) -f Make.top leafstart leaf=src/blas/reference/level1
- $(MAKE) -f Make.top leafstart leaf=src/auxil
- $(MAKE) -f Make.top leafstart leaf=src/testing
-+ $(MAKE) -f Make.top leafstart leaf=lib/atlas
- $(MAKE) -f Make.top leafstart leaf=lib
- $(MAKE) -f Make.top leafstart leaf=bin
- cd src/threads ; touch atomic.inc
-@@ -591,6 +595,7 @@ killgrd :
-
- lib :
- mkdir lib
-+ mkdir lib/atlas
-
- include:
- mkdir include
-@@ -654,12 +659,17 @@ install_inc:
- chmod 0644 $(INSTdir)/cblas.h $(INSTdir)/clapack.h
- cp $(INCAdir)/* $(INSTdir)/atlas/.
- - chmod 0644 $(INSTdir)/atlas/*
--install_lib:
-+
-+install_static_lib:
- cp $(LIBdir)/libatlas.a $(INSTdir)/.
- cp $(LIBdir)/libcblas.a $(INSTdir)/.
- cp $(LIBdir)/liblapack_atlas.a $(INSTdir)/.
-+ mkdir -p $(INSTdir)/atlas
-+ cp $(LIBdir)/atlas/libblas.a $(INSTdir)/atlas/.
-+ cp $(LIBdir)/atlas/liblapack.a $(INSTdir)/atlas/.
- chmod 0644 $(INSTdir)/libatlas.a $(INSTdir)/liblapack_atlas.a \
-- $(INSTdir)/libcblas.a
-+ $(INSTdir)/libcblas.a $(INSTdir)/atlas/libblas.a \
-+ $(INSTdir)/atlas/liblapack.a
- - cp $(LIBdir)/libf77blas.a $(INSTdir)/.
- - chmod 0644 $(INSTdir)/libf77blas.a
- - cp $(LIBdir)/libptcblas.a $(INSTdir)/.
---- a/makes/Make.lib
-+++ b/makes/Make.lib
-@@ -175,6 +175,36 @@ TRYALL :
- LIBS="$(LIBS)" LIBINSTdir="$(LIBINSTdir)" ; \
- fi
-
-+
-+# Build full netlib blas/lapack libraries:
-+atlas/libblas.a: libatlas.a
-+ mkdir tmp
-+ cd tmp && \
-+ ar x ../libatlas.a && \
-+ if test -f ../libptf77blas.a -a -f ../libptcblas.a; then \
-+ ar x ../libptf77blas.a && \
-+ ar x ../libptcblas.a; \
-+ else \
-+ ar x ../libf77blas.a && \
-+ ar x ../libcblas.a; \
-+ fi
-+ ar r $@ tmp/*.o
-+ rm -rf tmp
-+
-+atlas/liblapack.a: liblapack_atlas.a libatlas.a
-+ mkdir tmp
-+ cd tmp && \
-+ ar x /usr/lib/liblapack_pic.a && \
-+ ar x ../liblapack_atlas.a && \
-+ if test -f ../libptcblas.a; then \
-+ ar x ../libptcblas.a; \
-+ else \
-+ ar x ../libcblas.a; \
-+ fi
-+ ar r $@ tmp/*.o
-+ rm -rf tmp
-+
-+
- #
- # Builds one shared lib from all ATLAS files
- #
---- a/CONFIG/src/Makefile
-+++ b/CONFIG/src/Makefile
-@@ -623,7 +623,7 @@ $(LIBINSTdir) :
- chmod 0755 $(LIBINSTdir)
- install : $(INCINSTdir) $(LIBINSTdir) $(INCINSTdir)/atlas
- $(MAKE) -f Make.top install_inc INSTdir=$(INCINSTdir)
-- $(MAKE) -f Make.top install_lib INSTdir=$(LIBINSTdir)
-+ $(MAKE) -f Make.top install_static_lib INSTdir=$(LIBINSTdir)
-
- confclean: $(CLEANdep)
- rm -f *core* *.o config?.out
---- a/CONFIG/src/SpewMakeInc.c
-+++ b/CONFIG/src/SpewMakeInc.c
-@@ -624,6 +624,9 @@ int main(int nargs, char **args)
- }
- fprintf(fpout, " TESTlib = $(LIBdir)/libtstatlas.a\n\n");
-
-+ fprintf(fpout, " FULLBLASlib = $(LIBdir)/atlas/libblas.a\n");
-+ fprintf(fpout, " FULLLAPACKlib = $(LIBdir)/atlas/liblapack.a\n");
-+
- fprintf(fpout, "# -------------------------------------------\n");
- fprintf(fpout, "# Upper bound on largest cache size, in bytes\n");
- fprintf(fpout, "# -------------------------------------------\n");
diff --git a/debian/rules b/debian/rules
index 4cedfd4..cbed840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,7 @@
# Some ATLAS code uses improper format strings, so disable this
export DEB_BUILD_MAINT_OPTIONS=hardening=-format
-include /usr/share/dpkg/buildflags.mk
-include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/default.mk
# Parallel make variable, used by ATLAS build system
PMAKE := make
@@ -106,14 +105,77 @@ override_dh_auto_configure:
@grep ARCH < build/Make.inc | head -1 | awk '{print $$3}'
@echo "=============================================="
-debian/blas-atlas.pc: debian/blas-atlas.pc.in
- sed -e "s%@DEB_UPSTREAM_VERSION@%$(DEB_UPSTREAM_VERSION)%" < $< > $@
-
-debian/lapack-atlas.pc: debian/lapack-atlas.pc.in
- sed -e "s%@DEB_UPSTREAM_VERSION@%$(DEB_UPSTREAM_VERSION)%" < $< > $@
-
-override_dh_auto_build: debian/blas-atlas.pc debian/lapack-atlas.pc
- make -C build build
+ # Create pkgconfig files
+ sed -e "s%@DEB_VERSION_UPSTREAM@%$(DEB_VERSION_UPSTREAM)%" < debian/blas-atlas.pc.in > debian/blas-atlas.pc
+ sed -e "s%@DEB_VERSION_UPSTREAM@%$(DEB_VERSION_UPSTREAM)%" < debian/lapack-atlas.pc.in > debian/lapack-atlas.pc
+
+override_dh_auto_build:
+ make -C build
+
+ # Create shared versions of individual ATLAS libraries
+ gfortran $(LDFLAGS) -shared -Wl,-soname=libatlas.so.3 -o libatlas.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive build/lib/libatlas.a -Wl,--no-whole-archive \
+ -lc -lm
+ ln -sf libatlas.so.$(DEB_VERSION_UPSTREAM) libatlas.so.3
+ ln -sf libatlas.so.$(DEB_VERSION_UPSTREAM) libatlas.so
+
+ gfortran $(LDFLAGS) -shared -Wl,-soname=libcblas.so.3 -o libcblas.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive build/lib/libcblas.a -Wl,--no-whole-archive \
+ -L. -latlas -lm -lc
+ ln -sf libcblas.so.$(DEB_VERSION_UPSTREAM) libcblas.so.3
+ ln -sf libcblas.so.$(DEB_VERSION_UPSTREAM) libcblas.so
+
+ gfortran $(LDFLAGS) -shared -Wl,-soname=libf77blas.so.3 -o libf77blas.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive build/lib/libf77blas.a -Wl,--no-whole-archive \
+ -L. -lcblas -latlas -lm -lc
+ ln -sf libf77blas.so.$(DEB_VERSION_UPSTREAM) libf77blas.so.3
+ ln -sf libf77blas.so.$(DEB_VERSION_UPSTREAM) libf77blas.so
+
+ gfortran $(LDFLAGS) -shared -Wl,-soname=liblapack_atlas.so.3 -o liblapack_atlas.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive build/lib/liblapack_atlas.a -Wl,--no-whole-archive \
+ -L. -lf77blas -lcblas -latlas -lm -lc
+ ln -sf liblapack_atlas.so.$(DEB_VERSION_UPSTREAM) liblapack_atlas.so.3
+ ln -sf liblapack_atlas.so.$(DEB_VERSION_UPSTREAM) liblapack_atlas.so
+
+ # Create static and shared full BLAS
+ mkdir tmp
+ cd tmp && \
+ ar x ../build/lib/libatlas.a && \
+ if test -f ../build/lib/libptf77blas.a -a -f ../build/lib/libptcblas.a; then \
+ ar x ../build/lib/libptf77blas.a && \
+ ar x ../build/lib/libptcblas.a; \
+ else \
+ ar x ../build/lib/libf77blas.a && \
+ ar x ../build/lib/libcblas.a; \
+ fi
+ ar r libblas.a tmp/*.o
+ rm -rf tmp
+ gfortran $(LDFLAGS) -shared -Wl,-soname=libblas.so.3 -o libblas.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive libblas.a -Wl,--no-whole-archive \
+ -L. -latlas -lm -lc
+ ln -sf libblas.so.$(DEB_VERSION_UPSTREAM) libblas.so.3
+ ln -sf libblas.so.$(DEB_VERSION_UPSTREAM) libblas.so
+
+ # Create static and shared full LAPACK
+ # Note that we unpack liblapack_atlas.a after liblapack_pic.a, in order to overwrite routines in the former
+ mkdir tmp
+ cd tmp && \
+ ar x /usr/lib/liblapack_pic.a && \
+ ar x ../build/lib/liblapack_atlas.a && \
+ if test -f ../build/lib/libptcblas.a; then \
+ ar x ../build/lib/libptcblas.a; \
+ else \
+ ar x ../build/lib/libcblas.a; \
+ fi
+ ar r liblapack.a tmp/*.o
+ rm -rf tmp
+ gfortran $(LDFLAGS) -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.$(DEB_VERSION_UPSTREAM) \
+ -Wl,--whole-archive liblapack.a -Wl,--no-whole-archive \
+ -L. -lblas -latlas -lm -lc
+ ln -sf liblapack.so.$(DEB_VERSION_UPSTREAM) liblapack.so.3
+ ln -sf liblapack.so.$(DEB_VERSION_UPSTREAM) liblapack.so
+
+ # Build PDF documentation
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
make -C TexDoc atlas_contrib.pdf atlas_devel.pdf atlas_install.pdf cblasqref.pdf f77blasqref.pdf lapackqref.pdf
endif
@@ -145,6 +207,10 @@ override_dh_auto_clean:
rm -rf build
rm -f TexDoc/*.pdf
rm -f debian/blas-atlas.pc debian/lapack-atlas.pc
+ rm -f *.a *.so *.so.*
get-orig-source:
-uscan --upstream-version 0
+
+# Needed because we create a build/ subdirectory
+.PHONY: build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/atlas.git
More information about the debian-science-commits
mailing list