jheaff1
3b0cf7dacb
Faciliate usage of jom ( #932 )
2022-06-22 19:35:28 +00:00
jheaff1
2f7658cf02
Speed up CI by preventing the python2 build from running tests ( #930 )
2022-06-22 20:27:10 +01:00
george-enf
b1e65fec98
fix replace_in_files for file names with spaces ( #923 )
2022-06-19 13:59:50 +00:00
kiron1
f63eefe720
Fix small typos in doc and comments ( #924 )
2022-06-17 18:05:28 +01:00
James Sharpe
9e70029a5c
zlib 1.2.12 ( #916 )
2022-05-27 19:44:40 +00:00
James Sharpe
c4d307b707
Use bazel_skylib 1.2.1 ( #920 )
2022-05-27 19:17:30 +00:00
James Sharpe
0cdd7132b5
Update cmake versions ( #918 )
2022-05-27 18:16:41 +00:00
James Sharpe
f53188cb8d
Ninja 1.11.0 ( #919 )
2022-05-27 16:55:59 +00:00
James Sharpe
09fbf0fb1c
Don't load examples dependencies from main WORKSPACE ( #917 )
2022-05-27 17:41:01 +01:00
graywolf-at-work
5d391cfe9d
Make tests pass on busybox ( #912 )
...
-t option to ln is not defined under POSIX and (at least) busybox does
not implement it. Rewrite the code to use only POSIX options to ln.
2022-05-26 22:24:17 +00:00
Roman Kashitsyn
324dbd13cf
fix: expose CMAKE env variable from cmake toolchains ( #911 )
...
This change updates the definitions of cmake toolchains to expose CMAKE
environment variable that makes it easier to integrate the toolchain
with other build rules (e.g., with rules_rust).
2022-05-18 21:20:24 +00:00
Keith Smiley
78c5f77385
Update to new rules_apple release ( #906 )
...
I created a release just to get past this issue with bazel HEAD
2022-05-02 10:28:53 -07:00
Florian Weikert
c57b55f2f6
Use an unreleased version of rules_apple. ( #899 )
...
rules_apple 0.34.0 is incompatible with Bazel @ HEAD since it does not contain df98f37ea7
Consequently, we need to use a newer, yet unreleased version to fix https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2443#7266607a-bd84-4863-abe9-6543530aeed3
Eventually we should wait for a new release and use it instead.
2022-04-20 22:30:31 +00:00
Keith Smiley
f9458a5e9a
Fix ninja bootstrap on macOS 12.3+ ( #900 )
2022-04-20 23:24:05 +01:00
Florian Weikert
35c36a5882
Upgrade rules_apple to 0.34.0 ( #896 )
2022-04-19 20:51:09 +01:00
Thomas
cac46994c9
Pass '-undefined error' non sysroot ldflag on macOS ( #894 )
2022-04-19 16:54:23 +01:00
UebelAndre
e7eebefe88
Release `v0.8.0` docs ( #893 )
2022-04-18 05:57:05 -07:00
UebelAndre
e208deeae3
Release `v0.8.0` ( #892 )
2022-04-18 05:49:48 -07:00
Keith Smiley
e0590b50e4
Set CMAKE_OSX_ARCHITECTURES to target architecture ( #891 )
2022-04-16 17:19:01 +01:00
James Sharpe
4aa243d4db
Fixups to use of Labels to support bzlmod ( #872 )
2022-04-07 16:44:38 +01:00
James Sharpe
9fc3411bb5
Add current_*_toolchain rules to allow passing current toolchain inst… ( #843 )
...
Co-authored-by: UebelAndre <github@uebelandre.com>
2022-03-14 14:06:22 +00:00
James Sharpe
f54068e889
Add 3.22.2 and 3.21.5 ( #875 )
2022-02-20 17:06:56 -08:00
jheaff1
33bce66655
Absolutise path to cmake crosstool file ( #870 )
2022-02-09 23:15:54 +00:00
Fabian Meumertzheim
26eadbcd0d
Replace `escape_locations` with `escape_locations_and_make_variables` everywhere ( #861 )
...
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2022-02-09 22:34:12 +00:00
jheaff1
470a78047e
Remove unused BUILD.perl.bazel file ( #871 )
...
Co-authored-by: UebelAndre <github@uebelandre.com>
2022-02-09 21:56:02 +00:00
James Sharpe
8f6f272b4f
Pin buildifier version ( #873 )
2022-02-09 21:52:38 +00:00
Fabian Meumertzheim
f0047ba2f5
Do not set user defined env variables twice for (c)make ( #860 )
2022-02-08 23:05:33 +00:00
Fabian Meumertzheim
50ee9979e6
Remove arbitrary limits in Starlark "while" loops ( #862 )
2022-01-21 21:05:18 +00:00
James Sharpe
e24d9cecfe
Allow all source files to be modified in configure_make when using configure_in_place = True ( #856 )
2022-01-10 09:48:37 +00:00
James Sharpe
2f9965077f
bzlmod fix ( #855 )
2022-01-07 09:35:19 +00:00
James Sharpe
44ad191858
Update bazelignore files ( #854 )
2022-01-06 21:13:25 +00:00
James Sharpe
893db6a2e3
Release v0.7.1 ( #852 )
2022-01-03 11:54:19 +00:00
James Sharpe
ae4ff42901
More quoting fixes for handling paths with spaces ( #850 )
2022-01-02 16:42:56 +00:00
James Sharpe
5f37b4245b
CMake 3.22.1 ( #841 )
2022-01-01 21:46:02 +00:00
James Sharpe
3c14ef4a73
Initial bzlmod support ( #839 )
2022-01-01 21:07:29 +00:00
James Sharpe
818cdb197e
Fix quoting to support spaces in paths with files that need replacements ( #842 )
2022-01-01 20:48:37 +00:00
jheaff1
7f8183f205
use rules_perl toolchain for Windows build of OpenSSL ( #846 )
...
* use rules_perl toolchain for Windows build of OpenSSL
* Update repositories.bzl
* Update openssl_repositories.bzl
* Update openssl_repositories.bzl
Co-authored-by: UebelAndre <github@uebelandre.com>
2021-12-30 17:07:10 +00:00
UebelAndre
aa61b9ad8b
Minor cleanup for examples ( #835 )
...
* Remove `BUILD` files from source globs in examples
* Updated example urls
2021-12-30 16:37:31 +00:00
James Sharpe
e3a12c7d0f
Add runfiles to build_tools ( #844 )
2021-12-19 21:23:30 +00:00
James Sharpe
029314b890
Fix typo in comment ( #840 )
2021-12-18 19:43:32 +00:00
James Sharpe
26ccca83b8
Add toolchain types for autotools tools ( #816 )
2021-12-17 23:27:10 +00:00
UebelAndre
f76d9281bd
Fixed `0.7.0` docs ( #838 )
2021-12-14 12:48:32 +00:00
Fabian Meumertzheim
40b03b42eb
Adapt tests to new cc_binary file extension on macOS ( #834 )
...
As of https://github.com/bazelbuild/bazel/pull/14369 , shared libraries
produced with cc_binary on macOS with the auto-configured toolchain use
the correct file extension for dynamic libraries
(.dylib rather than .so). This requires adapting a test.
2021-12-06 15:50:55 -08:00
Eric Astor
ebfeaa08f8
Support propagation of `includes` ( #826 )
2021-12-04 21:29:47 +00:00
UebelAndre
bdb0d9cbb7
Added `v0.7.0` docs ( #829 )
2021-12-03 17:18:25 +00:00
UebelAndre
605a80355d
Release `v0.7.0` ( #827 )
2021-12-03 16:53:29 +00:00
UebelAndre
66f92457fd
Fixed docs ( #828 )
2021-12-03 08:21:31 -08:00
Fabian Meumertzheim
0cf751c053
Bootstrap make reproducibly ( #817 )
...
* Make cc_toolchain_utils.bzl more reusable
By using getattr, the helper functions in this file can be reused in
rules that do not define all of the framework attributes, e.g. bootstrap
rules.
* Bootstrap make reproducibly on Linux and macOS
Uses the Bazel C/C++ toolchain to bootstrap make and ensure that the
resulting binary contains no absolute and thus non-hermetic paths.
Building make reproducibly helps with remote caching and removes the
dependency on a C compiler installed on the host.
2021-11-30 15:58:53 +00:00
Yesudeep Mangalapilly
a2f1e5d8c3
Adds toolchain for freebsd. ( #794 )
...
* Adds toolchain for freebsd.
* Address buildifier lint warnings.
* Use /usr/bin/env bash
* Leave the Linux-specific shebang alone.
* Adds note about Bazel CI issue requesting for FreeBSD support and experimental status.
* Fix typo.
* Clean up trailing whitespace.
* Updates bazel-skylib version for tests to pass on FreeBSD.
* Update foreign_cc/repositories.bzl
Co-authored-by: UebelAndre <github@uebelandre.com>
2021-11-29 10:54:06 +00:00
Fabian Meumertzheim
f61ce5d10b
Pass toolchain and user env variables to make invocation ( #777 )
...
* Pass toolchain and user env variables to make invocation
* Rename configure --> make
* Add integration test coverage for make flag passing
This requires making the make_simple Makefile more realistic by
* using CXX and forwarding it to the wrapper;
* using CXXFLAGS instead of CXX_FLAGS and not overwriting its contents.
2021-11-27 07:52:54 -08:00