mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-13 16:25:35 +00:00
* 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
17 lines
515 B
Bash
Executable File
17 lines
515 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# build development version of the compiler; can be rerun safely.
|
|
# arguments can be passed, e.g.:
|
|
# CC=gcc ucpu=amd64 uos=darwin
|
|
|
|
set -u # error on undefined variables
|
|
set -e # exit on first error
|
|
|
|
. ci/funs.sh
|
|
nimBuildCsourcesIfNeeded "$@"
|
|
|
|
# Note: if fails, may need to update csourcesAny manually
|
|
echo_run bin/nim c --skipUserCfg --skipParentCfg koch
|
|
echo_run ./koch boot -d:release --skipUserCfg --skipParentCfg
|
|
echo_run ./koch tools --skipUserCfg --skipParentCfg # Compile Nimble and other tools.
|