[arch-commits] Commit in sundials/repos/community-x86_64 (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Feb 11 20:43:53 UTC 2022


    Date: Friday, February 11, 2022 @ 20:43:52
  Author: arojas
Revision: 1132229

archrelease: copy trunk to community-x86_64

Added:
  sundials/repos/community-x86_64/PKGBUILD
    (from rev 1132228, sundials/trunk/PKGBUILD)
Deleted:
  sundials/repos/community-x86_64/PKGBUILD
  sundials/repos/community-x86_64/sundials-fix-cmake-config.patch

---------------------------------+
 PKGBUILD                        |   72 +++++++++++++++++---------------------
 sundials-fix-cmake-config.patch |   14 -------
 2 files changed, 33 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-11 20:43:29 UTC (rev 1132228)
+++ PKGBUILD	2022-02-11 20:43:52 UTC (rev 1132229)
@@ -1,39 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
-
-pkgname=sundials
-pkgver=6.1.0
-pkgrel=2
-pkgdesc='Suite of nonlinear differential/algebraic equation solvers'
-arch=(x86_64)
-url='https://computation.llnl.gov/casc/sundials/main.html'
-license=(BSD)
-depends=(openmpi suitesparse)
-makedepends=(cmake gcc-fortran python)
-source=(https://github.com/LLNL/sundials/archive/v$pkgver/$pkgname-$pkgver.tar.gz
-        sundials-fix-cmake-config.patch)
-sha256sums=('286ac6b3567a8b5c8d372391f9061024dc3c6415556c3eb0423be8bdf2de1e77'
-            'd7a89b080fd0e71eed54e7dcf0f88ba51245aae200ecf685f4c543d47e2e1983')
-
-prepare() {
-  patch -d $pkgname-$pkgver -p1 < sundials-fix-cmake-config.patch # Fix cmake config
-}
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_STATIC_LIBS=OFF \
-    -DENABLE_MPI=ON \
-    -DENABLE_PTHREAD=ON	\
-    -DENABLE_OPENMP=ON \
-    -DENABLE_KLU=ON \
-    -DKLU_LIBRARY_DIR=/usr/lib \
-    -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-
-  install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: sundials/repos/community-x86_64/PKGBUILD (from rev 1132228, sundials/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-11 20:43:52 UTC (rev 1132229)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Elmar Klausmeier <Elmar.Klausmeier at gmail.com>
+
+pkgname=sundials
+pkgver=6.1.1
+pkgrel=1
+pkgdesc='Suite of nonlinear differential/algebraic equation solvers'
+arch=(x86_64)
+url='https://computation.llnl.gov/casc/sundials/main.html'
+license=(BSD)
+depends=(openmpi suitesparse)
+makedepends=(cmake gcc-fortran python)
+source=(https://github.com/LLNL/sundials/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('43cc11bf9ee1765cb1a600b8ba5a439ccf6f1e9163f7ba6868a146f9f51dbcba')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_STATIC_LIBS=OFF \
+    -DENABLE_MPI=ON \
+    -DENABLE_PTHREAD=ON	\
+    -DENABLE_OPENMP=ON \
+    -DENABLE_KLU=ON \
+    -DKLU_LIBRARY_DIR=/usr/lib \
+    -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Deleted: sundials-fix-cmake-config.patch
===================================================================
--- sundials-fix-cmake-config.patch	2022-02-11 20:43:29 UTC (rev 1132228)
+++ sundials-fix-cmake-config.patch	2022-02-11 20:43:52 UTC (rev 1132229)
@@ -1,14 +0,0 @@
-diff --git a/cmake/SundialsTPLOptions.cmake b/cmake/SundialsTPLOptions.cmake
-index 6445b367..e992035a 100644
---- a/cmake/SundialsTPLOptions.cmake
-+++ b/cmake/SundialsTPLOptions.cmake
-@@ -275,8 +275,7 @@ sundials_option(ONEMKL_WORKS BOOL "Set to ON to force CMake to accept a given on
- # Enable Caliper support?
- # ---------------------------------------------------------------
- 
--sundials_option(ENABLE_CALIPER BOOL "Enable CALIPER support" OFF
--                DEPENDS_ON SUNDIALS_BUILD_WITH_PROFILING)
-+sundials_option(ENABLE_CALIPER BOOL "Enable CALIPER support" OFF)
- 
- sundials_option(CALIPER_DIR PATH "Path to the root of an CALIPER installation" "${CALIPER_DIR}"
-                 DEPENDS_ON ENABLE_CALIPER)



More information about the arch-commits mailing list