Fix the confusion between DESTDIR & PREFIX in Yosys compilation.
This commit is contained in:
parent
fcd8be5323
commit
790bec3613
|
@ -2,6 +2,9 @@
|
||||||
name: Regression tests
|
name: Regression tests
|
||||||
on: [workflow_dispatch]
|
on: [workflow_dispatch]
|
||||||
|
|
||||||
|
env:
|
||||||
|
installDir: ${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Regression-Tests:
|
Regression-Tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -41,7 +44,11 @@ jobs:
|
||||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||||
cd ${{ github.workspace }}/coriolis-2.x/src/yosys
|
cd ${{ github.workspace }}/coriolis-2.x/src/yosys
|
||||||
make ENABLE_PYOSYS=1 config-gcc
|
make ENABLE_PYOSYS=1 config-gcc
|
||||||
make ENABLE_PYOSYS=1 PREFIX=/install PYTHON_DESTDIR=/install/lib64/python3/dist-packages DESTDIR=${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared LIBDIR=/install/lib64/yosys install
|
make ENABLE_PYOSYS=1 \
|
||||||
|
PREFIX=${{ env.installDir }} \
|
||||||
|
PYTHON_DESTDIR=${{ env.installDir }}/lib64/python3/dist-packages \
|
||||||
|
LIBDIR=${{ env.installDir}}/lib64/yosys \
|
||||||
|
install
|
||||||
- name: Build Alliance
|
- name: Build Alliance
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue