~ salmonella-environment-setup (master) 2cc3195f0a9cb6065ac4d24e2d32572249c0fec5
commit 2cc3195f0a9cb6065ac4d24e2d32572249c0fec5 Author: Mario Domenech Goulart <mario@parenteses.org> AuthorDate: Tue Aug 10 22:06:28 2021 +0200 Commit: Mario Domenech Goulart <mario@parenteses.org> CommitDate: Tue Aug 10 22:06:31 2021 +0200 Add conf/common/tcc.scm Add common settings for jobs that use TCC as C compiler. Thanks to Vasilij Schneidermann for providing the list of eggs that are compiled with -c++. diff --git a/conf/chicken-5-tcc-no-cache.conf b/conf/chicken-5-tcc-no-cache.conf index 3b7b68e..2298ac0 100644 --- a/conf/chicken-5-tcc-no-cache.conf +++ b/conf/chicken-5-tcc-no-cache.conf @@ -5,8 +5,6 @@ (else)) (load-relative "./common/chicken-5.scm") - -(c-compiler "tcc") -(c++-compiler "tcc") +(load-relative "./common/tcc.scm") (keep-repo? #f) diff --git a/conf/chicken-5-tcc.conf b/conf/chicken-5-tcc.conf index f4a7ab4..e985b19 100644 --- a/conf/chicken-5-tcc.conf +++ b/conf/chicken-5-tcc.conf @@ -5,6 +5,4 @@ (else)) (load-relative "./common/chicken-5.scm") - -(c-compiler "tcc") -(c++-compiler "tcc") +(load-relative "./common/tcc.scm") diff --git a/conf/common/tcc.scm b/conf/common/tcc.scm new file mode 100644 index 0000000..53f12b9 --- /dev/null +++ b/conf/common/tcc.scm @@ -0,0 +1,7 @@ +(skip-eggs + (append (skip-eggs) + ;; Eggs compiled with -c++ (tcc does not support C++) + '(mdh rbf taglib))) + +(c-compiler "tcc") +(c++-compiler "tcc")Trap