r45237 - in /packages/openblas/branches/experimental/debian: changelog rules
sebastien-guest at users.alioth.debian.org
sebastien-guest at users.alioth.debian.org
Thu Jul 12 17:26:36 UTC 2012
Author: sebastien-guest
Date: Thu Jul 12 17:26:36 2012
New Revision: 45237
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45237
Log:
debian/rules: implement support for DEB_BUILD_OPTIONS=noopt
Modified:
packages/openblas/branches/experimental/debian/changelog
packages/openblas/branches/experimental/debian/rules
Modified: packages/openblas/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/branches/experimental/debian/changelog?rev=45237&op=diff
==============================================================================
--- packages/openblas/branches/experimental/debian/changelog (original)
+++ packages/openblas/branches/experimental/debian/changelog Thu Jul 12 17:26:36 2012
@@ -3,6 +3,7 @@
* New upstream release
* hurd.diff, hurd_gettid.diff, kfreebsd.diff, sparc.diff: remove patches,
applied upstream
+ * debian/rules: implement support for DEB_BUILD_OPTIONS=noopt
-- Sébastien Villemot <sebastien.villemot at ens.fr> Wed, 11 Jul 2012 16:32:27 +0000
Modified: packages/openblas/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/branches/experimental/debian/rules?rev=45237&op=diff
==============================================================================
--- packages/openblas/branches/experimental/debian/rules (original)
+++ packages/openblas/branches/experimental/debian/rules Thu Jul 12 17:26:36 2012
@@ -12,6 +12,10 @@
TARGET_GENERIC_ARG="TARGET=GENERIC"
endif
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ DEBUG_ARG="DEBUG=1"
+endif
+
build: build-arch
build-arch: build-stamp
@@ -19,17 +23,17 @@
build-stamp:
if test "$(TARGET)" = ""; then \
echo "Support multiple architectures"; \
- $(MAKE) $(COMMON_MAKE_OPTIONS) $(DYNAMIC_ARCH_ARG) $(TARGET_GENERIC_ARG); \
+ $(MAKE) $(COMMON_MAKE_OPTIONS) $(DYNAMIC_ARCH_ARG) $(TARGET_GENERIC_ARG) $(DEBUG_ARG); \
fi
if test "$(TARGET)" = "custom"; then \
echo "Leave the detection to GotoBLAS / OpenBLAS"; \
- $(MAKE) $(COMMON_MAKE_OPTIONS); \
+ $(MAKE) $(COMMON_MAKE_OPTIONS) $(DEBUG_ARG); \
fi
if test "$(TARGET)" != "" -a "$(TARGET)" != "custom"; then \
echo "Use the value '$(TARGET)' provided by the user"; \
- $(MAKE) $(COMMON_MAKE_OPTIONS) TARGET=$(TARGET); \
+ $(MAKE) $(COMMON_MAKE_OPTIONS) TARGET=$(TARGET) $(DEBUG_ARG); \
fi;
rm libopenblas.so
More information about the debian-science-commits
mailing list