From 07a986afa169c6277a1b7c1be0f49b29b5ed228a Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 3 Sep 2019 18:43:57 +0200 Subject: [PATCH] disable IC and the SQLite dependency for version 1 --- compiler/incremental.nim | 2 +- compiler/nim.cfg | 2 ++ testament/categories.nim | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/incremental.nim b/compiler/incremental.nim index 6cc0850201..8b3a9bf556 100644 --- a/compiler/incremental.nim +++ b/compiler/incremental.nim @@ -10,7 +10,7 @@ ## Basic type definitions the module graph needs in order to support ## incremental compilations. -const nimIncremental* = true # defined(nimIncremental) +const nimIncremental* = defined(nimIncremental) import options, lineinfos diff --git a/compiler/nim.cfg b/compiler/nim.cfg index b9480007f0..db6e4f74fc 100644 --- a/compiler/nim.cfg +++ b/compiler/nim.cfg @@ -7,6 +7,8 @@ define:nimcore #define:nimIncremental #import:"$projectpath/testability" +define:staticSqlite + @if windows: cincludes: "$lib/wrappers/libffi/common" @end diff --git a/testament/categories.nim b/testament/categories.nim index d5cf79e3a5..6e885966e1 100644 --- a/testament/categories.nim +++ b/testament/categories.nim @@ -658,7 +658,8 @@ proc processCategory(r: var TResults, cat: Category, compileRodFiles(r, cat, options) runRodFiles(r, cat, options) of "ic": - icTests(r, testsDir, cat, options) + when false: + icTests(r, testsDir, cat, options) of "js": # only run the JS tests on Windows or Linux because Travis is bad # and other OSes like Haiku might lack nodejs: