Skip to content

Commit

Permalink
Merge branch 'develop' into 168195503_Issue7477
Browse files Browse the repository at this point in the history
  • Loading branch information
nigusse committed Sep 24, 2019
2 parents 3bfdddb + 6efe79e commit 46c00a8
Show file tree
Hide file tree
Showing 230 changed files with 37,247 additions and 28,553 deletions.
2 changes: 2 additions & 0 deletions .decent_ci-Linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ compilers:
- ./scripts/dev/verify_file_encodings.py
- ./scripts/dev/validate_idd_units.py
- ./scripts/dev/find_byref_bool_override.py
- ./scripts/dev/check_for_tabs_in_idfs.py
- ./scripts/dev/check_for_bom_in_idfs.py

- name: "gcc"
version: "7.4"
Expand Down
48 changes: 23 additions & 25 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
Pull request overview
---------------------
Please change this line to a description of the pull request, with useful supporting information including whether it is a new feature, or fixes a defect, a cross reference to any defects addressed in this PR, the type of changes to be made, and whether diffs are expected/justified based on this change.
- Fixes #ISSUENUMBERHERE (IF THIS IS A DEFECT)
- DESCRIBE PURPOSE OF THIS PULL REQUEST

### Work Checklist
**NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE**

### Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
- [ ] Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
- [ ] At least one of the following appropriate labels must be added to this PR to be consumed into the changelog:
- Defect: This pull request repairs a github defect issue. The github issue should be referenced in the PR description
- Refactoring: This pull request includes code changes that don't change the functionality of the program, just perform refactoring
- NewFeature: This pull request includes code to add a new feature to EnergyPlus
- Performance: This pull request includes code changes that are directed at improving the runtime performance of EnergyPlus
- DoNoPublish: This pull request includes changes that shouldn't be included in the changelog
- [ ] Label the PR with at least one of: Defect, Refactoring, NewFeature, Performance, and/or DoNoPublish
- [ ] Pull requests that impact EnergyPlus code must also include unit tests to cover enhancement or defect repair
- [ ] Author should provide a "walkthrough" of relevant code changes using a GitHub code review comment process
- [ ] If any diffs are expected, author must demonstrate they are justified using plots and descriptions
- [ ] If changes fix a defect, the fix should be demonstrated in plots and descriptions
- [ ] If any defect files are updated to a more recent version, upload new versions here or on DevSupport
- [ ] If IDD requires transition, transition source, rules, ExpandObjects, and IDFs must be updated, and add IDDChange label
- [ ] If structural output changes, add to output rules file and add OutputChange label
- [ ] If adding/removing any LaTeX docs or figures, update that document's CMakeLists file dependencies

### Review Checklist
### Reviewer
This will not be exhaustively relevant to every PR.
- [ ] Functional code review (it has to work!)
- [ ] If defect, results of running current develop vs this branch should exhibit the fix
- [ ] Perform a Code Review on GitHub
- [ ] If branch is behind develop, merge develop and build locally to check for side effects of the merge
- [ ] If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
- [ ] If feature, test running new feature, try creative ways to break it
- [ ] CI status: all green or justified
- [ ] Performance: CI Linux results include performance check
- [ ] Unit Test(s)
- C++ checks:
- [ ] Argument types
- [ ] If any virtual classes, ensure virtual destructor included, other things
- IDD changes:
- [ ] Verify naming conventions and styles, memos and notes and defaults
- [ ] Open windows IDF Editor with modified IDD to check for errors
- [ ] If transition, add to input rules file for interfaces
- [ ] If transition, add transition source
- [ ] If transition, update idfs
- [ ] Check that performance is not impacted (CI Linux results include performance check)
- [ ] Run Unit Test(s) locally
- [ ] Check any new function arguments for performance impacts
- [ ] Verify IDF naming conventions and styles, memos and notes and defaults
- [ ] If new idf included, locally check the err file and other outputs
- [ ] Required documentation updates?
- [ ] ExpandObjects changes?
- [ ] If output changes, including tabular output structure, add to output rules file for interfaces
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif()

Project(EnergyPlus)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
cmake_minimum_required(VERSION 3.5.1)

if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_GREATER "3.0")
CMAKE_POLICY(SET CMP0054 NEW) # CMake 3.1 added this policy
Expand Down
18 changes: 12 additions & 6 deletions cmake/Install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,11 @@ endif ()

########################################################## S Y S T E M L I B R A R I E S ######################################################

# TODO: is this unecessary now? I had forgotten to actually create a Libraries via cpack_add_component but everything seemed fined
# At worse, try not to uncomment this as is, but place it inside an if(PLATFORM) statement
#SET(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
#INCLUDE(InstallRequiredSystemLibraries)
#INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "./" COMPONENT Libraries)
# Set to TRUE to install the Windows Universal CRT libraries for app-local deployment (e.g. to Windows XP).
# This is meaningful only with MSVC from Visual Studio 2015 or higher, which is our case
SET(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
INCLUDE(InstallRequiredSystemLibraries)
INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "./" COMPONENT Libraries)

######################################################################################################################################################
# P A C K A G I N G & C O M P O N E N T S #
Expand All @@ -555,6 +555,10 @@ include(CPack)
include(CPackIFW)
# include(CPackComponent)

# Note: If you ever need to debug a CPack Package Error in MSVC, right-click on "PACKAGE" target, click Properties
# and in the Build Events > Post Build Event, edit the command that calls cpack to add `--verbose --debug`:
# eg: `"C:\Program Files\CMake\bin\cpack.exe" -C $(Configuration) --config ./CPackConfig.cmake --verbose --debug`

#cpack_add_component(EnergyPlus
#DISPLAY_NAME "EnergyPlus"
#DESCRIPTION "The EnergyPlus program itself"
Expand Down Expand Up @@ -597,7 +601,8 @@ cpack_add_component(Symlinks
cpack_add_component(Licenses
DISPLAY_NAME "Licenses"
DESCRIPTION "License files for EnergyPlus"
REQUIRED)
REQUIRED
HIDDEN)

# No need for system privileges for this
cpack_add_component(CreateStartMenu
Expand All @@ -614,6 +619,7 @@ cpack_add_component(CopyAndRegisterSystemDLLs
DISPLAY_NAME "Copy and Register DLLs"
DESCRIPTION "This will copy and register system DLLs such as Fortran if they don't already exist"
REQUIRED
HIDDEN
)

#cpack_add_component(Libraries
Expand Down
Loading

6 comments on commit 46c00a8

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (11 of 11 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - x86_64-Linux-Ubuntu-18.04-gcc-7.4: OK (2606 of 2616 tests passed, 3 test warnings)

Messages:\n

  • 12 tests had: AUD diffs.
  • 13 tests had: EIO diffs.
  • 10 tests had: Table big diffs.

Failures:\n

regression Test Summary

  • Passed: 679
  • Failed: 10

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-UnitTestsCoverage-Debug: OK (1236 of 1236 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - Win64-Windows-10-VisualStudio-16: OK (2566 of 2576 tests passed, 3 test warnings)

Messages:\n

  • 12 tests had: AUD diffs.
  • 13 tests had: EIO diffs.
  • 10 tests had: Table big diffs.

Failures:\n

regression Test Summary

  • Passed: 659
  • Failed: 10

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

168195503_Issue7477 (Unknown) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-IntegrationCoverage-Debug: OK (674 of 674 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.