-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from Goddard-Fortran-Ecosystem/develop
Develop
- Loading branch information
Showing
23 changed files
with
230 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "Enforce Changelog" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
|
||
jobs: | ||
# Enforces the update of a changelog file on every pull request | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 | ||
with: | ||
changeLogPath: 'ChangeLog.md' | ||
skipLabels: 'skip changelog' | ||
missingUpdateErrorMessage: > | ||
No update to ChangeLog.md found! Please add a changelog | ||
entry to it describing your change. Please note that the | ||
keepachangelog (https://keepachangelog.com) format is | ||
used. If your change is very trivial not applicable for a | ||
changelog entry, add a 'skip changelog' label to the pull | ||
request to skip the changelog enforcer. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,10 +59,6 @@ jobs: | |
if: matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gfortran-12' | ||
run: | | ||
sudo apt-get install gfortran-12 -y | ||
# There is a bug between pFUnit and CMake 3.25.0 which is in ubuntu-latest. | ||
# For now, we grab CMake 3.24.3 | ||
- name: Get specific version CMake, v3.24.3 | ||
uses: lukka/[email protected] | ||
- name: Compiler Versions | ||
run: | | ||
${FC} --version | ||
|
@@ -91,22 +87,14 @@ jobs: | |
${FC} --version | ||
mpirun --version | ||
mpifort --show | ||
- name: Build pFUnit | ||
run: | | ||
mkdir -p build | ||
cd build | ||
cmake .. | ||
make | ||
#make -j$(nproc) | ||
- name: Configure pFUnit | ||
run: cmake -Bbuild | ||
- name: Build pfUnit | ||
run: cmake --build build --parallel | ||
- name: Build Tests | ||
run: | | ||
cd build | ||
make build-tests | ||
#make -j$(nproc) build-tests | ||
run: cmake --build build --parallel -t build-tests | ||
- name: Run Tests | ||
run: | | ||
cd build | ||
ctest -j1 --output-on-failure --repeat until-pass:4 | ||
run: ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4 --schedule-random | ||
- name: Archive log files on failure | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
|
@@ -127,10 +115,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
# There is a bug between pFUnit and CMake 3.25.0 which is in ubuntu-latest. | ||
# For now, we grab CMake 3.24.3 | ||
- name: Get specific version CMake, v3.24.3 | ||
uses: lukka/[email protected] | ||
- name: Install Intel compilers | ||
run: | | ||
cd /tmp | ||
|
@@ -148,20 +132,14 @@ jobs: | |
${CC} --version | ||
mpirun --version | ||
cmake --version | ||
- name: Build pFUnit | ||
run: | | ||
mkdir -p build | ||
cd build | ||
cmake .. | ||
make -j$(nproc) | ||
- name: Configure pFUnit | ||
run: cmake -Bbuild | ||
- name: Build pfUnit | ||
run: cmake --build build --parallel | ||
- name: Build Tests | ||
run: | | ||
cd build | ||
make -j$(nproc) build-tests | ||
run: cmake --build build --parallel -t build-tests | ||
- name: Run Tests | ||
run: | | ||
cd build | ||
ctest -j1 --output-on-failure --repeat until-pass:4 | ||
run: ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4 --schedule-random | ||
- name: Archive log files on failure | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Compiler specific flags for Intel Fortran compiler | ||
|
||
if(WIN32) | ||
set(no_optimize "-Od") | ||
set(check_all "-check:all") | ||
else() | ||
set(no_optimize "-O0") | ||
set(check_all "-check all") | ||
endif() | ||
|
||
|
||
set(disable_warning_for_long_names "-diag-disable 5462") | ||
set(traceback "-traceback") | ||
set(cpp "-cpp") | ||
|
||
|
||
set(common_flags "${cpp} ${disable_warning_for_long_names}") | ||
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g ${common_flags} ${traceback} ${no_optimize} ${check_all}") | ||
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 ${common_flags}") | ||
|
||
add_definitions(-D_INTEL) | ||
add_definitions(-D__ifort_18) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule fArgParse
updated
6 files
+1 −1 | CMakeLists.txt | |
+19 −0 | ChangeLog.md | |
+22 −0 | cmake/IntelLLVM.cmake | |
+1 −1 | extern/gFTL-shared | |
+4 −3 | src/ArgParser.F90 | |
+10 −10 | src/BaseAction.F90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.