Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft for OWA_v5.1.14 release #371

Closed
wants to merge 217 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
6ad8c83
processing code drop
michaeltryby Mar 4, 2020
01abb40
Work in progress
michaeltryby Mar 4, 2020
21cf316
Updating gage.c
michaeltryby Mar 4, 2020
bb51eee
Update CMakeLists.txt
michaeltryby Mar 5, 2020
00788d9
Update CMakeLists.txt
michaeltryby Mar 5, 2020
cb6cc3d
Work in progress
michaeltryby Mar 6, 2020
a74e262
Work in progress
michaeltryby Mar 6, 2020
af37e4d
Work in progress
michaeltryby Mar 6, 2020
87281a8
Delete swmm_output_export.h
michaeltryby Mar 10, 2020
ce668c6
Merge pull request #35 from USEPA/release-5.1.14
michaeltryby Mar 26, 2020
bf9ddac
Merge branch 'develop' of https://github.com/OpenWaterAnalytics/Storm…
michaeltryby Oct 30, 2020
cbd4538
Merge branch 'develop' of https://github.com/OpenWaterAnalytics/Storm…
michaeltryby Dec 21, 2020
84f2994
Merge pull request #317 from OpenWaterAnalytics/master
michaeltryby Dec 22, 2020
2a8a1e8
Merge branch 'develop' of https://github.com/OpenWaterAnalytics/Storm…
michaeltryby Dec 22, 2020
4a7a856
Merged USEPA 5.1.014 and fixed merge conflicts
cbuahin Jan 14, 2021
d591081
Fixed shared variable declaration error
cbuahin Jan 14, 2021
4e52d66
Fixed conflicting types
cbuahin Jan 14, 2021
5741b01
Updated ci-tools submodule
cbuahin Jan 14, 2021
8fb3e28
Changed ci-tools to master
cbuahin Jan 14, 2021
2038d4e
Adding lib relocation for Linux
michaeltryby Jan 21, 2021
0351a2a
Updating ci-tools
michaeltryby Jan 21, 2021
6607497
Refactoring wheel build
michaeltryby Jan 22, 2021
7311ef8
Added string.h header for strncmp function
cbuahin Jan 24, 2021
f762f77
Trigger rebuild
cbuahin Jan 26, 2021
a3503b5
Reverted to previous version of aenum
cbuahin Jan 26, 2021
a060fa5
Trigger rebuild
cbuahin Jan 26, 2021
5c8bf78
Pointed ci-tools to dev
Feb 16, 2021
b94bd2b
Reverted ci-tools
Feb 16, 2021
2dc8855
Switched ci-tools to master
Feb 16, 2021
4b2bf5d
Addressed PR comments
cbuahin Feb 20, 2021
ece7bca
Deprecate old build
cbuahin Feb 20, 2021
d369481
Test single version dec location
cbuahin Feb 20, 2021
35ce613
Add math.h for darwin
cbuahin Feb 20, 2021
4cf7132
updated with pollutant checks
Feb 20, 2021
41b1a1b
Removed ci-tools submodule to address #327
cbuahin Feb 24, 2021
4724b14
Checkout ci-tools through actions to address #327
cbuahin Feb 24, 2021
9f4fa27
Checkout ci-tools through actions to address #327
cbuahin Feb 24, 2021
d016aae
Checkout ci-tools through actions to address #327
cbuahin Feb 24, 2021
0749f0b
Checkout master branch for ci-tools
cbuahin Feb 24, 2021
5a93174
Rolling back libgomp relocation
michaeltryby Feb 24, 2021
ff4d638
Updating submodule
michaeltryby Mar 2, 2021
b99eac4
Checkout 13cbde7
michaeltryby Mar 2, 2021
38e617a
Before reg test detect branch
michaeltryby Mar 2, 2021
b038371
Refactoring
michaeltryby Mar 2, 2021
c0dec86
Refactoring
michaeltryby Mar 2, 2021
9fff37e
Refactoring
michaeltryby Mar 2, 2021
39e107d
Refactoring
michaeltryby Mar 2, 2021
b2ad78a
Refactoring
michaeltryby Mar 2, 2021
80c7fb5
Refactoring
michaeltryby Mar 2, 2021
275ce7e
Refactoring
michaeltryby Mar 2, 2021
860b128
Refactoring
michaeltryby Mar 2, 2021
174ad2e
Refactoring
michaeltryby Mar 2, 2021
aa5588c
Refactoring
michaeltryby Mar 2, 2021
060244e
Refactoring
michaeltryby Mar 2, 2021
5acd223
Refactoring
michaeltryby Mar 2, 2021
b21f500
Refactoring
michaeltryby Mar 2, 2021
161f258
Refactoring
michaeltryby Mar 2, 2021
32df346
Refactoring
michaeltryby Mar 2, 2021
77cc55a
Fix typo
michaeltryby Mar 2, 2021
2701555
Fix typo
michaeltryby Mar 2, 2021
daaab69
Object test
michaeltryby Mar 3, 2021
0945384
Object test
michaeltryby Mar 3, 2021
816708a
Object test
michaeltryby Mar 3, 2021
9fa7aa1
Test
michaeltryby Mar 3, 2021
4aa9896
Test
michaeltryby Mar 3, 2021
ab296b8
Test
michaeltryby Mar 3, 2021
1ad14ec
Test
michaeltryby Mar 3, 2021
5e1439f
Applying KISS principle
michaeltryby Mar 3, 2021
4a95268
Refactoring
michaeltryby Mar 3, 2021
67551d2
Merge branch 'develop' into dev-workflow
michaeltryby Mar 3, 2021
327388d
Update ci-tools
michaeltryby Mar 3, 2021
4d4a94f
Updating master
michaeltryby Mar 3, 2021
22ebacc
Merge pull request #328 from OpenWaterAnalytics/dev-workflow
michaeltryby Mar 4, 2021
76477bc
Tweaking Mac OS wheel build
michaeltryby Mar 4, 2021
962e879
Merged from develop
cbuahin Mar 5, 2021
44dd51f
Updated nrtestsuite version
cbuahin Mar 5, 2021
dca89c7
Fixed swmm output temp array initialization bug
cbuahin Mar 8, 2021
e3af8f0
Fixed swmm output temp array initialization bug to address #66
cbuahin Mar 8, 2021
65e12e3
Linux only build test
cbuahin Mar 8, 2021
a5bd1f6
Work in progress
cbuahin Mar 8, 2021
4116d53
Trigger build
cbuahin Mar 8, 2021
e041dfb
Trigger rebuild to check ci-tools
cbuahin Mar 8, 2021
28553cf
Trigger rebuild to check ci-tools
cbuahin Mar 8, 2021
eaf4603
Trigger rebuild
cbuahin Mar 8, 2021
fc0bf8c
Trigger rebuild
cbuahin Mar 8, 2021
e653582
Trigger build to test ci-tools fix
cbuahin Mar 8, 2021
ae527a7
Trigger rebuild to finalize ci-tools debugging
cbuahin Mar 8, 2021
9afb4be
Trigger rebuild
cbuahin Mar 8, 2021
a164ba3
Trigger rebuild
cbuahin Mar 8, 2021
d3f2eda
Merge pull request #322 from OpenWaterAnalytics/dev-5.1.14
cbuahin Mar 8, 2021
d4502fa
Makes OpenMP an optional component
michaeltryby Mar 9, 2021
b6f1068
Merge pull request #331 from OpenWaterAnalytics/dev-openmp
michaeltryby Mar 10, 2021
1ccb1fd
Make OpenMP optional for wheel build
michaeltryby Mar 11, 2021
8deb7d4
Merge pull request #332 from OpenWaterAnalytics/dev-openmp
michaeltryby Mar 11, 2021
36f77eb
Merge pull request #1 from OpenWaterAnalytics/develop
abhiramm7 Mar 12, 2021
f943c68
increase tolerance and update authors
Mar 14, 2021
3cb1eb9
updated with larger tol
Mar 14, 2021
35b234b
updated with even larger tol
Mar 14, 2021
3b3ca81
Configure fetch content or libomp
michaeltryby Mar 15, 2021
894f670
Configuring build for omp
michaeltryby Mar 15, 2021
427cb6c
WIP
michaeltryby Mar 15, 2021
6d954cd
WIP
michaeltryby Mar 15, 2021
4061a0f
updated tol to 0.001
Mar 16, 2021
d6b4163
WIP
michaeltryby Mar 17, 2021
3686ac1
Moving fetch openmp to wheel build
michaeltryby Mar 18, 2021
36b5113
Ignore ci-tools
michaeltryby Mar 18, 2021
e4f175f
Cleaning up
michaeltryby Mar 18, 2021
942e3fa
Fixing merge conflict
michaeltryby Mar 18, 2021
93891ff
Set -O3 flag
michaeltryby Mar 19, 2021
bda8aa1
Issue #334 Update Github Action to install boost manually for Linux and
jennwuu Mar 23, 2021
4c7868a
removed node rpt flag
Apr 13, 2021
6b82d5b
removed loop for external pollutant flag check and replaced with glob…
Apr 17, 2021
f9fdee9
flag get reset after each step
Apr 17, 2021
bf4f289
updated with error log
Apr 17, 2021
3764a2a
updated with global variable for link pollutant setter
Apr 17, 2021
862bade
Merge pull request #336 from OpenWaterAnalytics/dev-openmp
michaeltryby Apr 18, 2021
ce438ef
Merge pull request #2 from OpenWaterAnalytics/develop
abhiramm7 May 30, 2021
d5cd16b
updated to latest ubuntu
May 30, 2021
c4797c9
updated to latest ubuntu 18.04
May 30, 2021
a2ee8eb
updated ubuntu 16.04
Jun 13, 2021
4ef3b84
ubuntu 16.10
Jun 13, 2021
cae5d1a
back to 18.10
Jun 13, 2021
2b2ff6e
back to 20.04
Jun 13, 2021
224cec7
update 16.04
Jun 13, 2021
340788a
updated with boost 67
Jun 13, 2021
04395db
updated with boost 74
Jun 13, 2021
348cba8
updated to ubuntu 20.04
Jun 13, 2021
0dc9c31
added included to unit test
Jun 13, 2021
ee68620
removed ref in pollutant
Jun 13, 2021
24f526e
added boost import
Jun 13, 2021
825e4a0
update tests with ubuntu and cmake
Jun 13, 2021
cb1be75
add extern
Jun 13, 2021
e0dec49
extern in solver
Jun 13, 2021
b8e4a44
Fixing tests
michaeltryby Jun 21, 2021
9c66ab8
Fixing tests on Linux
michaeltryby Jun 21, 2021
b2b3e24
Fussing
michaeltryby Jun 21, 2021
4ae952e
merge dev <-- master
michaeltryby Jun 22, 2021
51e9732
Refactoring
michaeltryby Jun 22, 2021
f7d1128
Fixing typo
michaeltryby Jun 22, 2021
10c733e
Clean-up
michaeltryby Jun 22, 2021
593b50b
Ubuntu 16.04
michaeltryby Jun 22, 2021
5d781d2
Fixing build_id
michaeltryby Jun 23, 2021
7d2249c
Turn off find boost debug
michaeltryby Jun 23, 2021
901dfa3
Merge pull request #341 from OpenWaterAnalytics/dev-merge-master
michaeltryby Jun 23, 2021
90df80f
Merging origin/develop <- upstream/develop
michaeltryby Jun 24, 2021
bebc300
Fix typo
michaeltryby Jun 24, 2021
f271e7c
Fix typo
michaeltryby Jun 24, 2021
7ec2ebf
updated tests
Jul 4, 2021
614cbd2
update tolerace to determine windows and ubuntu error
Jul 4, 2021
126c051
update tolerace to 20%
Jul 4, 2021
594f2ce
removed link pollutant tests
Jul 4, 2021
43a4c4c
added support for link reactor concentration
Jul 4, 2021
3aa75fd
updated with link pollutant tests
Jul 5, 2021
4507d19
updates to quality tests
Jul 5, 2021
11b08ac
adding documentation
Jul 5, 2021
0d8db40
updated for errors in windows test
Jul 5, 2021
831c483
mass balance support for 0 concentration
Jul 31, 2021
683f836
declare variables
Jul 31, 2021
0f9e1d3
Merge pull request #326 from abhiramm7/develop
abhiramm7 Aug 23, 2021
d36eda5
Added citation file to address #346
cbuahin Sep 3, 2021
0afda0e
Fixed given name family name swap.
cbuahin Sep 7, 2021
8589cd5
Added DOI
cbuahin Sep 7, 2021
4fcf812
Added Zenodo DOI badge
cbuahin Sep 7, 2021
6570ef7
Initial commit CONTRIBUTORS file
michaeltryby Sep 9, 2021
c0fd0f7
Update CONTRIBUTORS
jennwuu Sep 9, 2021
3cf48c8
Fussing
michaeltryby Sep 9, 2021
c72c336
Merge branch 'develop' of https://github.com/cbuahin/Stormwater-Manag…
michaeltryby Sep 9, 2021
fba59d0
Finalize contributors and citation
michaeltryby Sep 10, 2021
a9f0feb
Finalize contributors
michaeltryby Sep 10, 2021
805ded0
Update CITATION.cff
cbuahin Sep 10, 2021
c7767cc
Update CITATION.cff
cbuahin Sep 10, 2021
0839398
updated orcid
abhiramm7 Sep 10, 2021
3431033
Adding orcid, moving to last author
michaeltryby Sep 13, 2021
42fca47
Fix build, add ORCID
michaeltryby Sep 17, 2021
d5aa0e9
Update AUTHORS.dox
michaeltryby Sep 17, 2021
2fcf4c0
Merge pull request #347 from cbuahin/develop
cbuahin Sep 20, 2021
dd4bc97
Fix get SMO_getSystemAttribute error
Sep 21, 2021
a139116
add PET to output system attr enum
Sep 21, 2021
e52340c
Fix missing comma in SMO_systemAttribute enum
karosc Sep 21, 2021
2db4a68
Update contributors file with ckaros contact info
Sep 24, 2021
8e46106
Merge pull request #350 from karosc/develop
michaeltryby Sep 27, 2021
16fe864
Auto generates version header
michaeltryby Nov 2, 2021
9a771f6
Update report and output headers
michaeltryby Nov 3, 2021
366c340
Simplifying
michaeltryby Nov 4, 2021
1856664
Cleaning up
michaeltryby Nov 4, 2021
57b1742
Fixing MSVC syntax error
michaeltryby Nov 4, 2021
df8a378
Fix MSVC syntax error
michaeltryby Nov 4, 2021
f9ef689
Fussing
michaeltryby Nov 5, 2021
6d74d60
Adding compiler information
michaeltryby Nov 5, 2021
51d619d
Merge pull request #355 from OpenWaterAnalytics/dev-version
michaeltryby Nov 5, 2021
1094aa9
Add const to function declarations
michaeltryby Nov 8, 2021
76b8ae7
Fix build error
michaeltryby Nov 24, 2021
26e6a76
toolkit pollutant setter and getter fixes:
Jan 17, 2022
41d3fb0
Issue #365 - Update .rpt header to indicate source of build (#366)
jennwuu Feb 6, 2022
025337c
Merge pull request #364 from karosc/develop
abhiramm7 Feb 7, 2022
dee7c1d
Modified pollutant getter functions
bemason Mar 24, 2022
659b0de
Updated test_pollut.cpp
bemason Mar 28, 2022
b477688
Update test_pollut.cc
bemason Mar 29, 2022
fe45019
Changes for node pollutant setter
bemason Apr 5, 2022
4f3aa95
Update toolkit.c
bemason Apr 6, 2022
53dff53
Add support for cmake option BUILD_SHARED_LIBS
Apr 7, 2022
235beb3
Fixed error in swmm_setLinkPollut() in toolkit.c
bemason Apr 11, 2022
96292bd
fix windows build arguments
Apr 12, 2022
b77e868
add print statements for debugging
bemason Apr 12, 2022
9ddf3f9
remove print statements
bemason Apr 12, 2022
9867d92
Update nrtests benchmark tag to v2.0.1
karosc Apr 12, 2022
1e556b2
Add comment cmake option addition
karosc Apr 13, 2022
aae89b3
Merge pull request #369 from karosc/develop
abhiramm7 Apr 13, 2022
35ec2c7
Modified pollutant getter functions
bemason Mar 24, 2022
b2529a0
Updated test_pollut.cpp
bemason Mar 28, 2022
4a0bbdc
Update test_pollut.cc
bemason Mar 29, 2022
150d486
Changes for node pollutant setter
bemason Apr 5, 2022
f57299e
Update toolkit.c
bemason Apr 6, 2022
3aa785a
Fixed error in swmm_setLinkPollut() in toolkit.c
bemason Apr 11, 2022
809f4f4
Merge branch 'develop' of https://github.com/bemason/Stormwater-Manag…
bemason Apr 14, 2022
e25a620
removed stdio.h from treatmnt.c from debugging
bemason Apr 14, 2022
6d6b527
Merge pull request #368 from bemason/develop
abhiramm7 Apr 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 43 additions & 61 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# build-and-test.yml - GitHub Actions CI for swmm-solver
#
# Created: May 19, 2020
# Updated: Aug 13, 2020
# Updated: Jun 22, 2021
#
# Author: Michael E. Tryby
# US EPA - ORD/CESER
Expand All @@ -14,49 +14,54 @@
name: Build and Test

