Skip to content

Commit

Permalink
chore: avoid mac silicon in OMP script
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Sep 21, 2023
1 parent 1c33ec8 commit 5e1be5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/make_utils/fix_omp_issues_for_intel_mac.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env bash

# Fix OMP issues for macOS Intel, https://github.com/zama-ai/concrete-ml-internal/issues/3951
# This should be avoided for macOS with arm64 architecture

set -ex

UNAME=$(uname)
MACHINE=$(uname -m)

if [ "$UNAME" == "Darwin" ]
if [ "$UNAME" == "Darwin" ] && [ "$MACHINE" != "arm64" ]
then

# We need to source the venv here, since it's not done in the CI
Expand Down

0 comments on commit 5e1be5e

Please sign in to comment.