Skip to content

Commit

Permalink
Update wee8 compile script on ARM.
Browse files Browse the repository at this point in the history
Otherwise, v8 compilation failed with the symptoms in envoyproxy/envoy#17100
  • Loading branch information
visualzhou committed Jan 12, 2023
1 parent 6ea671b commit 33e5417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bazel/external/wee8.genrule_cmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ if [[ $${ARCH} == "x86_64" ]]; then
WEE8_BUILD_ARGS+=" target_cpu=\"x64\""
elif [[ $${ARCH} == "aarch64" || $${ARCH} == "arm64" ]]; then
WEE8_BUILD_ARGS+=" target_cpu=\"arm64\""
export LDFLAGS="$${LDFLAGS-} -z max-page-size=0x10000"
elif [[ $${ARCH} == "ppc64le" ]]; then
WEE8_BUILD_ARGS+=" target_cpu=\"ppc64\""
elif [[ $${ARCH} == "s390x" ]]; then
Expand Down

0 comments on commit 33e5417

Please sign in to comment.