Skip to content

[CI] Added System Verilog Regression Tests to GitHub Runners #2885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update CMakeLists.txt
change CMAKE_BINARY_DIR to CMAKE_CURRENT_SOURCE_DIR. CI use separate build directions.
  • Loading branch information
amirarjmand93 authored Feb 11, 2025
commit 14ab8a2cf4979cef7865daa803dcbaeb381e7122
7 changes: 4 additions & 3 deletions libs/EXTERNAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ if (${WITH_PARMYS})

# Synlig integration (manages Surelog and UHDM internally)

set(SYNLIG_PREFIX_DIR "${CMAKE_BINARY_DIR}/synlig")
set(SYNLIG_PREFIX_DIR "${CMAKE_CURRENT_SOURCE_DIR}/synlig")
set(SYNLIG_BINARY_DIR "${SYNLIG_PREFIX_DIR}/build")
set(SYNLIG_SOURCE_DIR "${SYNLIG_PREFIX_DIR}/src/synlig")

# Debug paths to ensure correctness
Expand All @@ -99,13 +100,13 @@ if (${WITH_PARMYS})
# Corrected install directory
SOURCE_DIR "${SYNLIG_SOURCE_DIR}"
BUILD_IN_SOURCE FALSE
INSTALL_DIR "${CMAKE_BINARY_DIR}/synlig_install_exe"
INSTALL_DIR "${SYNLIG_BINARY_DIR}"

# Ensure submodules are synced (CI sometimes skips this)
UPDATE_COMMAND git submodule update --init --recursive

# Build and install correctly
BUILD_COMMAND ${MAKE_PROGRAM} -C ${SYNLIG_SOURCE_DIR} install DESTDIR=${CMAKE_BINARY_DIR}/synlig_install_exe -j${PROCESSOR_COUNT}
BUILD_COMMAND ${MAKE_PROGRAM} -C ${SYNLIG_SOURCE_DIR} install DESTDIR=${SYNLIG_BINARY_DIR} -j${PROCESSOR_COUNT}
INSTALL_COMMAND ""
CONFIGURE_COMMAND ""

Expand Down
Loading