From ff43c0a318af5bd441b072021404f57b9bcdc938 Mon Sep 17 00:00:00 2001 From: Hideto Ueno Date: Thu, 8 Feb 2024 23:13:43 +0900 Subject: [PATCH] Add statically linked CIRCT full build to ReleaseArtifact CI (#6544) shared build seems to require a specific version of glibc and causes a build failure of downstream tools. This PR adds -static tarball to the artifact. --- .github/workflows/uploadReleaseArtifacts.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/uploadReleaseArtifacts.yml b/.github/workflows/uploadReleaseArtifacts.yml index b98132a8b74..8ba245c4368 100644 --- a/.github/workflows/uploadReleaseArtifacts.yml +++ b/.github/workflows/uploadReleaseArtifacts.yml @@ -155,10 +155,15 @@ jobs: run: | json='{"name":"CIRCT-full shared","install_target":"install","package_name_prefix":"circt-full-shared","mode":"release","assert":"OFF","shared":"ON","stats":"ON"}' echo "out=$json" >> $GITHUB_OUTPUT + - name: Add Build Config for CIRCT-full (static) + id: add-build-config-circt-full-static + run: | + json='{"name":"CIRCT-full static","install_target":"install","package_name_prefix":"circt-full-static","mode":"release","assert":"OFF","shared":"OFF","stats":"ON"}' + echo "out=$json" >> $GITHUB_OUTPUT - name: Build JSON Payloads id: build-json-payloads run: | - echo '${{ steps.add-build-config-firtool.outputs.out }}' '${{ steps.add-build-config-circt-full-shared.outputs.out }}' | jq -sc . > build_configs.json + echo '${{ steps.add-build-config-firtool.outputs.out }}' '${{ steps.add-build-config-circt-full-shared.outputs.out }}' '${{ steps.add-build-config-circt-full-static.outputs.out }}' | jq -sc . > build_configs.json echo '${{ steps.add-linux.outputs.out }}' '${{ steps.add-macos.outputs.out }}' '${{ steps.add-windows.outputs.out }}' | jq -sc . > runners.json cat runners.json build_configs.json | jq -sc '[combinations | add]' > matrix-raw.json