Skip to content

Commit 92e3d15

Browse files
committed
Tweak for arm64 on Rocky-8 (still does not work)
1 parent 8ccb5eb commit 92e3d15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rocky-8/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ RUN patch -p0 -i /tmp/gcc-8.diff
4040
RUN \
4141
echo "checkout_google_benchmark = false" > /v8/build/config/gclient_args.gni
4242

43+
RUN \
44+
cd /usr/bin &&\
45+
ln -s g++ $(uname -m)-linux-gnu-g++ &&\
46+
ln -s gcc $(uname -m)-linux-gnu-gcc &&\
47+
ln -s ar $(uname -m)-linux-gnu-ar
48+
4349
RUN cd /v8 &&\
4450
gn gen v8.static -vv --fail-on-unused-args \
4551
--args='v8_monolithic=true \
@@ -55,6 +61,7 @@ RUN cd /v8 &&\
5561
v8_enable_i18n_support=false \
5662
v8_use_external_startup_data=false \
5763
use_custom_libcxx=false \
64+
arm_control_flow_integrity="none" \
5865
use_sysroot=false'
5966

6067
RUN cd /v8 && ninja -C v8.static -j2 "v8_monolith" "d8"

0 commit comments

Comments
 (0)