Fix the confusion between DESTDIR & PREFIX in Yosys compilation.

This commit is contained in:
Jean-Paul Chaput 2023-08-05 14:09:05 +02:00
parent fcd8be5323
commit 790bec3613
1 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,9 @@
name: Regression tests
on: [workflow_dispatch]
env:
installDir: ${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install
jobs:
Regression-Tests:
runs-on: ubuntu-latest
@ -41,7 +44,11 @@ jobs:
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
cd ${{ github.workspace }}/coriolis-2.x/src/yosys
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
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"