on: [push, pull_request]
# push:
# branches: [master release develop]
# tags:
# - 'v*.*.*'
# pull_request:
# branches: [master release develop]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-2016, ubuntu-16.04, macos-latest]
os: [windows-2022, ubuntu-20.04, macos-10.15]
requirements: [requirements-swmm.txt]
include:
- os: windows-2016
generator: Visual Studio 15 2017 Win64
experimental: true
script_extension: cmd
- os: windows-2022
sys_pkgs: choco install boost-msvc-14.1
build_unit_test: make.cmd /g "Visual Studio 17 2022" /A "x64" /t
build_reg_test: make.cmd /g "Visual Studio 17 2022" /A "x64"
before_reg_test: before-nrtest.cmd
run_reg_test: run-nrtests.cmd
build_id: "%GITHUB_RUN_ID%_%GITHUB_RUN_NUMBER%"
experimental: false
artifacts_ext: zip
artifact_content_type: zip
gh_run_number: "%GITHUB_RUN_ID%_%GITHUB_RUN_NUMBER%"
defaults:
run:
shell: cmd
working-directory: ./ci-tools/windows
- os: ubuntu-16.04
generator: "Unix Makefiles"

- os: ubuntu-20.04
sys_pkgs: sudo apt install libboost-dev libboost-all-dev
# Statically link libraries with -s switch to address GitHub Ubuntu 20.04 symbol errors (issue #340)
build_unit_test: make.sh -s -t -g "Unix Makefiles"
build_reg_test: make.sh -s -g "Unix Makefiles"
before_reg_test: before-nrtest.sh
run_reg_test: run-nrtests.sh
build_id: ${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}
experimental: true
script_extension: sh
gh_run_number: ${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}
artifacts_ext: tar.gz
artifact_content_type: tar
defaults:
run:
shell: bash
working-directory: ./ci-tools/linux
- os: macos-latest
generator: Xcode

