r748 - in /trunk/boinc-app-seti/debian: README.Debian rules

smoe-guest at users.alioth.debian.org smoe-guest at users.alioth.debian.org
Sat Nov 17 23:40:54 UTC 2007


Author: smoe-guest
Date: Sat Nov 17 23:40:54 2007
New Revision: 748

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=748
Log:
Further tailoring of build process to hardware on SPARC. This is only experimental
on a very non-mainstream architecture.


Modified:
    trunk/boinc-app-seti/debian/README.Debian
    trunk/boinc-app-seti/debian/rules

Modified: trunk/boinc-app-seti/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/README.Debian?rev=748&op=diff
==============================================================================
--- trunk/boinc-app-seti/debian/README.Debian (original)
+++ trunk/boinc-app-seti/debian/README.Debian Sat Nov 17 23:40:54 2007
@@ -9,11 +9,18 @@
 platforms cannot know on which particular machine the resulting binary
 will be executed.
 
-For the SPARC architecture, we introduced a test that checks if the
-machine is an UltraSparc and if so add "-mcpu=v9" to the compiler flags.
-This way, the binary will no longer be executable on older machines
-if the build daemon was an UltraSparc. Users of those systems will be
+For the SPARC architecture, we introduced a test that checks if th
+machine is an UltraSparc III and if so, add "-mcpu=ultrasparc3" to the
+compiler flags. Other UltraSparcs get "-mcpu=ultrsparc". This way,
+the binary will no longer be executable on older machines if the
+build daemon was an UltraSparc. Users of those systems will be
 required to locally build the package.
+
+This will be disappointing to all those who now lose an advantage of
+the Debian approach to prepare ready-to-use packages. On the other hand,
+Debian packages are also "ready to recompile".
 
 Consequently, we should also aim at running 64bit apps for SPARC. This
 has not yet been addressed but will happen with more experience gained.
+This task also involves other packages in Debian which would need to
+become available as 64bit favours, first.

Modified: trunk/boinc-app-seti/debian/rules
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/rules?rev=748&op=diff
==============================================================================
--- trunk/boinc-app-seti/debian/rules (original)
+++ trunk/boinc-app-seti/debian/rules Sat Nov 17 23:40:54 2007
@@ -10,10 +10,19 @@
 PKG = boinc-app-seti
 
 CPUTYPE=$(shell head -1 /proc/cpuinfo|cut -f2 -d: | cut -f3 -d\ )
-
 ifeq (UltraSparc,$(CPUTYPE))
-CFLAGS+= -mcpu=v9
-CXXFLAGS+= -mcpu=v9
+CPUSUBTYPE=$(shell head -1 /proc/cpuinfo|cut -f2 -d: | cut -f4 -d\  | cut -f1 -d+)
+#CFLAGS+= -mcpu=v9
+#CXXFLAGS+= -mcpu=v9
+ifeq (III,$(CPUSUBTYPE))
+CFLAGS+= -mcpu=ultrasparc3
+CXXFLAGS+= -mcpu=ultrasparc3
+else
+CFLAGS+= -mcpu=ultrasparc
+CXXFLAGS+= -mcpu=ultrasparc
+endif
+#CFLAGS+= -m64
+#CXXFLAGS+= -m64
 endif
 
 DEB_CONFIGURE_SCRIPT_ENV += BOINCDIR="/usr/share/boinc-dev"
@@ -24,6 +33,10 @@
   --disable-dynamic-graphics \
   --disable-server \
   --disable-static-linkage
+
+ifeq (UltraSparc,$(CPUTYPE))
+#DEB_CONFIGURE_EXTRA_FLAGS += --enable-bitness=64
+endif
 
 DEB_INSTALL_DOCS_ALL := AUTHORS
 DEB_MAKE_CLEAN_TARGET = clean




More information about the pkg-boinc-commits mailing list