7 Commits
Author SHA1 Message Date
Rye 8514c9421d Add common apply_patch function 2024-11-19 00:47:54 -08:00
Rye Mutt 14507c6276 Fix CXXSTD_REGEXP to work with msvc-style flags 2024-08-09 13:46:55 -04:00
Nat Goodspeed deac01ad00 Extend set_target function to add -DCMAKE_OSX_DEPLOYMENT_TARGET=... 2023-12-19 10:31:53 -05:00
Nat Goodspeed 42b2d069da Add set_target shell function to functions.
set_target scans existing switches for -mmacosx-version-min=VVVV and adds (or
replaces) -target x86_64-apple-macosVVVV.

This is to address build systems that infer a default -target and ignore
-mmacosx-version-min.
2023-11-15 16:56:10 -05:00
Nat Goodspeed 4a04ba2f6d SL-18837: When indirectly accessing $1, et al., careful past $9!
"$10" is "$1" plus "0". Have to use "${10}" to get the next positional.
2023-04-18 17:28:42 -04:00
Nat Goodspeed 985f58f4c5 SL-18837: Refactor shell functions.
Express everything in terms of _find, which does the only looping, and a pair
of _test_sw and _test_re functions that are themselves passed to _find,
_remove and _replace to differentiate equality test from regexp match.
2023-04-18 17:01:33 -04:00
Nat Goodspeed 1eeb4f474f SL-18837: Extract 'functions' from 'convenience'; add remove_cxxver
and remove_match. In particular, though, it turns out to be important not to
specify -std=c++NN to the classic C compiler.
2023-04-18 14:06:32 -04:00