[med-svn] [Git][med-team/bart][master] 3 commits: Turn off LTO builds

Martin Uecker (@uecker-guest) gitlab at salsa.debian.org
Tue Aug 23 17:07:13 BST 2022



Martin Uecker pushed to branch master at Debian Med / bart


Commits:
151cc5ae by Martin Uecker at 2022-08-23T18:04:11+02:00
Turn off LTO builds

- - - - -
38f3c96f by Martin Uecker at 2022-08-23T18:05:40+02:00
Fix GPU build issue

- - - - -
0916b194 by Martin Uecker at 2022-08-23T18:06:22+02:00
update uploaders

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/patches/0007-on-Deban-never-use-git-version.patch → debian/patches/0008-on-Deban-never-use-git-version.patch
- + debian/patches/0009-add-CXXFLAGS-to-nvcc-to-fix-C-build-issue.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+bart (0.7.00-4) UNRELEASED; urgency=medium
+
+  * Turn off LTO build due to GCC bug #1017849.
+  * Add std=c++14 to nvcc to fix build issues.
+
+ -- Martin Uecker <uecker at tugraz.at>  Tue, 23 Aug 2022 16:46:34 +0200
+
 bart (0.7.00-3) unstable; urgency=medium
 
   * Turn off parallel build for determinism.


=====================================
debian/control
=====================================
@@ -1,6 +1,6 @@
 Source: bart
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Martin Uecker <martin.uecker at med.uni-goettingen.de>
+Uploaders: Martin Uecker <uecker at tugraz.at>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),


=====================================
debian/patches/0007-on-Deban-never-use-git-version.patch → debian/patches/0008-on-Deban-never-use-git-version.patch
=====================================


=====================================
debian/patches/0009-add-CXXFLAGS-to-nvcc-to-fix-C-build-issue.patch
=====================================
@@ -0,0 +1,23 @@
+From: Martin Uecker <martin.uecker at med.uni-goettingen.de>
+Date: Tue, 23 Aug 2022 16:51:59 +0200
+Subject: add -std=c++14 to nvcc to fix C++ build issue
+
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 7977abd..f81ef73 100644
+--- a/Makefile
++++ b/Makefile
+@@ -329,8 +329,8 @@ NVCCFLAGS = -DUSE_CUDA -Xcompiler -fPIC -Xcompiler -fopenmp -O3 $(GPUARCH_FLAGS)
+ 
+ 
+ %.o: %.cu
+-	$(NVCC) $(NVCCFLAGS) -c $^ -o $@
+-	$(NVCC) $(NVCCFLAGS) -M $^ -o $(DEPFILE)
++	$(NVCC) $(NVCCFLAGS) -std=c++14 -c $^ -o $@
++	$(NVCC) $(NVCCFLAGS) -std=c++14 -M $^ -o $(DEPFILE)
+ 
+ 
+ # OpenMP


=====================================
debian/patches/series
=====================================
@@ -4,4 +4,5 @@
 0005-workaround-for-compiler-bug.patch
 0006-do-not-update-doc-commands.txt-automatically.patch
 0007-backported-test-fixes.patch
-0007-on-Deban-never-use-git-version.patch
+0008-on-Deban-never-use-git-version.patch
+0009-add-CXXFLAGS-to-nvcc-to-fix-C-build-issue.patch


=====================================
debian/rules
=====================================
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 



View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/ca725db00da126a9545a6d2ab83c8c41d0f1f089...0916b19429150590cceaeb8ced571ed6b95272b1

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/ca725db00da126a9545a6d2ab83c8c41d0f1f089...0916b19429150590cceaeb8ced571ed6b95272b1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220823/7f793410/attachment-0001.htm>


More information about the debian-med-commit mailing list