From 4e590fadb5367d0400fd7e192f519caf3435e07b Mon Sep 17 00:00:00 2001 From: Michael Dusan Date: Mon, 4 Oct 2021 14:03:49 -0400 Subject: ci drone: enable more testsuite Upstream LLVM fixes #8597, no longer need `-Dskip-debug` and others. Additionally, due to the nature of drone.io server pool, it is beneficial to know which aarch64 CPU brand is in use. - drop `-Dskip-debug` and others - invoke `lscpu` prior to build - enable more testsuite consistent with ci azure - remove workaround for (already closed) #6830 closes #8597 --- ci/drone/linux_script_build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ci/drone/linux_script_build') diff --git a/ci/drone/linux_script_build b/ci/drone/linux_script_build index 179988f6e3..58dad5f14c 100755 --- a/ci/drone/linux_script_build +++ b/ci/drone/linux_script_build @@ -2,6 +2,13 @@ . ./ci/drone/linux_script_base +# Probe CPU/brand details. +# TODO: `lscpu` is changing package names in EDGE to `util-linux-misc` +apk update +apk add util-linux +echo "lscpu:" +lscpu | sed 's,^, : ,' + PREFIX="/deps/local" ZIG="$PREFIX/bin/zig" TARGET="$TRIPLEARCH-linux-musl" @@ -13,7 +20,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" # The `CMAKE_AR` parameter will consider any spaces to # be part of the executable path rather than CLI args, so we have # to create wrapper scripts for `zig ar` and zig ranlib`. - cat <<'ENDFILE' >$PREFIX/bin/ar #!/bin/sh /deps/local/bin/zig ar $@ -- cgit v1.2.3