Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / soplex
Commits: 00722d9f by Antonio Rojas at 2024-05-13T00:14:29+02:00 upgpkg: 6.0.4-2: Fix build with GCC 14 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,20 @@ +pkgbase = soplex + pkgdesc = Sequential object-oriented simPlex + pkgver = 6.0.4 + pkgrel = 2 + url = https://www.scipopt.org/ + arch = x86_64 + license = Apache-2.0 + makedepends = boost + makedepends = cmake + makedepends = git + depends = gcc-libs + depends = glibc + depends = gmp + depends = mpfr + depends = zlib + options = !lto + source = git+https://github.com/scipopt/soplex#tag=release-604 + sha256sums = 0c3a2fff3506ee39ef5f653c87421af5183ebc58eacb0508037f9a096119d98f + +pkgname = soplex ===================================== PKGBUILD ===================================== @@ -2,19 +2,30 @@ pkgname=soplex pkgver=6.0.4 -pkgrel=1 +pkgrel=2 pkgdesc='Sequential object-oriented simPlex' arch=(x86_64) url='https://www.scipopt.org/' -license=(Apache) -depends=(zlib mpfr) -makedepends=(cmake boost) +license=(Apache-2.0) +depends=(gcc-libs + glibc + gmp + mpfr + zlib) +makedepends=(boost + cmake + git) options=(!lto) -source=(https://github.com/scipopt/$pkgname/archive/release-${pkgver//./}/$pkgname-$pkgver.tar.gz) -sha256sums=('691f5b593cb85c2586522d5de5a5a7692958d22ff1ddffb4fc395f4696590b6f') +source=(git+https://github.com/scipopt/soplex#tag=release-${pkgver//./}) +sha256sums=('0c3a2fff3506ee39ef5f653c87421af5183ebc58eacb0508037f9a096119d98f') + +prepare() { + cd soplex + git cherry-pick -n 08cc39c1ac64095e1fda91729590101477091bf4 # Fix build with GCC 14 +} build() { - cmake -B build -S $pkgname-release-${pkgver//./} \ + cmake -B build -S soplex \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=None \ -DMPFR=ON View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/soplex/-/commit/00722d9f875a56b3ffc385dc1a2149b9fef90892 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/soplex/-/commit/00722d9f875a56b3ffc385dc1a2149b9fef90892 You're receiving this email because of your account on gitlab.archlinux.org.