Skip to content

Commit

Permalink
Merge branch 'main' into allow-remote-api-calls-on-container
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Dec 4, 2023
2 parents e5ee655 + eba8fd4 commit e06091f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ else
OUTPUT=$1
fi

# Check for CGO_ENABLED
if [[ $(go env CGO_ENABLED) = 0 ]]; then
echo "must have installed gcc (linux), clang (macos), or have set CC to an appropriate C compiler"
exit 1
fi

# Set the CGO flags to use the portable version of BLST
#
# We use "export" here instead of just setting a bash variable because we need
Expand Down

0 comments on commit e06091f

Please sign in to comment.