[arch-commits] Commit in adios2/repos (2 files)

Bruno Pagani archange at gemini.archlinux.org
Fri Jul 23 01:00:24 UTC 2021


    Date: Friday, July 23, 2021 @ 01:00:24
  Author: archange
Revision: 984118

archrelease: copy trunk to community-staging-x86_64

Added:
  adios2/repos/community-staging-x86_64/
  adios2/repos/community-staging-x86_64/PKGBUILD
    (from rev 984117, adios2/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: adios2/repos/community-staging-x86_64/PKGBUILD (from rev 984117, adios2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-23 01:00:24 UTC (rev 984118)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=adios2
+pkgver=2.7.1
+pkgrel=1
+pkgdesc="The Adaptable Input/Output System version 2"
+arch=(x86_64)
+url="https://adios2.readthedocs.io/en/latest/"
+license=(Apache)
+depends=(blosc bzip2 glibc gcc-libs hdf5 libfabric libpng mgard nlohmann-json
+         openmpi pugixml pybind11 sz yaml-cpp zeromq zfp zlib)
+makedepends=(cmake gcc-fortran gtest python python-mpi4py python-numpy)
+source=(https://github.com/ornladios/ADIOS2/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        adios2-gcc11.patch::https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/2710.patch)
+sha256sums=('c8e237fd51f49d8a62a0660db12b72ea5067512aa7970f3fcf80b70e3f87ca3e'
+            '8d301e8232baf4049b547f22bd73774309662017a62dac36360d2965907062bf')
+
+prepare() {
+  cd ${pkgname^^}-${pkgver}
+  patch -p1 < ../adios2-gcc11.patch
+}
+
+build() {
+  cmake -B build -S ${pkgname^^}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DADIOS2_USE_EXTERNAL_DEPENDENCIES=ON \
+    -DADIOS2_BUILD_EXAMPLES=OFF \
+    -DMGARD_INCLUDE_DIR=/usr/include/mgard
+  make VERBOSE=1 -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list