1
0
Fork 0

Enhance aarch64 workaround in Dockerfile to set locale variables before HLS compilation

main^2
Sebastian Steger 2026-11-03 15:59:39 +01:00
parent 75ebeb6552
commit e4987a8906
1 changed files with 3 additions and 1 deletions

View File

@ -42,5 +42,7 @@ RUN cabal update && cabal install --lib HUnit \
# workaround for aarch64 architecture to compile HLS # workaround for aarch64 architecture to compile HLS
RUN if [ "$(uname -m)" = "aarch64" ]; then \ RUN if [ "$(uname -m)" = "aarch64" ]; then \
cabal update && ghcup compile hls --version 2.14.0.0 --ghc 9.10.3 && rm -rf ~/.cabal/packages/*; \ export LANG=C.UTF-8 && export LC_ALL=C.UTF-8 \
&& cabal update && ghcup compile hls --version 2.14.0.0 --ghc 9.10.3 \
&& rm -rf ~/.cabal/packages/*; \
fi fi