-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into MinGWbuild
Conflicts: src/EnergyPlus/EnergyPlusPgm.cc
- Loading branch information
Showing
488 changed files
with
26,741 additions
and
10,675 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
compilers: | ||
- name: clang | ||
release_build_cmake_extra_flags: -DENABLE_LTO:BOOL=ON | ||
cmake_extra_flags: -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=ON -DREGRESSION_BASELINE_PATH:PATH=$REGRESSION_BASELINE -DREGRESSION_SCRIPT_PATH:PATH=$REGRESSION_DIR -DREGRESSION_BASELINE_SHA:STRING=$REGRESSION_BASELINE_SHA -DCOMMIT_SHA=$COMMIT_SHA | ||
cmake_extra_flags: -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=ON -DREGRESSION_BASELINE_PATH:PATH=$REGRESSION_BASELINE -DREGRESSION_SCRIPT_PATH:PATH=$REGRESSION_DIR -DREGRESSION_BASELINE_SHA:STRING=$REGRESSION_BASELINE_SHA -DCOMMIT_SHA=$COMMIT_SHA -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH} | |
|
||
set( CMAKE_VERSION_MAJOR 8 ) | ||
set( CMAKE_VERSION_MINOR 2 ) | ||
set( CMAKE_VERSION_PATCH 8 ) | ||
set( CMAKE_VERSION_PATCH 9 ) | ||
|
||
set( ENERGYPLUS_VERSION "${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH}" ) | ||
|
||
|
@@ -43,6 +43,9 @@ set(CPACK_PACKAGE_CONTACT "Kyle Benne <[email protected]>") | |
option( BUILD_PACKAGE "Build package" OFF ) | ||
option( BUILD_TESTING "Build testing targets" OFF ) | ||
option( BUILD_FORTRAN "Build Fortran stuff" OFF ) | ||
# Turning ENABLE_GTEST_DEBUG_MODE ON will cause assertions and exceptions to halt the test case and unwind. | ||
# Turn this option OFF for automated testing. | ||
option( ENABLE_GTEST_DEBUG_MODE "Enable options to help debug test failures" ON ) | ||
|
||
if( BUILD_TESTING ) | ||
option( ENABLE_REGRESSION_TESTING "Enable Regression Tests" OFF ) | ||
|
@@ -182,14 +185,14 @@ endif() | |
|
||
|
||
set(OPTIMIZABLE_TARGETS | ||
sqlite objexx bcvtb epexpat epfmiimport miniziplib DElight EnergyPlus EnergyPlusAPI EnergyPlusLib EnergyPlusLib2 | ||
sqlite objexx bcvtb epexpat epfmiimport miniziplib DElight energyplus energyplusapi energypluslib energypluslib2 | ||
) | ||
if(NOT APPLE AND NOT MSVC) | ||
list(APPEND OPTIMIZABLE_TARGETS parser) | ||
endif() | ||
|
||
if(NOT MSVC) | ||
list(APPEND OPTIMIZABLE_TARGETS objexx_tests EnergyPlus_tests) | ||
list(APPEND OPTIMIZABLE_TARGETS objexx_tests energyplus_tests) | ||
endif() | ||
|
||
if(MSVC AND (PROFILE_GENERATE OR PROFILE_USE OR ENABLE_LTO) ) | ||
|
@@ -260,12 +263,12 @@ elseif (CMAKE_COMPILER_IS_GNUCXX) | |
if(ENABLE_LTO) | ||
set_target_properties(${OPTIMIZABLE_TARGETS} | ||
PROPERTIES LINK_FLAGS "-flto=7 -fno-use-linker-plugin" COMPILE_FLAGS "-flto=7 -fno-use-linker-plugin") | ||
set_target_properties(EnergyPlus | ||
set_target_properties(energyplus | ||
PROPERTIES LINK_FLAGS "-flto=7 -fuse-linker-plugin -fwhole-program" COMPILE_FLAGS "-flto=7 -fuse-linker-plugin -fwhole-program") | ||
endif() | ||
|
||
if (PROFILE_GENERATE) | ||
set_target_properties(${OPTIMIZABLE_TARGETS} EnergyPlus_tests TestEnergyPlusCallbacks | ||
set_target_properties(${OPTIMIZABLE_TARGETS} energyplus_tests TestEnergyPlusCallbacks | ||
PROPERTIES LINK_FLAGS "-fprofile-generate" COMPILE_FLAGS "-fprofile-generate") | ||
endif() | ||
|
||
|
@@ -277,12 +280,12 @@ elseif (CMAKE_COMPILER_IS_GNUCXX) | |
if (PROFILE_USE AND ENABLE_LTO) | ||
set_target_properties(${OPTIMIZABLE_TARGETS} | ||
PROPERTIES LINK_FLAGS "-flto=7 -fno-use-linker-plugin -fprofile-use" COMPILE_FLAGS "-flto=7 -fno-use-linker-plugin -fprofile-use") | ||
set_target_properties(EnergyPlus | ||
set_target_properties(energyplus | ||
PROPERTIES LINK_FLAGS "-flto=7 -fuse-linker-plugin -fwhole-program -fprofile-use" COMPILE_FLAGS "-flto=7 -fuse-linker-plugin -fwhole-program -fprofile-use") | ||
endif() | ||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" ) # Clang | ||
if(ENABLE_LTO) | ||
set_target_properties(EnergyPlus | ||
set_target_properties(energyplus | ||
PROPERTIES LINK_FLAGS "-flto" COMPILE_FLAGS "-flto") | ||
endif() | ||
|
||
|
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.
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - x86_64-MacOS-10.9-clang: OK (1614 of 1614 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (1620 of 1620 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - i386-Windows-7-VisualStudio-12: Tests Failed
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (622 of 622 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1122 of 1122 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - Win64-Windows-7-VisualStudio-12: OK (1620 of 1620 tests passed)
0b5170c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MinGWbuild (jasondegraw) - i386-Windows-7-VisualStudio-12: OK (1620 of 1620 tests passed)