Skip to content

Commit

Permalink
Add statically linked CIRCT full build to ReleaseArtifact CI (#6544)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
uenoku committed Feb 8, 2024
1 parent 9048174 commit ff43c0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/uploadReleaseArtifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff43c0a

Please sign in to comment.