move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850)

* remove tinyc
* installDeps
* update tinyc paths
This commit is contained in:
Timothee Cour 2020-04-03 00:10:45 -07:00 • committed by GitHub
commit 93cd98dd14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
390 changed files with 80 additions and 99388 deletions

View file

@ -1941,8 +1941,8 @@ proc writeModule(m: BModule, pending: bool) =
var code = genModule(m, cf)
if code != nil or m.config.symbolFiles != disabledSf:
when hasTinyCBackend:
if conf.cmd == cmdRun:
tccgen.compileCCode($code)
if m.config.cmd == cmdRun:
tccgen.compileCCode($code, m.config)
onExit()
return