[arch-commits] Commit in (adios2 adios2/repos adios2/trunk adios2/trunk/PKGBUILD)

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


    Date: Friday, July 23, 2021 @ 01:00:15
  Author: archange
Revision: 984117

Initial addition of adios2 to [community], for VTK/ParaView

Added:
  adios2/
  adios2/repos/
  adios2/trunk/
  adios2/trunk/PKGBUILD

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

Added: adios2/trunk/PKGBUILD
===================================================================
--- adios2/trunk/PKGBUILD	                        (rev 0)
+++ adios2/trunk/PKGBUILD	2021-07-23 01:00:15 UTC (rev 984117)
@@ -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