- os: macos-10.15
sys_pkgs: brew install libomp boost
build_unit_test: make.zsh -t -g "Xcode"
build_reg_test: make.zsh -g "Xcode"
before_reg_test: before-nrtest.zsh
run_reg_test: run-nrtests.zsh
build_id: ${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}
experimental: true
ci_tools_path: ci-tools/darwin
script_extension: zsh
gh_run_number: ${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}
artifacts_ext: tar.gz
artifact_content_type: tar
defaults:
Expand All @@ -75,14 +80,17 @@ jobs:
PROJECT: swmm
BUILD_HOME: build
TEST_HOME: nrtests
NRTESTS_URL: https://github.com/OpenWaterAnalytics/swmm-nrtestsuite
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Clone ci-tools repo
uses: actions/checkout@v2
with:
submodules: recursive
repository: OpenWaterAnalytics/ci-tools
ref: master
path: ci-tools

- name: Setup python
uses: actions/setup-python@v2
Expand All @@ -92,55 +100,29 @@ jobs:
- name: Install requirements
run: |
python -m pip install --upgrade pip
python -m pip install -r ${{ matrix.requirements }}
python -m pip install -r requirements-swmm.txt

- name: Install Darwin requirements
if: ${{ contains(matrix.os, 'macos') }}
run: |
brew install libomp
brew install boost
- name: Install required system packages
run: ${{ matrix.sys_pkgs }}

