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
This commit is contained in:
parent
dbb053492a
commit
dce0b3b002
22 changed files with 136 additions and 339 deletions
|
|
@ -1,10 +1,13 @@
|
|||
@echo off
|
||||
rem build development version of the compiler; can be rerun safely
|
||||
if not exist csources (
|
||||
git clone --depth 1 https://github.com/nim-lang/csources.git
|
||||
rem TODO: call nimBuildCsourcesIfNeeded or auto-generate this file (from a nim script)
|
||||
rem to avoid duplication.
|
||||
if not exist csources_v1 (
|
||||
git clone --depth 1 https://github.com/nim-lang/csources_v1.git
|
||||
)
|
||||
if not exist bin\nim.exe (
|
||||
cd csources
|
||||
cd csources_v1
|
||||
git checkout a8a5241f9475099c823cfe1a5e0ca4022ac201ff
|
||||
if PROCESSOR_ARCHITECTURE == AMD64 (
|
||||
SET ARCH=64
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue