This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16d74a1
commit e118a00
Showing
36 changed files
with
1,984 additions
and
771 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,13 +7,19 @@ inputs: | |
ARCH: | ||
description: 'matrix.arch' | ||
required: true | ||
PY_VERSION: | ||
description: 'matrix.py_version' | ||
required: true | ||
|
||
description: '' | ||
|
||
outputs: | ||
BOOST_ROOT: | ||
description: '' | ||
value: ${{ steps.install_boost.outputs.BOOST_ROOT }} | ||
BOOST_VERSION: | ||
description: '' | ||
value: 1.74.0 | ||
|
||
runs: | ||
using: "composite" | ||
|
@@ -22,12 +28,16 @@ runs: | |
uses: aminya/setup-cpp@v1 | ||
with: | ||
compiler: gcc | ||
vcvarsall: ${{ contains(inputs.OS, 'windows') }} | ||
vcvarsall: ${{ contains(inputs.OS, 'windows') }} # evaluate to the string 'true' | ||
msvc: ${{ contains(inputs.OS, 'windows') }} | ||
choco: ${{ contains(inputs.OS, 'windows') }} | ||
cmake: true | ||
ninja: true | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.PY_VERSION }} | ||
|
||
- uses: makslevental/mlir-wheels/actions/setup_ccache@d77bf5dc69c46a8c2738b44528749768888eb361 | ||
id: setup_ccache | ||
with: | ||
|
@@ -36,8 +46,39 @@ runs: | |
WORKSPACE_ROOT: ${{ github.workspace }} | ||
|
||
- name: Install boost for XRT | ||
if: contains(inputs.OS, 'windows') || contains(inputs.OS, 'ubuntu') | ||
uses: MarkusJx/[email protected] | ||
id: install_boost | ||
with: | ||
boost_version: 1.73.0 | ||
boost_version: 1.74.0 | ||
|
||
- name: Build and install system deps | ||
shell: bash | ||
run: | | ||
if [ ${{ inputs.OS }} == 'windows-2019' ]; then | ||
choco install -y pkgconfiglite protoc | ||
else | ||
sudo apt install -y libdrm-dev ocl-icd-opencl-dev rapidjson-dev libprotobuf-dev systemtap-sdt-dev uuid-dev python3-dev | ||
fi | ||
- name: Remove path limit and export VCTOOLSVERSION | ||
if: contains(inputs.OS, 'windows') | ||
shell: pwsh | ||
run: | | ||
pwsh.exe .\util\remove_path_limit.ps1 | ||
- name: export VCTOOLSVERSION | ||
if: contains(inputs.OS, 'windows') | ||
shell: bash | ||
run: | | ||
VCTOOLSVERSION=${VCTOOLSVERSION:0:4} | ||
echo "VCTOOLSVERSION=$VCTOOLSVERSION" >> $GITHUB_ENV | ||
- name: Install python deps | ||
shell: bash | ||
run: | | ||
ls -lah | ||
pip install -r requirements-dev.txt |
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
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 |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
[submodule "third_party/XRT"] | ||
path = third_party/XRT | ||
url = [email protected]:Xilinx/XRT.git | ||
[submodule "third_party/bootgen"] | ||
path = third_party/bootgen | ||
url = [email protected]:Xilinx/bootgen.git |
Oops, something went wrong.