Pass command line arguments from build_all.sh to build.sh (#11195)
This commit is contained in:
parent
34405db80f
commit
1e89e5bf9c
1 changed files with 2 additions and 2 deletions
|
|
@ -17,14 +17,14 @@ build_nim_csources(){
|
||||||
## avoid changing dir in case of failure
|
## avoid changing dir in case of failure
|
||||||
(
|
(
|
||||||
echo_run cd csources
|
echo_run cd csources
|
||||||
echo_run sh build.sh
|
echo_run sh build.sh $@
|
||||||
)
|
)
|
||||||
# keep $nim_csources in case needed to investigate bootstrap issues
|
# keep $nim_csources in case needed to investigate bootstrap issues
|
||||||
# without having to rebuild from csources
|
# without having to rebuild from csources
|
||||||
echo_run cp bin/nim $nim_csources
|
echo_run cp bin/nim $nim_csources
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -f $nim_csources ] || echo_run build_nim_csources
|
[ -f $nim_csources ] || echo_run build_nim_csources $@
|
||||||
|
|
||||||
# Note: if fails, may need to `cd csources && git pull`
|
# Note: if fails, may need to `cd csources && git pull`
|
||||||
echo_run bin/nim c --skipUserCfg --skipParentCfg koch
|
echo_run bin/nim c --skipUserCfg --skipParentCfg koch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue