Skip to content

Commit

Permalink
Build with C++ 17 for SystemC 3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jünger <[email protected]>
  • Loading branch information
aut0 committed May 16, 2024
1 parent 8480d69 commit 9266443
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ jobs:
if: matrix.os.name == 'macos'
run: |
echo "NPROC=$(sysctl -n hw.logicalcpu)" >> ${GITHUB_ENV}
brew install \
${{matrix.os.deps}}
- name: Setup Dependencies Windows
if: matrix.os.name == 'windows'
Expand Down Expand Up @@ -172,7 +170,7 @@ jobs:
-DSYSTEMCCCI_BUILD_TESTS=ON ${{env.ESC}}
-DCMAKE_CXX_COMPILER=${{matrix.os.cxx_compiler}} ${{env.ESC}}
-DCMAKE_C_COMPILER=${{matrix.os.c_compiler}} ${{env.ESC}}
-DCMAKE_CXX_STANDARD=11 ${{env.ESC}}
-DCMAKE_CXX_STANDARD=${{matrix.systemc_version != '3.0.0' && '11' || '17'}} ${{env.ESC}}
-DCMAKE_PREFIX_PATH=${{env.SYSTEMC_HOME}}/lib/cmake/SystemCLanguage ${{env.ESC}}
-DCMAKE_INSTALL_PREFIX=${{env.CCI_HOME}} ${{env.ESC}}
../../..
Expand Down

0 comments on commit 9266443

Please sign in to comment.