zadlg / rules_gnumake Goto Github PK
View Code? Open in Web Editor NEWBuck2 toolchain for GNU Make.
License: Apache License 2.0
Buck2 toolchain for GNU Make.
License: Apache License 2.0
Similar to rules_foreign_cc
in Bazel, we must also provide users with the following attributes for the gnumake
rule:
out_lib_dir
out_shared_libs
out_static_libs
out_include_dir
out_binaries
out_binary_dir
Sometimes, Makefile
isn't named Makefile
.
Right now, Makefile
s must create ${PREFIX}
. This is not convenient.
We should be able to preemptively create this install directory, since it belongs to the gnumake
rule.
Our rule should provide Buck with the CXX providers such as:
LinkerInfo
PicBehavior
RunInfo
provider declares a rule as runnable.
Right now, our GNU Make binary is an artifact from a rule that isn't executable.
It would be more correct if it was. It would also allow us to use it as the exe
argument of actions.run
.
Platform specific compiler flags may be useful.
See cxx_library
>platform_compiler_flags
.
It would be nice if we could automatically generate the documentation of gnumake
using the doc
attributes from all of its attributes.
The gnumake
rule should return one or several custom providers with additional information regarding its output.
For instance, it may be helpful to provide users with the path to the install directory, the flags/targets that have been used. etc.
We need to setup a GitHub Action job that runs on macOS for testing the repository and the integration.
We should use buildifier
to check the syntax and the formatting of our Starlark files.
We're going to fill CFLAGS
using both compiler flags given by the user and flags from the current cxx toolchain.
Right now, make -C <src_dir>
is made. However, this may lead to unexpected behaviors since it will write files to the source tree.
Instead, we should first symlink all sources, and then work on these symlinks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.