Skip to content

Conversation

@jeromehaxhiaj-qti
Copy link
Contributor

This commit adds two new platform for cmake and regressions tests

  • MSYS2 clangarm64 (Windows on ARM64 runners)
  • MSYS2 UCRT64 (Windows Latest runner)

On those platforms, systemc is built as a shared library.

This commit adds two new platform for cmake and regressions tests
- MSYS2 clangarm64 (Windows on ARM64 runners)
- MSYS2 UCRT64 (Windows Latest runner)

On those platforms, systemc is built as a shared library.

Signed-off-by: Jerome Haxhiaj <jhaxhiaj@qti.qualcomm.com>
Copy link
Contributor

@maehne maehne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jeromehaxhiaj-qti jeromehaxhiaj-qti marked this pull request as ready for review November 5, 2025 08:58
install: git mingw-w64-clang-aarch64-clang mingw-w64-clang-aarch64-cmake mingw-w64-clang-aarch64-ninja
- name: CI-Build
run: |
./msys2-ci-build.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this script should be at the top level.

Maybe we should consider moving the docker/ folder into a ci/ folder and put everything there or introduce a utils/ folder where this kind of script can go.

BUILD_SHARED_LIBS="ON"

SYSTEMC_CI_DEFAULT_TARGET="systemc"
SYSTEMC_CI_REGRESSION_TARGET="check-tests"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current docker entrypoint.sh does:

cmake
cmake --build
cmake --install
make ... check

Is this doing the same?
If so, I am in favor of unifying this accross workflows so that all CI flows use the same build targets.

-D CMAKE_BUILD_TYPE=${BUILD_TYPE} \
-D CMAKE_INSTALL_PREFIX="${INSTALL_DIR}"

# Build the project
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove all comments (that point out obvious things) from this script.

BUILD_DIR="build"
INSTALL_DIR="$(pwd)/install"
REGRESSION_TESTS="OFF"
BUILD_SHARED_LIBS="ON"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to test both, shared and static library flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants