[arch-commits] Commit in mgard/repos/community-x86_64 (3 files)
Bruno Pagani
archange at gemini.archlinux.org
Sat Apr 2 20:10:57 UTC 2022
Date: Saturday, April 2, 2022 @ 20:10:57
Author: archange
Revision: 1180869
archrelease: copy trunk to community-x86_64
Added:
mgard/repos/community-x86_64/PKGBUILD
(from rev 1180868, mgard/trunk/PKGBUILD)
Deleted:
mgard/repos/community-x86_64/PKGBUILD
mgard/repos/community-x86_64/mgard-fix-includedir.patch
----------------------------+
PKGBUILD | 70 +++++++++++++++++++------------------------
mgard-fix-includedir.patch | 13 -------
2 files changed, 32 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 20:10:31 UTC (rev 1180868)
+++ PKGBUILD 2022-04-02 20:10:57 UTC (rev 1180869)
@@ -1,38 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=mgard
-pkgver=0.1.0
-pkgrel=2
-pkgdesc="MultiGrid Adaptive Reduction of Data"
-arch=(x86_64)
-url="https://github.com/CODARcode/MGARD"
-license=(Apache)
-depends=(glibc zlib zstd)
-makedepends=(cmake)
-source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
- mgard-fix-includedir.patch)
-sha256sums=('254cc77ca678c746c3808d7fb76c289fce17f2cbb84a1892d6cd2ea078be62f0'
- '347a5ef495c1e423a590b53b080a9c4874e425e64fa2e154eca35534eae07d6d')
-
-prepare() {
- cd ${pkgname^^}-${pkgver}
- patch -p1 < ../mgard-fix-includedir.patch
-}
-
-build() {
- cmake -B build -S ${pkgname^^}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr
- make -C build
-}
-
-check() {
- cd build
- # https://github.com/CODARcode/MGARD/issues/105
- ctest -v --output-on-failure || echo "Tests failed"
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- # Uneeded file
- rm "${pkgdir}"/usr/include/mgard/MGARDConfig.h.in
-}
Copied: mgard/repos/community-x86_64/PKGBUILD (from rev 1180868, mgard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 20:10:57 UTC (rev 1180869)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=mgard
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="MultiGrid Adaptive Reduction of Data"
+arch=(x86_64)
+url="https://github.com/CODARcode/MGARD"
+license=(Apache)
+depends=(blas lapack glibc yaml-cpp zlib zstd)
+makedepends=(cmake) # tclap 1.4 required but unreleased
+# mgard requires catch2 3.x which is currently unreleased
+#checkdepends=(catch2)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2dd153abc9bef7d87923cdefca6243b2050b7522e1d2b196e04c73c5cee6e880')
+
+build() {
+ cmake -B build -S ${pkgname^^}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make -C build
+}
+
+check() {
+ cd build
+ ctest -v --output-on-failure
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ # Uneeded file
+ rm "${pkgdir}"/usr/include/mgard/MGARDConfig.hpp.in
+}
Deleted: mgard-fix-includedir.patch
===================================================================
--- mgard-fix-includedir.patch 2022-04-02 20:10:31 UTC (rev 1180868)
+++ mgard-fix-includedir.patch 2022-04-02 20:10:57 UTC (rev 1180869)
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a848101..a04c158 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -204,7 +204,7 @@ install(
- include/TensorMeshHierarchy.hpp
- ${MGARD_CUDA_HEADER}
- "${PROJECT_BINARY_DIR}/include/MGARDConfig.h"
-- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mgard
- )
- install(
- DIRECTORY
More information about the arch-commits
mailing list