Age | Commit message (Collapse) | Author |
|
|
|
Changes in build description:
- fix capitalization of ENABLE_LIBGCC flag.
- add new HIDE_SYMBOLS flag to allow hiding of export symbols; used
similar logic as for libcurl to circumvent the original
CHECK_C_SOURCE_COMPILES macro use.
|
|
Changes to build description:
- new USE_SHA256 flag
- removed "Generic" option for USE_SHA1
- updated to the new source code structure
(split "src/git2" into "src/libgit2" and "src/util")
|
|
|
|
The build tool should not depend on other tools, so do not even
pass that part of the source tree to the bootstrap tests. This also
improves incrementality of these rather large tests.
|
|
In order to be portable, we should not make any assumptions about
the preferred toolchains of the users and instead default to the
toolchain making the least assumptions about the compiler actually
used.
|
|
|
|
This target uses the just-mr binary and will replace the Python
script in all non-bootstrap-related scenarios.
|
|
|
|
|
|
Wrapt the default target in an export target, taking all effective
variables as flexible. Besides improved caching if just is used
as a dependency in a downstream project, this also improves
documentation as all configuration tunables are explicit and the
most important ones documented. In particular, the standard way of
getting information on a project, i.e., calling
just-mr describe
now gives proper information.
|
|
|
|
|
|
|
|
|
|
|
|
... which, if defined, is appended to the suffix string. In this way,
versions can be forked, e.g., if non-upstream changes are included.
|
|
To also allow identifying snapshot versions in a meaningful way,
we support embedding SOURCE_DATE_EPOCH which ought to be set to
the commit time of the commit used.
|
|
|
|
|
|
... to install the resulting binary to "bin".
|
|
This is useful when e.g. using an IDE to get access to the definition/
declaration of the symbols of external dependencies
|
|
While our own tool is entirely written in C++, we link against
libraries written in C which, in the default multi-repo setup we
build from source. Therefore, the target also depends on the C
compiler, not only the C++ one. Hence also allow the user to user
a different compiler here as well, in the same way as they can
override the C++ compiler.
|
|
This is the initial version of our tool that is able to
build itself. In can be bootstrapped by
./bin/bootstrap.py
Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>
|