rules_foreign_cc
rules_foreign_cc copied to clipboard
Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
CMake really needs openssl as a dependency. The current rules to bootstrap cmake don't include this dependency and so this relies on the compilation environment having openssl development headers /...
By interfaces, I mean the variables input to the make commands, how they are translated from the rule args (eg. INSTALLDIR), make commands output directory structure expected by bazel. Roughly,...
While building xz library with configure_make on macOS BigSur I got the following error: ``` bash _____ BEGIN BUILD LOGS _____ Bazel external C/C++ Rules. Building library lzma Environment:______________ TMPDIR=/var/folders/9d/7jyrhm613cqg7slstfx8hy540000gn/T/...
The linux kernel uses [Kbuild](https://www.kernel.org/doc/html/latest/kbuild/kbuild.html) for its build process. This is typically run by a simple wrapper Makefile which does something like: > default: > $(MAKE) -C $(KERNELDIR) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)...
When running [configure_make](https://bazelbuild.github.io/rules_foreign_cc/0.4.0/configure_make.html) I noticed the builds were unbelievably slow in comparison to linux. This seems to be caused by the [symlink_to_dir](https://github.com/bazelbuild/rules_foreign_cc/blob/821d1efd24f4605fc96dd7f3f8db31c44d017368/foreign_cc/private/framework/toolchains/windows_commands.bzl#L121-L159) function or some other call that walks the...
This also tracks the resolution of https://github.com/bazelbuild/continuous-integration/issues/1204. If this PR turns green then that issue is considered resolved.
With this change, `rules_foreign_cc` respects the value from `--xcode_version` and doesn't rely on the user's default Xcode being the one that's used.
I would like basically the same thing as `postfix_script` argument, but for running a script before the call to make. `prefix_script`? Is there a way to do that?
Hopefully a stepping stone towards getting a working build of autoconf
[rules_foreign_cc_bug.tar.gz](https://github.com/bazelbuild/rules_foreign_cc/files/8876161/rules_foreign_cc_bug.tar.gz) I got known error when using rules_foreign_cc. Have any solutions for this bug?