Skip to content

Commit 69b6c6e

Browse files
committed
Fix the make dist* targets
1 parent 474b0d8 commit 69b6c6e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/dist/entry_point.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@ fi
2929

3030
echo -e "\nPLATFORM=${PLATFORM}"
3131

32-
#- we need to build everything against libraries available inside this container, including the Nim compiler
32+
# we need to build everything against libraries available inside this container, including the Nim compiler
33+
# we need to build everything against libraries available inside this container, including the Nim compiler
34+
# the nimbus-build-system.paths file needs to be re-created because it may include absolute paths that are
35+
# valid only on the host system (and not in the docker container where the build is executing)
36+
rm -f nimbus-build-system.paths
3337
make clean
38+
make update -j$(nproc)
39+
3440
NIMFLAGS_COMMON="-d:disableMarchNative --gcc.options.debug:'-g1' --clang.options.debug:'-gline-tables-only'"
3541
if [[ "${PLATFORM}" == "Windows_amd64" ]]; then
3642
# Cross-compilation using the MXE distribution of Mingw-w64

0 commit comments

Comments
 (0)