mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* CIs: attempt to use csources_v1
* also updated the BSDs
* also updated azure pipelines
* std modules should not itself use the 'std/' import dir...
* compiler has to be careful with std/ for v1 booting
(cherry picked from commit a9b62de895)
16 lines
288 B
Bash
16 lines
288 B
Bash
sh ci/deps.sh
|
|
|
|
# Build from C sources.
|
|
git clone --depth 1 https://github.com/nim-lang/csources_v1.git csources
|
|
cd csources
|
|
sh build.sh
|
|
cd ..
|
|
# Add Nim to the PATH
|
|
export PATH=$(pwd)/bin${PATH:+:$PATH}
|
|
# Bootstrap.
|
|
nim -v
|
|
nim c koch
|
|
./koch boot
|
|
cp bin/nim bin/nimd
|
|
./koch boot -d:release
|