Skip to content

Commit

Permalink
helics: Use external system fmtlib
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Feb 9, 2024
1 parent f5227ba commit 99f4986
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mingw-w64-helics/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
url="https://github.com/GMLC-TDC/HELICS"
license=('BSD')
depends=("${MINGW_PACKAGE_PREFIX}-zeromq")
depends=("${MINGW_PACKAGE_PREFIX}-zeromq"
"${MINGW_PACKAGE_PREFIX}-fmt")
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
Expand All @@ -20,7 +21,6 @@ source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/GMLC-TDC/HELICS/rel
sha256sums=('0c02ebaecf3d4ead7911e13325b26706f1e4b316ca51ec609e969e18ec584b78')

#prepare() {
# mkdir -p test
#}

build() {
Expand All @@ -44,6 +44,7 @@ build() {
-DHELICS_DISABLE_GIT_OPERATIONS=ON \
-DHELICS_DISABLE_VCPKG=ON \
-DHELICS_DISABLE_ASIO=$([[ ${MINGW_PACKAGE_PREFIX} != *-clang-* ]] && echo "OFF" || echo "ON") \
-DHELICS_USE_EXTERNAL_FMT=ON \
${extra_config} \
..

Expand Down

0 comments on commit 99f4986

Please sign in to comment.