2024-06-09 01:36:50 +02:00
|
|
|
# DESCRIPTION: Verilator: CI Windows Power Shell - Compile Verilator
|
|
|
|
|
#
|
2026-01-27 02:24:34 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Wilson Snyder
|
2024-06-09 01:36:50 +02:00
|
|
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
Set-PSDebug -Trace 1
|
|
|
|
|
|
2022-12-24 00:12:17 +01:00
|
|
|
if (-Not (Test-Path $PWD/../.ccache/win_bison.exe)) {
|
2024-09-02 03:12:37 +02:00
|
|
|
git clone --depth 1 https://github.com/lexxmark/winflexbison
|
|
|
|
|
cd winflexbison
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. --install-prefix $PWD/../../../.ccache
|
|
|
|
|
cmake --build . --config Release -j 3
|
|
|
|
|
cmake --install . --prefix $PWD/../../../.ccache
|
|
|
|
|
cd ../..
|
2022-12-24 00:12:17 +01:00
|
|
|
}
|
2024-06-09 01:36:50 +02:00
|
|
|
|
2022-12-24 00:12:17 +01:00
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. --install-prefix $PWD/../install
|
2023-02-04 00:47:54 +01:00
|
|
|
cmake --build . --config Release -j 3
|
2022-12-24 00:12:17 +01:00
|
|
|
cmake --install . --prefix $PWD/../install
|