Commit Graph

21 Commits

Author SHA1 Message Date
Ivan Yonchovski
ec2bc2a50e Build compiler with --noNimblePath (#20168)
- Fixes https://github.com/nim-lang/Nim/issues/18840
2022-08-09 14:04:52 -04:00
Timothee Cour
b72ecaf639 fix shebangs #! /xxx => #!/xxx (#18444) 2021-07-07 06:00:59 +02:00
Timothee Cour
13b57524d3 ref #17913; fix typo in tools/ci_generate.nim generating build_all.sh (#17915) 2021-05-01 10:43:20 -07:00
Timothee Cour
1f1d85bb9c reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci); use build_all.bat in 1 CI, fix bug in build_all.bat (#17899)
* reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci)
* ci_docs: use build_all.bat in CI (just in that pipeline) to ensure it keeps working
* fixup
* fix pre-existing bug in build_all.bat
* fixup
* cp => copy /y
* auto-generate build_all.bat, build_all.sh
* fixup
2021-05-01 07:24:41 +02:00
Timothee Cour
dce0b3b002 refactor all code that builds csources (#17815)
* refactor all code that builds csources
* fixup
* nim_csourcesDir_v0 + nim_csourcesDir
* remove deprecated, unused scripts from ci/
* reuse nimCsourcesHash in ci
* simplify CI pipelines by reusing nimBuildCsourcesIfNeeded
* simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded
* cleanup
* use csources_v1 as destination dir
* fixup
* remove pushCsources
* address comment: remove build.sh support for now
* fixup
2021-04-23 11:28:42 +02:00
Timothee Cour
a31e601550 misc fixes: build_all.sh, changelog (#17601)
* fix a bug in build_all.sh: $@ => "$@"

* remove getSocket from changelog following #17587

* remove unused import
2021-04-01 08:48:44 +02:00
Miran
bbe49a14ae Correct all eggs (#15906)
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
2020-11-10 21:53:25 +01:00
Frank Paulo Filho
4bb301dbe2 Make build_all.sh file executable (#14518) 2020-06-01 15:57:16 +02:00
Ștefan Talpalaru
3d7d06571c isolate the build process from external config files (#13411) 2020-02-14 21:15:52 +01:00
Clyybber
ab525cc48a build_all.sh update (#13320)
* Don't overload the system, don't crash when you can't determine the CPU count and don't rely on bash

* Extract to variable

* Limit number of spawned jobs for systems with weak IO

* Use proper arithmetic braces
2020-02-04 21:26:38 +01:00
Clyybber
1ab37ccfc6 Make build_all.sh more portable and a bit simpler (#13308) 2020-02-03 02:02:44 +01:00
Timothee Cour
45a5c64c9a build_all.sh: building csources 5X faster thanks to make -j (#13300)
* build_all.sh: building csources 5X faster thanks to make -j
* fix for freebsd
* use OS-dependent formula to get number of logical cores
* make is an optional dependency
2020-01-31 20:00:05 +01:00
Taylor Hoff
1e89e5bf9c Pass command line arguments from build_all.sh to build.sh (#11195) 2019-05-08 10:23:17 +02:00
Arne Döring
28394153ab 32 bit fixes (#10608) 2019-02-13 23:30:14 +01:00
Timothee Cour
e0afacb9f2 properly fix #10030 by skipping all external configs (#10324) 2019-01-16 08:14:55 +01:00
Timothee Cour
0bb76dde54 fixes #10030 bootstrap is insulated from user config (#10244) 2019-01-10 17:49:57 +01:00
Timothee Cour
8948894713 [ci skip] update docs for build_all.sh (#10086) 2018-12-27 22:28:08 +01:00
Timothee Cour
7cadb5a65d build_all.sh fix bug introduced in https://github.com/nim-lang/Nim/pull/9145
/cc @valtron printf doesn't include trailing newline, unlike echo
2018-10-08 14:07:09 +02:00
valtron
9db92530de fix: echo "\n" not portable 2018-10-01 10:27:13 -06:00
Timothee Cour
730ce53b71 save a backup of csources-built nim to bin/nim_csources to avoid recompiling from csources (#8582) 2018-08-09 10:56:05 +02:00
Timothee Cour
506418ef53 add build_all.sh to allow 1-liner to build development version of the compiler (#8546) 2018-08-08 16:47:17 +02:00