98f4d6ed67
update example for setup_clang_ubuntu
2024-07-12 06:47:43 -07:00
f2cb32bf2c
rewrite ubuntu clang acquisition function
2024-06-12 17:31:33 -07:00
d5f3f14d72
merge compatibility lines
...
RIP meaningful last-modified dates
2024-03-26 15:08:14 -07:00
eaa94d66b9
localize iterator variables
...
see commit 7d895d2
2022-03-06 13:13:40 -08:00
a2ae5a212d
rename ~/.-shrc
to ~/.shrc
...
the reason for the hyphen is that i was originally concerned
about random shells executing the file when i didn't want them to.
back then, i was only targetting zsh and bash, and therefore
`~/.-shrc` was not yet suitable for any other shells.
nowadays, `~/.-shrc` is has better shell compatibility,
and i'm not actually aware of any shells that would execute
`~/.shrc` by default -- `$ENV` is typically required to be set.
2021-10-29 15:44:31 +02:00
5382da0605
always use local var=
instead of local var
...
blame zsh
2021-09-30 08:43:40 -07:00
112a7a6d63
flesh out the compatibility table
2021-09-23 06:48:05 -07:00
7ae8c5681d
overhaul script sourcing and dependency system
2021-08-02 13:48:46 -07:00
fb3e50f168
remove old TODO
2021-08-01 08:29:14 -07:00
7aeda2d105
restore old examples for compile function
2021-08-01 08:23:00 -07:00
2c1220e6d1
update and document setup_clang_ubuntu
2021-08-01 08:22:39 -07:00
fd83d41ab2
add and restore some docstrings
2021-07-30 17:58:07 -07:00
04e890db1b
first pass over sh: improve compatibility, fix stuff
2021-07-29 05:57:32 -07:00
5eaf74401e
overhaul
2021-07-29 00:37:35 -07:00
4adbbb0e27
a bunch of minor stuff before i start refactoring
2021-07-22 00:30:05 +02:00
f6be7c50c4
disable these includes i rarely use
2020-08-26 08:38:14 +02:00
9273a8b2ad
update clang
2020-06-25 08:19:56 -07:00
7582a84356
enable more optimizations in release flags
2019-07-27 08:02:19 -07:00
d71e77e548
fix some annoying quirks with compilation flags
2019-05-26 20:53:44 +02:00
a083f210b2
fix bug with parent directories in compile script
2019-05-21 10:33:39 +02:00
c7f26c3120
support newer versions of MSVC
...
also fix cygwin path-handling
2019-04-29 20:49:18 +02:00
0db9e3719f
minor tweaks
2019-03-03 19:56:19 +01:00
2a2ce28dd0
compile script improvements
...
* append clang_flags individually instead of becoming one amalgamate argument
* squeeze MSVC includes
* ignore worthless MSVC deprecation warnings
* always color output
2018-09-14 17:34:11 +02:00
4b696cd777
update llvm toolchain setup to 6.0
2018-02-20 11:59:11 +01:00
8854416139
gcc doesn't like -mcpu so i just can't win
2017-11-13 21:17:28 +00:00
15fda1d96a
clang doesn't like this so use -mcpu instead
2017-11-07 22:40:29 +00:00
f1c3609ec1
tweak C flags so stuff works properly
2017-11-02 15:14:08 +00:00
dc3d721492
update llvm version in script
2017-10-17 02:18:02 +00:00
243675185f
fix maybe_include invocations
2017-10-13 12:26:48 +00:00
0d37a2bd61
experimenting with more warnings
2017-10-05 12:08:08 +00:00
9a1dc4d488
add comments to compile
...
i know you're not supposed to comment *what* you're doing
but
this is bash/zsh
it can't be helped
2017-10-05 10:12:44 +00:00
803ffd926d
specify which warnings we're disabling
2017-05-17 21:27:29 +00:00
8243f9be77
fix quirks with specifying msvc
2017-05-17 21:26:57 +00:00
79366bed63
use MSVC includes with clang-msvc
2017-05-17 21:12:21 +00:00
b63f1ba653
do debug builds by default
2017-05-17 20:27:17 +00:00
341b7613cc
further cleanup
2017-05-17 20:21:25 +00:00
719ff3374b
clean up separator-printing code
2017-05-17 20:11:23 +00:00
fba7104526
use the right linker with clang-msvc
2017-05-10 04:51:59 +00:00
72b0136367
disable a couple flags for any clang
2017-05-05 01:46:08 +00:00
d6cb7ea4dc
failed globbing is not (always) an error
2017-05-05 01:37:01 +00:00
4065a72d4a
cleanup and tweaks
2017-05-05 01:32:57 +00:00
f2a34d9b16
add ad-hoc MSVC support
2017-05-04 15:29:39 +00:00
57c483ec48
don't use tcmalloc with asan
2017-05-03 08:45:38 +00:00
37583090f4
omit warning flags from echo
2017-05-03 08:01:48 +00:00
94b32e0a26
echo compiler invocation to stdout instead
2017-04-27 23:17:30 +00:00
787cf81258
clean up tcmalloc stuff
2017-04-02 03:47:27 -07:00
60373d2384
better handle library flags and windows-only stuff
2017-04-02 03:37:49 -07:00
64dddf592b
compile script tweaks for windows
2017-04-02 02:17:40 +00:00
50feb42b6a
use ansi escapes on windows and fix dumb bug
2017-04-01 22:27:53 +00:00
4e7caf55ae
add a basic hardened mode
2017-03-31 03:49:47 +00:00