Commit Graph

624 Commits

Author SHA1 Message Date
Matt Smith 979172f2fc
add support for cc_shared_library deps (#1243) 2024-08-13 11:52:54 +01:00
Michael Allwright d70efd6d8c
Fix `_get_make_variables` ignoring user environment variables (#1230)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-08-12 23:08:34 +00:00
Mike Lundy 3ffc4bda69
cmake: handle builds that use static toolchain libs (#1256) 2024-08-12 21:49:55 +00:00
Mike Lundy 10d47d4421
configure_make: support autotools cross-compilation (#1247) 2024-08-12 22:07:54 +01:00
Thomas Lam 06e6964403
runnable_binary: use package_relative_label (#1253)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-08-12 15:41:56 +00:00
Michael Allwright 2375e1ddd6
Do not clobber user environment variables in Meson script (#1255) 2024-08-10 08:41:17 +01:00
Thomas Lam 509b5aa6d6
Portable copy_dir_contents_to_dir (#1246)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-08-08 11:22:40 +00:00
Michael Allwright af66969246
Add setup_args and run `meson setup` explictly (#1223)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-08-08 10:19:19 +00:00
James Sharpe d58cdf65cd
Upgrade default ninja version to 1.12.1 (#1248) 2024-08-08 09:51:41 +00:00
James Sharpe 35bf65674e
Fix macOS CI (#1251)
Relates to error seen in #1244
2024-08-08 09:06:50 +00:00
James Sharpe 122d83cd7d
Revert "Apply expand_locations_and_make_variables to cache_entries" (#1250) 2024-08-07 23:04:24 +01:00
Tom Birch 3debc17d85
Apply expand_locations_and_make_variables to cache_entries (#1240) 2024-08-02 09:03:59 +01:00
Misha Zharov fb209674f3
Re-export runfiles env vars so that dependencies can use them (#1235) 2024-07-26 09:34:57 +01:00
James Sharpe 9d5727d5e5 fix: attempt to fix release action by bumping workflow version 2024-07-03 22:57:37 +00:00
Andrew Katson 0ed9aaa682
Add in custom glib patch (#1211)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-06-24 19:59:53 +00:00
James Sharpe df265bb33a
Revert "cmake: use variable expansion on generator args" (#1219) 2024-06-18 15:26:29 +00:00
Mike Lundy d48f8b5c41
chore(deps): cmake/ninja: add new versions (#1212) 2024-06-14 20:45:57 +00:00
Guillaume Maudoux d2815388f8
Update framework.bzl to account for externalIncludes (#1215)
During our migration to Bazel 7, some of our cmake() rules broke. It
turns out there is a new field in CcCompilationContext to account for
external includes, as opposed to internal system_includes.

See
a6ef0b341a
2024-06-14 21:35:24 +01:00
James Sharpe c15a5201f5
Revert inadvertent direct commit to main (#1213) 2024-06-11 18:01:59 +00:00
James Sharpe 37383aaeba
fix: allow cmake and ninja versions to be set 2024-06-11 15:24:13 +01:00
John Sun aec70d3d1a
fix: path expansion on windows (#1207) 2024-06-11 15:22:21 +01:00
John Sun 546e06e654
fix: change cygpath to mixed mode (#1204) 2024-05-29 17:09:29 +01:00
Daniel Wagner-Hall 7ce6200955
Exclude filenames with spaces from cmake toolchains (#1199) 2024-04-30 15:48:08 +01:00
Donald Stufft 73f7de5a07
Make pkgconfig Hermetic (#1069)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-04-21 23:07:44 +00:00
Matt Smith 6484d40492
adjust relative msvc paths (#1180)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-04-21 22:37:14 +00:00
James Sharpe 346025aa91
chore(deps): Add ninja 1.12.0 and latest versions of cmake (#1192) 2024-04-12 11:23:17 +00:00
James Sharpe f055b5b586
Revert "fix(docs): Port docs generation to bzlmod to fix user facing doc generation" (#1194) 2024-04-12 12:14:48 +01:00
James Sharpe 50b7d9bc94
fix(docs): Port docs generation to bzlmod to fix user facing doc generation (#1193) 2024-04-11 23:38:00 +01:00
Laurence Tews 5c34b7136f
Fix - Copy Dir ignores hidden files on macOS (#1188) 2024-04-06 21:15:15 +00:00
Gowroji Sunil 3d3d646016
Update rules_apple (#1190) 2024-04-05 16:25:40 +01:00
Michael Kaufmann 99d018f059
Use a sed delimiter that is unlikely to appear in the input (#1184) 2024-03-22 21:36:00 +00:00
Dillen Meijboom 86936d7b5b
Add aarch64 to prebuild library constraints for macos (#1176) 2024-03-13 19:32:51 +00:00
thomas cecdab091e
Fix #1161: set the `CMAKE` environment variables for prebuilt toolchains. (#1163) 2024-03-13 14:29:36 +00:00
Matt Smith 5547abc63b
Cater for different drive letters when normalizing path (#1169)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-02-20 09:34:17 +00:00
Gowroji Sunil 9949fce954
Add j2objc fragment to rules (#1175) 2024-02-20 09:25:40 +00:00
Gowroji Sunil 15da39ad4d
Fixes the CI failure at Bazel@HEAD (#1173) 2024-02-16 06:19:09 +00:00
Misha Zharov 25ed4c48ce
Fix windows examples CI by upgrading TLS trust store (#1171) 2024-02-15 10:15:21 +00:00
Misha Zharov 4831827e29
Increase resiliency of `runnable_binary` (#1134) 2024-02-01 20:21:01 +00:00
James Sharpe d873cace68
Skip min supported version tests in downstream pipeline
This duplicates testing of other tests and isn't configured correctly to be run in the downstream pipeline so skip these targets.
2024-01-28 23:42:41 +00:00
Mike Lundy 1ddd0ce6b5
Add make 4.4.1 (#1167) 2024-01-26 00:31:47 +00:00
James Sharpe be11c56219
chore(deps): Bump rules_apple. Fixes #1156 (#1166) 2024-01-25 23:54:35 +00:00
John Sun c5d7942243
Fix tool path for nmake (#1165) 2024-01-25 23:27:52 +00:00
James Sharpe c2e097455d
Update CMake versions (#1159) 2024-01-12 23:45:52 +00:00
James Sharpe 0461090a38
Simplify the toolchain registration for bzlmod (#1105) 2024-01-12 22:00:28 +00:00
Matt Smith 930dcb97b1
Build msvc cmake with prebuilt cmake (#1148) 2024-01-12 21:37:09 +00:00
Misha Zharov a87e7542ee
Add mirrors to external repositories (#1153) 2024-01-04 07:03:54 +00:00
James Sharpe ddda554d2a
Remove explicit mention of bazel 4.x support (#1146) 2023-12-21 11:26:27 +00:00
James Sharpe ff18c0a33a
Update to ubuntu 20.04 on RBE (#1145) 2023-12-21 11:15:44 +00:00
James Sharpe b8c5967a1b
Use platform specific configs in bazelrc to reduce scope of settings (#1144) 2023-12-21 11:01:32 +00:00
James Sharpe 18dcce582f
Use gazelle to generate bzl_library targets (#1127) 2023-12-21 10:42:09 +00:00