commit | c1e7f2a81d7f8990b8146230c55954abc4b96320 | [log] [tgz] |
---|---|---|
author | Josh Conner <joshconner@google.com> | Thu Apr 13 16:37:37 2017 -0700 |
committer | Josh Conner <joshconner@google.com> | Thu Apr 13 16:39:13 2017 -0700 |
tree | cda259d14a26a934712d337a9e9f0b4a6bf57793 | |
parent | 26540d727ea122899086e537f390749845503472 [diff] |
Recommend building with -disable-job-server Until and if we implement a job server scheme for Fuchsia, we should disable it so we can build with -j, even if there is no global load balancing. Change-Id: Iad558e9b5b0850b2d00a6017072586d94016d3c0
This is a fork of GNU Make, with support for running on Fuchsia.
To build a native version of GNU Make for fuchsia, configure in a new directory with:
$ <path-to-make>/configure \ --host=<arch>-fuchsia \ --disable-job-server \ CC=<path-to-compiler>/<arch>-fuchsia-gcc
(where <arch>
is one of: x86_64
, aarch64
, or arm
)
And then simply invoke ‘make’:
$ make
When merging upstream changes, there are a number of files that must be regenerated. Here are the steps to follow to regenerate the files from a virgin git repo (all commands shown should be run from within the source directory):
These can mostly be installed into a user-specific directory to avoid updating the default versions of these utilities. However, if pkg-config is installed in a user-specific directory, you will need to set the environment variable ACLOCAL_PATH
to reference the local “share” subdirectory to avoid getting undefined m4 macro errors for PKG_PROG_PKG_CONFIG
. For example, if pkg-config is installed in /my/usr/local
, ACLOCAL_PATH
should be set to /my/usr/local/share
.
$ autoreconf -i
$ ./configure
$ make scm-update
$ make distclean $ rm -fr autom4te.cache
After these steps, the source tree should be in a state where it can be configured/built as needed. Some of these steps are derived from (but differ slightly from) those given in README.git
.