[SCM] SETI at home packaging branch, master, updated. debian/5.13+cvs20060510-4-59-g7a2db91
Steffen Moeller
steffen_moeller at gmx.de
Sun May 20 16:28:00 UTC 2012
The following commit has been merged in the master branch:
commit 191a777f17fbf70af1abd965373991d5c990ad83
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date: Sun May 20 03:19:10 2012 +0200
Adjusting optimisation to platforms.
diff --git a/debian/rules b/debian/rules
index 6336f12..a61737c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,12 @@
#export CXX=/usr/lib/gcc-snapshot/bin/g++
#export CPP=/usr/lib/gcc-snapshot/bin/cpp
+
+DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
PKG = boinc-app-seti
# Uncomment this to enable compilation with UltraSPARC specific compiler
@@ -29,6 +35,22 @@ PKG = boinc-app-seti
# DEB_CONFIGURE_EXTRA_FLAGS += --enable-bitness=64
#endif
+
+CXXFLAGS= -O3
+
+SETIEXTRAFLAGS=
+
+
+ifeq ($(DEB_BUILD_GNU_CPU),x86_64)
+ SETIEXTRAFLAGS += --enable-sse3
+ SETIEXTRAFLAGS += --enable-sse2 --enable-sse --enable-mmx
+endif
+
+ifeq ($(DEB_BUILD_GNU_CPU),i686)
+ SETIEXTRAFLAGS += --enable-sse2 --enable-sse --enable-mmx
+endif
+
+
UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | \
cut -d ' ' -f 2 | cut -d '+' -f 1 | cut -d '~' -f 1)
APP_INFO_VERSION = $(subst .,,$(UPSTREAM_VERSION))
@@ -63,11 +85,12 @@ build-stamp:
clean:
if [ -r Makefile ]; then make clean; fi
find . -name "*.o" -delete
+ find . -name ".deps" -a -type d | xargs -r rm -r
rm -f client/seti_boinc client/hires_timer_test tools/fakedata tools/workunit_resample tools/workunit_to_ascii
dh_clean \
client/setiathome-$(UPSTREAM_VERSION).* \
debian/extra/app_info.xml
- rm -f Makefile Makefile.in aclocal.m4 assimilator/Makefile assimilator/Makefile.in client/Makefile client/Makefile.in config.log config.status configure db/Makefile db/schema_to_class db/tools/Makefile jpeglib/Makefile jpeglib/Makefile.in libtool sah_config.h sah_config.h.in splitter/Makefile splitter/Makefile.in stamp-h1 tools/Makefile tools/Makefile.in validate/Makefile
+ rm -f Makefile Makefile.in aclocal.m4 assimilator/Makefile assimilator/Makefile.in client/Makefile client/Makefile.in config.log config.status configure db/Makefile db/schema_to_class db/tools/Makefile jpeglib/Makefile jpeglib/Makefile.in libtool sah_config.h.in splitter/Makefile splitter/Makefile.in stamp-h1 tools/Makefile tools/Makefile.in validate/Makefile
install: build install-stamp
--
SETI at home packaging
More information about the pkg-boinc-commits
mailing list