Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / 
python-graph-tool


Commits:
df836354 by Jakub Klinkovský at 2025-01-03T10:01:59+01:00
upgpkg: 2.80-4: increase optimization level to -O3

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-graph-tool
        pkgdesc = A Python module for manipulation and statistical analysis of 
graphs
        pkgver = 2.80
-       pkgrel = 3
+       pkgrel = 4
        url = https://graph-tool.skewed.de
        arch = x86_64
        license = LGPL-3.0-or-later


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=python-graph-tool
 pkgver=2.80
-pkgrel=3
+pkgrel=4
 pkgdesc='A Python module for manipulation and statistical analysis of graphs'
 arch=(x86_64)
 url='https://graph-tool.skewed.de'
@@ -40,7 +40,9 @@ build() {
   cd graph-tool-$pkgver
 
   # disable assertions which lead to runtime performance degradation
-  export CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS/}
+  CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS/}
+  # the package benefits from -O3 (due to -funswitch-loops and others)
+  export CXXFLAGS=${CXXFLAGS/-O2/-O3}
 
   ./configure --enable-openmp --prefix=/usr --docdir=/usr/share/doc/$pkgname
   # prevent excessive overlinking due to libtool



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-graph-tool/-/commit/df83635477d36495bc84c5a8107bf48e591f6453

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-graph-tool/-/commit/df83635477d36495bc84c5a8107bf48e591f6453
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to