diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-08-06 13:09:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 13:09:29 +1000 |
commit | 79c56b71c4567ce947e755b5fbe6d0b4eeffd046 (patch) | |
tree | a0e2d365569b05020f076bd0d3549eb4b477acf7 /.github/scripts/build-artifacts.sh | |
parent | 921f9f040c717912330099bf826be1ac0626e9bd (diff) |
Fix Static Netdata to correctly build with Netdata Cloud support. (#9381)
* Revert "Revert "Override linker and include paths for static builds. (#9311)" (#9343)"
This reverts commit 36d5e40dca91a93963e4d96f07af3e38803615d0.
* Run git clean before building anything
* Fix checking out openssl and skip if bind-mounted sources already exist at the given path
* Add --require-cloud flag to the static build scripts
* Add CMAKEFLAGS support to the installer to customize how to build libwebsockets for static builds
* Update packaging/makeself/jobs/50-bash-4.4.18.install.sh
Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com>
* Fix remaining other two tyos
Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com>
Diffstat (limited to '.github/scripts/build-artifacts.sh')
-rwxr-xr-x | .github/scripts/build-artifacts.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/scripts/build-artifacts.sh b/.github/scripts/build-artifacts.sh index f816d750ff..e635765bd0 100755 --- a/.github/scripts/build-artifacts.sh +++ b/.github/scripts/build-artifacts.sh @@ -23,6 +23,7 @@ prepare_build() { build_dist() { progress "Building dist" ( + command -v git > /dev/null && [ -d .git ] && git clean -d -f autoreconf -ivf ./configure \ --prefix=/usr \ @@ -41,6 +42,7 @@ build_dist() { build_static_x86_64() { progress "Building static x86_64" ( + command -v git > /dev/null && [ -d .git ] && git clean -d -f USER="" ./packaging/makeself/build-x86_64-static.sh ) >&2 } |