-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from serpent-os/feat/boulder-config
Feat/boulder
- Loading branch information
Showing
63 changed files
with
6,013 additions
and
275 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
actions: | ||
|
||
# Perform ./configure with the default options | ||
- configure: | ||
command: | | ||
test -x ./configure || ( echo "%%configure: The ./configure script could not be found" ; exit 1 ) | ||
./configure %(options_configure) | ||
dependencies: | ||
- autoconf | ||
- automake | ||
|
||
# Perform a make | ||
# TIP: Add V=1 VERBOSE=1 after '%make' in the recipe if you need a more verbose build | ||
- make: | ||
command: | | ||
make -j "%(jobs)" | ||
dependencies: | ||
- make | ||
|
||
# Install results of build to the destination directory | ||
- make_install: | ||
command: | | ||
%make install DESTDIR="%(installroot)" | ||
dependencies: | ||
- make | ||
|
||
# Re autotools-configure a project without an autogen.sh script | ||
- reconfigure: | ||
command: | | ||
autoreconf -vfi || ( echo "%%reconfigure: Failed to run autoreconf"; exit 1 ) | ||
%configure | ||
dependencies: | ||
- autoconf | ||
- automake | ||
|
||
# Run autogen.sh script, attempting to only configure once | ||
- autogen: | ||
command: | | ||
NOCONFIGURE="noconfigure"; export NOCONFIGURE | ||
sh ./autogen.sh %(options_configure) | ||
./configure %(options_configure) | ||
dependencies: | ||
- autoconf | ||
- automake | ||
|
||
definitions: | ||
|
||
# Default configuration options as passed to configure | ||
- options_configure: | | ||
--prefix="%(prefix)" \ | ||
--bindir="%(bindir)" \ | ||
--sbindir="%(sbindir)" \ | ||
--build="%(build_platform)" \ | ||
--host="%(host_platform)" \ | ||
--libdir="%(libdir)" \ | ||
--mandir="%(mandir)" \ | ||
--infodir="%(infodir)" \ | ||
--datadir="%(datadir)" \ | ||
--sysconfdir="%(sysconfdir)" \ | ||
--localstatedir="%(localstatedir)" \ | ||
--sharedstatedir="%(sharedstatedir)" \ | ||
--libexecdir="%(libexecdir)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
actions: | ||
|
||
# Perform cmake with the default options in a subdirectory | ||
- cmake: | ||
command: | | ||
cmake %(options_cmake) | ||
dependencies: | ||
- cmake | ||
|
||
# Perform cmake with unity build enabled | ||
- cmake_unity: | ||
command: | | ||
cmake -DCMAKE_UNITY_BUILD=ON %(options_cmake) | ||
dependencies: | ||
- cmake | ||
|
||
# Build the cmake project | ||
- cmake_build: | ||
command: | | ||
ninja -v -j "%(jobs)" -C "%(builddir)" | ||
dependencies: | ||
- ninja | ||
|
||
# Install results of the build to the destination directory | ||
- cmake_install: | ||
command: | | ||
DESTDIR="%(installroot)" ninja install -v -j "%(jobs)" -C "%(builddir)" | ||
dependencies: | ||
- ninja | ||
|
||
definitions: | ||
|
||
# Default cmake options as passed to cmake | ||
- options_cmake: | | ||
-G Ninja -S . -B "%(builddir)" \ | ||
-DCMAKE_C_FLAGS="${CFLAGS}" \ | ||
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ | ||
-DCMAKE_C_FLAGS_RELEASE="" \ | ||
-DCMAKE_CXX_FLAGS_RELEASE="" \ | ||
-DCMAKE_LD_FLAGS="${LDFLAGS}" \ | ||
-DCMAKE_BUILD_TYPE="Release" \ | ||
-DCMAKE_INSTALL_LIBDIR="lib" \ | ||
-DCMAKE_INSTALL_PREFIX="%(prefix)" \ | ||
-DCMAKE_LIB_SUFFIX="%(libsuffix)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
actions: | ||
|
||
# Run meson with the default options in a subdirectory | ||
- meson: | ||
command: | | ||
test -e ./meson.build || ( echo "%%meson: The ./meson.build script could not be found" ; exit 1 ) | ||
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" meson setup %(options_meson) | ||
dependencies: | ||
- meson | ||
|
||
# Run meson with unity build enabled | ||
- meson_unity: | ||
command: | | ||
test -e ./meson.build || ( echo "%%meson: The ./meson.build script could not be found" ; exit 1 ) | ||
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" meson setup --unity on %(options_meson) | ||
dependencies: | ||
- meson | ||
|
||
# Build the meson project | ||
- meson_build: | ||
command: | | ||
meson compile -v -j "%(jobs)" -C "%(builddir)" | ||
dependencies: | ||
- meson | ||
|
||
# Install results of the build to the destination directory | ||
- meson_install: | ||
command: | | ||
DESTDIR="%(installroot)" meson install --no-rebuild -C "%(builddir)" | ||
dependencies: | ||
- meson | ||
|
||
definitions: | ||
|
||
# Default meson options as passed to meson | ||
- options_meson: | | ||
--prefix="%(prefix)" \ | ||
--buildtype="plain" \ | ||
--libdir="lib%(libsuffix)" \ | ||
--libexecdir="lib%(libsuffix)/%(name)" \ | ||
--sysconfdir="%(sysconfdir)" \ | ||
--localstatedir="%(localstatedir)" \ | ||
"%(builddir)" |
Oops, something went wrong.