Commit Graph
15 Commits
Author SHA1 Message Date
Nigel Tao 4e85543d9c Change default -ccompilers to "clang,gcc"
Updates #62
2021-12-30 19:29:44 +11:00
Nigel Tao 592560e0f1 Upgrade default clang C compiler from v5 to v9 2020-08-21 14:18:26 +10:00
Nigel Tao d5d4da0ab6 Add some "// --------" section-break comments 2020-06-05 00:10:31 +10:00
Nigel Tao 8cd39fc1dd Remove -cformatter flag 2020-06-05 00:08:05 +10:00
Nigel Tao 12b0f4c0bc Change the default -cformatter to dumbindent
A follow-up commit will remove the -cformatter flag entirely.

Formatting the generated C code is now a small fraction of where "wuffs
gen" spends its time.

----
$ # Before.
$ time wuffs gen > /dev/null
real	0m0.932s
user	0m0.837s
sys	0m0.187s

$ # After.
$ time wuffs gen > /dev/null
real	0m0.186s
user	0m0.170s
sys	0m0.069s

$ time wuffs gen -cformatter= > /dev/null
real	0m0.184s
user	0m0.170s
sys	0m0.059s
----
2020-06-04 23:59:20 +10:00
Nigel Tao 20c474b32a Add a genlinenum flag 2018-12-28 16:26:21 +11:00
Nigel Tao dccf0c60d7 Add a "wuffs genrelease" command 2018-06-16 11:47:35 +10:00
Nigel Tao ba98b04307 Add an iterscale flag 2018-05-04 17:17:59 +10:00
Nigel Tao 06ff3d3369 Add a cformatter flag
Fixes #10
2018-04-13 13:13:07 +10:00
Nigel Tao abdf46045f Upgrade to clang 5.0
The spurious changes to gen/ will hopefully be fixed by a clang-format
5.x revision.
2018-03-21 13:08:16 +11:00
Nigel Tao d92e90d4f0 Move func WuffsRoot to package generate 2017-12-28 11:02:49 +11:00
Nigel Tao 9867cd5e3a Generate inline headers for use declarations 2017-12-02 14:54:58 +11:00
Nigel Tao 8e3b5cce5e Rename PUFFS to WUFFS, part 9 of N 2017-11-30 18:10:51 +11:00
Nigel Tao 79a94558be Rename PUFFS to WUFFS, part 5 of N 2017-11-30 16:37:20 +11:00
Nigel Tao a0fd42f6d4 Add a puffs/cmd/commonflags package. 2017-11-04 11:09:14 +11:00