Skip to content

Commit

Permalink
Merge pull request #1 from regro-cf-autotick-bot/bot-pr_arm_osx_h5a5e2f
Browse files Browse the repository at this point in the history
ARM OSX Migrator
  • Loading branch information
jturney committed Oct 31, 2023
2 parents 1a9d436 + 536595e commit ab8a74a
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
blas_impl:
- openblas
c_compiler:
- clang
c_compiler_version:
- '16'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '16'
fftw:
- '3'
hdf5:
- 1.14.2
llvm_openmp:
- '16'
macos_machine:
- arm64-apple-darwin20.0.0
target_platform:
- osx-arm64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
zlib:
- '1.2'
3 changes: 3 additions & 0 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
github:
branch_name: main
tooling_branch_name: main
build_platform:
osx_arm64: osx_64
conda_build:
error_overlinking: true
conda_forge_output_validation: true
github:
branch_name: main
tooling_branch_name: main
test: native_and_emulated
11 changes: 10 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ elif [[ "$blas_impl" == "openblas" ]]; then
ARCH_ARGS="-DBLA_VENDOR=OpenBLAS -DBLA_SIZEOF_INTEGER=4 ${ARCH_ARGS}"
fi

# Einsums target platform specific options
plat_args=()
if [[ "${target_platform}" == "osx-arm64" ]]; then
plat_args+=( '-D EINSUMS_ENABLE_TESTING=OFF' )
else
plat_args+=( '-D EINSUMS_ENABLE_TESTING=ON' )
fi


${BUILD_PREFIX}/bin/cmake ${CMAKE_ARGS} ${ARCH_ARGS} \
-S ${SRC_DIR} \
-B build \
Expand All @@ -30,7 +39,7 @@ ${BUILD_PREFIX}/bin/cmake ${CMAKE_ARGS} ${ARCH_ARGS} \
-D CMAKE_CXX_FLAGS="${CXXFLAGS}" \
-D CMAKE_INSTALL_LIBDIR=lib \
-D EINSUMS_STATIC_BUILD=OFF \
-D EINSUMS_ENABLE_TESTING=ON \
"${plat_args[@]}" \
-D EINSUMS_USE_HPTT=ON \
-D FETCHCONTENT_QUIET=OFF \
-D CMAKE_REQUIRE_FIND_PACKAGE_Catch2=ON \
Expand Down
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set name = "Einsums" %}
{% set version = "0.2" %}
{% set sha256 = "6f0e209add31b38d58a557e14afce7b23d5dd684a70aaf15554469f19ce77d29" %}
{% set version = "0.3" %}
{% set sha256 = "be4c6b80c20dfbe84a5039833dddd07b6cec1762e39e4bf7ff709c1097b2d387" %}
{% set build_number = 0 %}

package:
Expand Down

0 comments on commit ab8a74a

Please sign in to comment.