Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #14132 dsymutil should not be called on static libraries (#14133) ↵ | Timothee Cour | 2020-04-27 | 1 | -6/+6 |
| | | | | [backport:1.2] | ||||
* | Add LTO support for most compilers and do some VCC fixes (#14013) | Keithcat1 | 2020-04-22 | 1 | -3/+4 |
| | | | | | | | | | * Added LTO in nim.cfg, added /link in extccomp.nim and other fixes * Fix line endings * Fix line endings, for real this time. Almost certainly. Like, 95% certain. * Removed /MD from extccom.nim VCC comiler | ||||
* | Add support for `zig cc` as C compiler. (#13757) | Hessam Mehr | 2020-04-08 | 1 | -0/+11 |
| | |||||
* | fix #13910 (#13917) | cooldome | 2020-04-07 | 1 | -2/+2 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fix some codegen bugs: NIM_BOOL, NIM_STATIC_ASSERT, --passc:-std=... (etc) ↵ | Timothee Cour | 2020-04-07 | 1 | -3/+5 |
| | | | | | | | | (#13798) * fix cgen bool D20200328T203812 * --passc:std=c++17 (etc) now works instead of silently ignored * document caveats for NIM_NIL | ||||
* | Attempt to finish off araq cpp exceptions (#13695) | cooldome | 2020-03-19 | 1 | -5/+23 |
| | | | | | | | | | | | | | | | * config update * disable a questionable test * remove c++ exception handling IDs, new impl doesn't require it anymore * C++ based exceptions finally work * fixes bootstrapping problem in C++ mode * teach GCC it's 2020 now * more bugfixes for C++ based exception handling * apply cooldome's patch * another attempt to enable C++11 * bug fix Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fix #13412 nim now recompiles for stdin input; SuccessX now configurable; ↵ | Timothee Cour | 2020-03-19 | 1 | -0/+10 |
| | | | | | | can show whether it recompiled (#13506) * fix #13412 nim now recompiles for stdin input; SuccessX now indicates whether it recompiled | ||||
* | fix #13633 fix koch boot crashing regression (#13635) | Timothee Cour | 2020-03-12 | 1 | -1/+1 |
| | |||||
* | Amend fix for #13633 (#13636) | Clyybber | 2020-03-12 | 1 | -1/+1 |
| | |||||
* | Fix #13633 | Clyybber | 2020-03-12 | 1 | -1/+2 |
| | |||||
* | Make listCmd honor hint:cc:off (#13606) | Clyybber | 2020-03-11 | 1 | -50/+35 |
| | | | | | | | | | | | | | | | | | * Make listCmd honor hint:cc:off * Tiny cleanup * Tiny tiny cleanup * VERY IMPORTANT: --hint:cc:on will overwrite --verbosity:0 :p * Tiny cleanup * Stupid * Move displayProgressCC to where its required * Tiny cleanup | ||||
* | `koch --nim:pathto/nim boot` and `koch boot --hint:cc:off` now work (#13516) | Timothee Cour | 2020-03-11 | 1 | -14/+19 |
| | | | | | * `koch boot --hint:cc:off` now works * `koch --nim:pathto/nim boot` now works; code cleanup | ||||
* | Revert "Support cross compiling from host to host (#12859)" (#13591) | genotrance | 2020-03-10 | 1 | -1/+2 |
| | | | This reverts commit e4f7656772657069cd3e27704d687b292d8d24ab. | ||||
* | Only print the link command when listCmd is active; fix docs (#13603) | Clyybber | 2020-03-07 | 1 | -1/+1 |
| | |||||
* | make it possible to pass linker options for vcc (#13535) [backport] | cooldome | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | fix #8312 --hints:off and --warnings:off now honored everywhere (#13489) | Timothee Cour | 2020-02-26 | 1 | -1/+1 |
| | |||||
* | Fix #8648 - use parent streams to avoid hang (#13445) | genotrance | 2020-02-20 | 1 | -6/+5 |
| | |||||
* | fixes #13144 (#13145) | Timothee Cour | 2020-01-18 | 1 | -9/+4 |
| | | | | * fixup: genscript now does not copy nimbase.h but uses -I$nim/lib | ||||
* | pass platform argument only if vccexe is used (#13078) | cooldome | 2020-01-14 | 1 | -10/+9 |
| | | | | | * pass platform only if vccexe is used * fixes #12297 | ||||
* | [easy] --hint:link:on now shows link cmd instead of nothing (#13056) | Timothee Cour | 2020-01-07 | 1 | -2/+1 |
| | | | | | | * --hint:link:on now shows link cmd instead of nothing * update doc for --listCmd | ||||
* | fix #12988 (#13022) | rockcavera | 2020-01-03 | 1 | -3/+3 |
| | | | fix #12988 | ||||
* | fixes #12735 on osx, call dsymutil for debug builds (#12931) | Timothee Cour | 2019-12-21 | 1 | -0/+21 |
| | | | | | | * fix #12735 osx: dsymutil needs to be called for debug builds * also write dsymutil command to extraCmds in json build file | ||||
* | Support cross compiling from host to host (#12859) | Neelesh Chandola | 2019-12-09 | 1 | -2/+1 |
| | |||||
* | Fix external file recompilation (#12802) | cooldome | 2019-12-03 | 1 | -1/+1 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -39/+39 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | fixes #12663 staticRead now creates a dependency for rebuilds (#12731) ↵ | Timothee Cour | 2019-11-25 | 1 | -12/+13 |
| | | | | | | | [backport] * fix #12663 staticRead * address comments | ||||
* | implemented a new localPassc pragma (#12706) | Andreas Rumpf | 2019-11-22 | 1 | -4/+15 |
| | |||||
* | added the --asm command line option for inspection of the produced assember ↵ | Andreas Rumpf | 2019-11-21 | 1 | -6/+32 |
| | | | | code (#12699) | ||||
* | Fix Nim specify wrong option to vccexe when vcc.options.always is set ↵ | Tomohiro | 2019-10-24 | 1 | -1/+1 |
| | | | | (#12490) [backport] | ||||
* | Add no-ident for GCC when -d:release (#12454) | Juan Carlos | 2019-10-18 | 1 | -3/+3 |
| | |||||
* | External file compilation improvement (#12380) | cooldome | 2019-10-08 | 1 | -0/+4 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -2/+2 |
| | |||||
* | changed name mangling for generated C files | Araq | 2019-09-13 | 1 | -1/+1 |
| | |||||
* | fixes #11758 [nobackport] | Andreas Rumpf | 2019-07-17 | 1 | -1/+7 |
| | |||||
* | better run also considers the command line; fixes #11719 [feature] | Araq | 2019-07-12 | 1 | -1/+8 |
| | |||||
* | koch/nim: completion of the 'better run' feature | Araq | 2019-07-12 | 1 | -1/+1 |
| | |||||
* | better run [feature] (#11709) | Andreas Rumpf | 2019-07-11 | 1 | -5/+46 |
| | | | | | | | * track the checksums of all involved Nim files for smarter 'nim c -r' recompiles * don't recompile unless necessary for 'nim c -r' [feature] * [feature] koch boot uses a two step process in order to free the RAM before the GCC/Clang invocations * fixes a serious regression | ||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -11/+11 |
| | | | | --styleCheck:error | ||||
* | fixes #11405 | Araq | 2019-06-05 | 1 | -0/+2 |
| | |||||
* | list available options for --cpu, --os and --cc if the passed option is not ↵ | Ico Doornekamp | 2019-05-25 | 1 | -1/+6 |
| | | | | found (#11328) | ||||
* | fixes #11306 | Araq | 2019-05-24 | 1 | -4/+19 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 1 | -1/+1 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | fixes #11202 | Andreas Rumpf | 2019-05-14 | 1 | -9/+8 |
| | |||||
* | Merge pull request #11201 from nim-lang/araq-fixes-11200 | Andreas Rumpf | 2019-05-08 | 1 | -1/+1 |
|\ | | | | | fixes 11200 | ||||
| * | typo | Araq | 2019-05-08 | 1 | -1/+1 |
| | | |||||
* | | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -4/+4 |
|/ | |||||
* | nicer 'CC' output messages | Araq | 2019-05-06 | 1 | -1/+1 |
| | |||||
* | remove the restriction that module names need to be unique per Nimble… ↵ | Andreas Rumpf | 2019-04-20 | 1 | -3/+4 |
| | | | | | | | | | | (#11064) * remove the restriction that module names need to be unique per Nimble package * make tests green again * use the 'response' linker file also on Unix in order to fix megatest | ||||
* | improvements on the hot code reloading support (#10892) | Viktor Kirilov | 2019-03-23 | 1 | -6/+11 |
| | | | | | | | | * calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON * dynamically linking to the runtime for VS when HCR is on - binaries are smaller * compilerProcs are also called using the _actual direct version within the module they are defined (system)! * updated comments & goals * handling VS-compatible compilers on Windows in a cleaner way * now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated | ||||
* | compiler/extccomp: use getNimcacheDir for writing build instruction (#10772) | alaviss | 2019-03-04 | 1 | -1/+1 |
| | | | | | | | | `conf.nimcacheDir` might be empty during build, which results in the json build instructions being generated in the current directory. This commit fixes the problem by using getNimcacheDir, which generates a valid nimcacheDir should it be empty. Fixes #10768 |