From 69b6c6e73871b3c38dcb83b36e020cdd9d55a8cd Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Wed, 30 Nov 2022 20:09:43 +0200 Subject: [PATCH] Fix the make dist* targets --- docker/dist/entry_point.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/dist/entry_point.sh b/docker/dist/entry_point.sh index 1b75172b5..0e4076d92 100755 --- a/docker/dist/entry_point.sh +++ b/docker/dist/entry_point.sh @@ -29,8 +29,14 @@ fi echo -e "\nPLATFORM=${PLATFORM}" -#- we need to build everything against libraries available inside this container, including the Nim compiler +# we need to build everything against libraries available inside this container, including the Nim compiler +# we need to build everything against libraries available inside this container, including the Nim compiler +# the nimbus-build-system.paths file needs to be re-created because it may include absolute paths that are +# valid only on the host system (and not in the docker container where the build is executing) +rm -f nimbus-build-system.paths make clean +make update -j$(nproc) + NIMFLAGS_COMMON="-d:disableMarchNative --gcc.options.debug:'-g1' --clang.options.debug:'-gline-tables-only'" if [[ "${PLATFORM}" == "Windows_amd64" ]]; then # Cross-compilation using the MXE distribution of Mingw-w64