Skip to content

Commit df54d8b

Browse files
committed
Add metal headers on macos, use symengine branch with metalcode support
1 parent 2fdedc2 commit df54d8b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
QT_VERSION: "6.10.2-msvc"
66
LIBSBML_VERSION: "v5.20.5"
77
LIBEXPAT_VERSION: "R_2_7_3"
8-
SYMENGINE_VERSION: "add_cudacode_printer"
8+
SYMENGINE_VERSION: "add_metalcode_printer"
99
GMP_VERSION: "6.3.0"
1010
MPFR_VERSION: "4.2.1"
1111
MPIR_MSVC_VERSION: "f84ce09218b91d4c4fdf26e75093918c9fdb7046"
@@ -32,6 +32,7 @@ env:
3232
SCOTCH_VERSION: "v7.0.9"
3333
NLOPT_VERSION: "v2.10.0"
3434
CUDA_REDIST_VERSION: "13.2.51"
35+
METALCPP_VERSION: "macOS14.2_iOS17.2"
3536
concurrency:
3637
group: release-${{ github.ref }}
3738
cancel-in-progress: true

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,11 @@ cd ../../
830830

831831
install_cuda_bundle
832832

833+
if [ "$OS" = "osx-arm64" ]; then
834+
wget "https://developer.apple.com/metal/cpp/files/metal-cpp_${METALCPP_VERSION}.zip" -O metalcpp.zip
835+
unzip metalcpp.zip -d "${INSTALL_PREFIX}"
836+
fi
837+
833838
ccache --show-stats
834839

835840
mkdir artefacts

0 commit comments

Comments
 (0)