diff --git a/.github/workflows/futs_intel.yml b/.github/workflows/futs_intel.yml index 3aefb69..d9359f3 100644 --- a/.github/workflows/futs_intel.yml +++ b/.github/workflows/futs_intel.yml @@ -16,7 +16,7 @@ jobs: uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: '3.31.x' - - name: Setup Intel ifort compiler + - name: Setup Intel ifx compiler uses: fortran-lang/setup-fortran@v1 id: setup-fortran with: diff --git a/.github/workflows/futs_lfortran.yml b/.github/workflows/futs_lfortran.yml index d902e4a..4031166 100644 --- a/.github/workflows/futs_lfortran.yml +++ b/.github/workflows/futs_lfortran.yml @@ -16,7 +16,7 @@ jobs: uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: '3.31.x' - - name: Setup Intel ifort compiler + - name: Setup lfortran compiler uses: fortran-lang/setup-fortran@v1 id: setup-fortran with: diff --git a/.github/workflows/futs_nvfortran.yml b/.github/workflows/futs_nvfortran.yml index c8cd72e..d1bff1e 100644 --- a/.github/workflows/futs_nvfortran.yml +++ b/.github/workflows/futs_nvfortran.yml @@ -16,7 +16,7 @@ jobs: uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: '3.31.x' - - name: Setup Intel ifort compiler + - name: Setup NVidea Fortran compiler uses: fortran-lang/setup-fortran@v1 id: setup-fortran with: diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e02efd..00b9ec1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ endif() if(BUILD_TESTS) if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU") set(CMAKE_Fortran_FLAGS "-Wall -Wextra -Wno-compare-reals -Wno-maybe-uninitialized -Wno-uninitialized -O3 -g -fprofile-arcs -ftest-coverage") - else() + elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel") set(CMAKE_Fortran_FLAGS "-O3") endif() include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/fortutf.cmake)