Skip to content

Commit

Permalink
compiler options
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed May 20, 2024
1 parent 043b809 commit a778542
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-fortran-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
os: [macos-latest]
toolchain:
- {compiler: gcc, version: 13}
- {compiler: intel-classic, version: '2021.10'}

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-fortran-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
toolchain:
- {compiler: gcc, version: 13}
- {compiler: intel, version: '2023.2'}
- {compiler: intel-classic, version: '2021.10'}
- {compiler: nvidia-hpc, version: '23.11'}
include:
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(FAST_BUILD)
$<BUILD_INTERFACE:${HIGHS_SOURCE_DIR}/app>
)

if(UNIX)
if(UNIX AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "NVHPC")
target_compile_options(highs-bin PUBLIC "-Wno-unused-variable")
target_compile_options(highs-bin PUBLIC "-Wno-unused-const-variable")
endif()
Expand Down

0 comments on commit a778542

Please sign in to comment.