[Pkg-scicomp-commits] atlas/trunk/debian
Sylvestre Ledru
sylvestre.ledru at inria.fr
Thu Jun 25 22:30:10 UTC 2009
SVN commit 4501 by sylvestre-guest:
Add a default case
M +8 -7 atlas/trunk/debian/rules
--- atlas/trunk/debian/rules #4500:4501
@@ -36,6 +36,9 @@
# 24
# So, to activate the SSE2, -V 24 should be used to the configure
+# 0 means Unknown CPU. Leave Atlas find out
+# 1 means no extension
+ARCHS=base_0_1
ifeq ($(DEB_HOST_ARCH_CPU),i386)
CHECK_EXTENSIONS=sse3
@@ -48,20 +51,20 @@
ifeq ($(DEB_HOST_ARCH_CPU),amd64)
# 64 bits
MODE_BITWIDTH = 64
-ARCHS=amd64sse3_20_28 core2sse3_17_28 corei7sse3_18_28
+ARCHS += amd64sse3_20_28 core2sse3_17_28 corei7sse3_18_28
endif
ifeq ($(DEB_HOST_ARCH_CPU),ppc64)
# Power PC 64
MODE_BITWIDTH = 64
-ARCHS+=POWER464 POWER564
+ARCHS += POWER464 POWER564
endif
ifeq ($(DEB_HOST_ARCH_CPU),ppc)
# Power PC 32
-ARCHS+=POWER432
+ARCHS += POWER432
endif
@@ -134,7 +137,7 @@
for ext in $(ARCHS); do \
targetName=`echo $$ext|sed -e "s|\(.*\)_.*_.*|atlas-\1|g"`; \
cd build/$$targetName; \
- $(MAKE) build; \
+ $(MAKE) build;
cd lib; \
$(MAKE) shared; \
$(MAKE) ptshared; \
@@ -185,9 +188,8 @@
cd -; \
done
# dh_install -i --sourcedir=$(CURDIR)/debian/atlas
- touch $@
-install-arch: configure build install-arch-stamp
+install-arch: configure build install-arch-stamp
install-arch-stamp:
dh_testdir
dh_testroot
@@ -200,7 +202,6 @@
# find debian/libatlas-dev/ -type f -name '*\.so*' -exec chrpath -d '{}' \;
# sed -i 's/3Atlas/3/' debian/atlas/usr/share/man/man3/*.3
# dh_install -s --sourcedir=$(CURDIR)/debian/atlas --list-missing
- touch $@
binary: binary-indep binary-arch
More information about the Pkg-scicomp-commits
mailing list