Skip to content

Commit 3d7d065

Browse files
isolate the build process from external config files (#13411)
1 parent ccd2e04 commit 3d7d065

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

build_all.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ if not exist bin\nim.exe (
1212
cd ..
1313
)
1414
bin\nim.exe c --skipUserCfg --skipParentCfg koch
15-
koch.exe boot -d:release
16-
koch.exe tools
15+
koch.exe boot -d:release --skipUserCfg --skipParentCfg
16+
koch.exe tools --skipUserCfg --skipParentCfg
17+

build_all.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build_nim_csources(){
2727
# some args were passed (eg: `--cpu i386`), need to call build.sh
2828
build_nim_csources_via_script "$@"
2929
else
30-
# no args, use multhreaded (5X faster on 16 cores: 10s instead of 50s)
30+
# no args, use multiple Make jobs (5X faster on 16 cores: 10s instead of 50s)
3131
makeX=make
3232
unamestr=$(uname)
3333
if [ "$unamestr" = 'FreeBSD' ]; then
@@ -47,5 +47,6 @@ build_nim_csources(){
4747
# Note: if fails, may need to `cd csources && git pull`
4848
echo_run bin/nim c --skipUserCfg --skipParentCfg koch
4949

50-
echo_run ./koch boot -d:release
51-
echo_run ./koch tools # Compile Nimble and other tools.
50+
echo_run ./koch boot -d:release --skipUserCfg --skipParentCfg
51+
echo_run ./koch tools --skipUserCfg --skipParentCfg # Compile Nimble and other tools.
52+

0 commit comments

Comments
 (0)