- name: Build and unit test
run: |
./make.${{ matrix.script_extension }} -t -g "${{ matrix.generator }}"
run: ./${{ matrix.build_unit_test }}

- name: Build for reg test
run: |
./make.${{ matrix.script_extension }} -g "${{ matrix.generator }}"
run: ./${{ matrix.build_reg_test }}

- name: Before reg test
run: |
./before-nrtest.${{ matrix.script_extension }}
env:
NRTESTS_URL: https://github.com/OpenWaterAnalytics/swmm-nrtestsuite
BENCHMARK_TAG: v2.0.1
run: ./${{ matrix.before_reg_test }} ${{ env.BENCHMARK_TAG }}

- name: Run reg test
run: |
./run-nrtests.${{ matrix.script_extension }} ${{ matrix.gh_run_number }}
run: ./${{ matrix.run_reg_test }} ${{ matrix.build_id }}

- name: Upload artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: build-test-artifacts
path: upload/*.*

# - name: Create release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# draft: true
# prerelease: true

# - name: Upload release assets
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: upload/${PROJECT}*.${{ matrix.artifacts_ext }}
# asset_name: owa-${PROJECT}-${{ matrix.os }}-${{ github.ref }}.${{ matrix.artifacts_ext }}
# asset_content_type: application/${{ matrix.artifact_content_type }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@


# Build files
ci-tools/
build/
*.o
/Debug/
Expand All @@ -45,3 +46,4 @@ tests/solver/data/feng*

# Generated files
*_export.h
version.h
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "ci-tools"]
path = ci-tools
url = https://github.com/OpenWaterAnalytics/ci-tools.git
26 changes: 0 additions & 26 deletions AUTHORS

This file was deleted.

23 changes: 23 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "McDonnell"
given-names: "Bryant"
orcid: "https://orcid.org/0000-0002-6250-2220"
- family-names: "Wu"
given-names: "Jia Xin"
orcid: "https://orcid.org/0000-0003-2233-9542"
- family-names: "Ratliff"
given-names: "Katherine"
orcid: "https://orcid.org/0000-0003-1410-2756"
- family-names: "Mullapudi"
given-names: "Abhiram"
orcid: "https://orcid.org/0000-0001-8141-3621"
- family-names: "Tryby"
given-names: "Michael"
orcid: "https://orcid.org/0000-0001-5525-0734"
title: "Open Water Analytics Stormwater Management Model"
version: 5.1.13
doi: 10.5281/zenodo.5484299
date-released: 2021-01-12
url: "https://github.com/OpenWaterAnalytics/Stormwater-Management-Model"
1 change: 1 addition & 0 deletions CMakeFiles/cmake.check_cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
33 changes: 18 additions & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
# CMakeLists.txt - CMake configuration file for swmm-solver
#
# Created: July 11, 2019
# Updated: May 29, 2020
# Updated: May 19, 2021
#
# Author: Michael E. Tryby
# US EPA ORD/CESER
# Authors: Michael E. Tryby
# US EPA ORD/CESER
#

################################################################################
################## CMAKELISTS FOR SWMM-SOLVER PROJECT ####################
################################################################################


cmake_minimum_required (VERSION 3.13)

Expand All @@ -18,9 +22,9 @@ endif()


project(swmm-solver
VERSION 5.1.13
VERSION 5.1.14
LANGUAGES C CXX
)
)

# Append local dir to module search path
# list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
Expand All @@ -41,9 +45,12 @@ set(LIBRARY_DIST "lib")
set(CONFIG_DIST "cmake")


# Define build options
option(BUILD_TESTS "Build component tests (requires Boost)" OFF)
option(BUILD_DOCS "Build toolkit docs (requires Doxygen)" OFF)

# Added option to statically link libraries to address GitHub Ubuntu 20.04 symbol errors (issue #340)
option(BUILD_SHARED_LIBS "Build using shared libraries" ON)

# Add project subdirectories
if(BUILD_DOCS)
Expand All @@ -61,30 +68,26 @@ if(BUILD_TESTS)
endif()


# Pass var up the project tree
if(APPLE)
set(EXTERN_LIB_PATH ${EXTERN_LIB_PATH} PARENT_SCOPE)
endif()


# Create install rules for vcruntime.dll, msvcp.dll, vcomp.dll etc.
set(CMAKE_INSTALL_OPENMP_LIBRARIES TRUE)
if(OpenMP_FOUND)
set(CMAKE_INSTALL_OPENMP_LIBRARIES TRUE)
endif()
include(InstallRequiredSystemLibraries)


# Create install target for License and Authors files
# Create install target for License and Contributors files
install(
FILES
"LICENSE"
"AUTHORS"
"CONTRIBUTORS"
DESTINATION
"."
)


# Configure CPack driven installer package
set(CPACK_GENERATOR "ZIP;TGZ")
set(CPACK_PACKAGE_VENDOR "US_EPA")
set(CPACK_PACKAGE_VENDOR "OWA")
set(CPACK_ARCHIVE_FILE_NAME "swmm")

include(CPack)
Loading