John Sun
a8421af4cc
fix: let 'toolchain' attr be selectable ( #1321 )
2024-11-18 22:18:27 +00:00
Javier Maestro
9edaefe13c
fix: move all bazelbuild links to bazel-contrib ( #1315 )
2024-11-06 15:35:23 +00:00
Ed Schouten
3b0ebe8094
Remove deprecated use of incompatible_use_toolchain_transition ( #1314 )
2024-11-05 15:32:09 +00:00
Mike Lundy
77d4483fad
correct overeager slash conversion on windows ( #1285 )
2024-11-01 23:21:35 +00:00
Jorge Villatoro
d03f7ae79d
fix: builds using preinstalled_make no longer break during pkgconfig ( #1307 )
2024-11-01 23:12:39 +00:00
Mike Lundy
7729ee38f3
fix undefined variables in the wrap_outputs script ( #1278 )
2024-11-01 16:29:46 +00:00
Matt Smith
6e542304f8
add foreign_cc deps to cmake prefix path ( #1311 )
2024-11-01 15:41:51 +00:00
Aaron Michaux
e67c45c8db
Fix for #1271 , set_file_prefix_map attribute ( #1288 )
2024-09-19 16:28:55 +01:00
Michael Allwright
b25485b26d
Support location expansion and make variable substitution in CMake cache entries ( #1272 )
2024-09-05 13:58:37 +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
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
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
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
df265bb33a
Revert "cmake: use variable expansion on generator args" ( #1219 )
2024-06-18 15:26:29 +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
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
Michael Kaufmann
99d018f059
Use a sed delimiter that is unlikely to appear in the input ( #1184 )
2024-03-22 21:36:00 +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
Misha Zharov
4831827e29
Increase resiliency of runnable_binary
( #1134 )
2024-02-01 20:21:01 +00:00
Mike Lundy
1ddd0ce6b5
Add make 4.4.1 ( #1167 )
2024-01-26 00:31:47 +00:00
John Sun
c5d7942243
Fix tool path for nmake ( #1165 )
2024-01-25 23:27:52 +00:00
Matt Smith
930dcb97b1
Build msvc cmake with prebuilt cmake ( #1148 )
2024-01-12 21:37:09 +00:00
James Sharpe
18dcce582f
Use gazelle to generate bzl_library targets ( #1127 )
2023-12-21 10:42:09 +00:00
tanx
51152aac9d
set CC and CXX and their flags in meson ( #1098 )
2023-12-11 09:35:14 +00:00
Caleb Zulawski
0258d350a9
Advertise CcInfo provider ( #1118 )
...
Co-authored-by: Caleb Zulawski <caleb.zulawski@caci.com>
2023-11-10 09:41:52 +00:00
Attila Oláh
bf8a7c2951
Set an empty tools_data attribute for boost ( #1112 )
2023-10-28 23:11:02 +01:00
James Sharpe
ef3031e387
Expand locations and make variables in configure options ( #1102 )
2023-10-14 19:49:27 +00:00
James Sharpe
e3003dd17f
Register pkgconfig by default ( #1104 )
2023-10-14 19:27:25 +00:00