2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-12-04 08:02:31 +00:00
Commit graph

634 commits

Author SHA1 Message Date
Michael Allwright b25485b26d
Support location expansion and make variable substitution in CMake cache entries (#1272) 2024-09-05 13:58:37 +00:00
Xùdōng Yáng 780f59568b
Bazel CI config: explicitly enable workspace wherever Bzlmod is disabled (#1276) 2024-09-04 23:15:48 +00:00
Mike Lundy 1d8e362a22
runnable_binary: avoid using > on the output file (#1270)
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2024-09-04 18:31:03 +00:00
Dmitry Mikhin c939c13416
Fix for #1239 (#1264) 2024-09-04 17:03:31 +01:00
Dmitry Mikhin fe64ef02c0
Bump APR version to 1.7.5. Make CI/CD green again. (#1273) 2024-09-04 17:02:11 +01:00
James Sharpe 24e1bcfdeb
Remove dependencies on rules_cc (#1269) 2024-08-28 11:23:04 +01:00
Michael Allwright d9367d28ad
Merge user provided CPPFLAGS with build system CPPFLAGS (#1261) 2024-08-14 16:18:09 +00:00
John Sun 4d2cb3e78d
fix meson tests for macOS CI (#1260) 2024-08-14 09:26:35 +01:00
James Sharpe 26536e4d83
Update BCR presubmit (#1259) 2024-08-13 20:05:00 +00:00
Mike Lundy 6cc82e7528
autotools: return darwin as os instead of cmake in xcompile (#1258) 2024-08-13 11:02:06 +00:00
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