metis: fixed cmake flags

This commit is contained in:
Tim Biermann 2020-12-06 23:58:33 +00:00
parent 151555d526
commit 50d79f294f
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31fsMPkQbS5dql4LoPiNS91WitIx7zD9hEtRpPWd/+Kvslqk5LEd9VrMYNsbhqVEqwkTPv+kYwfJKxRyJFt8qw8=
SHA256 (Pkgfile) = 81186eafa86eb4b4bb45909f49337f7aa18122969fa0116ec4adab7a48911277
RWSagIOpLGJF35BcG1cLZHv2v6Fx1O9/s6q0Hy+CW3QNAKScRJDKYcmicWInma0chUVA290Vq0OvMk9jC8VOV3ayUQakgWhG6wQ=
SHA256 (Pkgfile) = 1b834c8146ed5cea682705ab3d0b3e67e64c965e7860d4628b39a5719b4f3c1f
SHA256 (.footprint) = 3d34f65fbf731ab9f4581d194fe4015af60b645c43ce3f8f31e5b67b29cec71c
SHA256 (v5.1.0-p10.tar.bz2) = ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b

View File

@ -13,8 +13,8 @@ build() {
cmake -S petsc-pkg-metis-c8d2dc1e751e -B build $PKGMK_METIS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D SHARED=ON \
-Wno-dev
cmake --build build