Fix the make dist* targets

This commit is contained in:
Zahary Karadjov 2022-11-30 20:09:43 +02:00
parent 474b0d8502
commit 69b6c6e738
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 7 additions and 1 deletions

View File

@ -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