Skip to content

Commit

Permalink
using conditional ||
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed Mar 13, 2023
1 parent a13b7b0 commit cb5f289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/github/before_all_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [[ $(uname) == "Darwin" ]]; then
# supported version of the macos SDK as libomp will be vendored into the
# scikit-learn wheels for macos.

if [[ "$CIBW_BUILD" == *-macosx_arm64]] | [["$CIBW_BUILD" == *-macosx_universal2]]; then
if [[ "$CIBW_BUILD" == *-macosx_arm64]] || [["$CIBW_BUILD" == *-macosx_universal2]]; then
if [[ $(uname -m) == "x86_64" ]]; then
# arm64 builds must cross compile because the CI instance is x86
# This turns off the computation of the test program in
Expand Down

0 comments on commit cb5f289

Please sign in to comment.