Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into extendedHIspeedFix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujie Xu committed Oct 7, 2024
2 parents 88aa6fb + 94a8878 commit 87081c2
Show file tree
Hide file tree
Showing 100 changed files with 17,543 additions and 583 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Releases
name: Linux Releases

on:
push:
Expand Down Expand Up @@ -127,16 +127,10 @@ jobs:
# fail-fast: Default is true, switch to false to allow one platform to fail and still run others
fail-fast: false
matrix:
name: [20, 22, 24]
include:
- name: 20
os: ubuntu-20.04
test_key: ubuntu2004
- name: 22
os: ubuntu-22.04
- os: ubuntu-22.04
test_key: ubuntu2204
- name: 24
os: ubuntu-24.04
- os: ubuntu-24.04
test_key: ubuntu2404

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Releases
name: Mac Releases

on:
push:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
echo "Installing gcc@13 for gfortran support of -static-libquadmath"
brew list gcc@13 || brew install gcc@13
which gfortran-13 || echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
brew install ninja
brew install ninja tcl-tk
- name: Create Build Directory
run: cmake -E make_directory ./build/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Releases
name: Windows Releases

on:
push:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test_develop_commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Develop Branch Testing

on:
push:
branches: [ develop ] # run this on all commits to the develop branch
branches: [ develop, fixPythonEngineBuild ] # run this on all commits to the develop branch

defaults:
run:
Expand Down Expand Up @@ -58,13 +58,13 @@ jobs:
# nproc: 4
# pretty: "Standard Build on Windows VS 2022"
# alternate: false
# - os: ubuntu-24.04
# arch: x86_64
# python-arch: x64
# generator: "Unix Makefiles"
# nproc: 4
# pretty: "Alternate Build on Ubuntu 24.04"
# alternate: true
- os: ubuntu-24.04
arch: x86_64
python-arch: x64
generator: "Unix Makefiles"
nproc: 4
pretty: "Alternate Build on Ubuntu 24.04"
alternate: true

steps:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
if: runner.os == 'macOS'
run: |
brew update
brew install tcl-tk
brew reinstall gcc@13
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
echo MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos_dev_target }} >> $GITHUB_ENV
Expand Down
80 changes: 0 additions & 80 deletions bin/EP-Compare/GraphHints.csv

This file was deleted.

Binary file removed bin/EP-Compare/Run-Linux/EP-Compare
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 changes: 0 additions & 42 deletions bin/EP-Compare/Run-Mac/EP-Compare.app/Contents/Info.plist

This file was deleted.

Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion bin/EP-Compare/Run-Mac/EP-Compare.app/Contents/PkgInfo

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
41 changes: 0 additions & 41 deletions bin/EP-Compare/Run-Mac/codesign.sh

This file was deleted.

14 changes: 0 additions & 14 deletions bin/EP-Compare/Run-Mac/entitlements.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/EP-Compare/Run-Win/EP-Compare.exe
Binary file not shown.
9 changes: 9 additions & 0 deletions bin/EP-Compare/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The EP-Compare program is no longer included in the EnergyPlus distribution. It appeared to be seldom used and had not been updated in many years.

Please install EnergyPlus 24.1 or earlier if you would like a copy. It should work just as well with later distributions.

If you would like to see further development of EP-Compare, please contact the original author:

Jason Glazer
[email protected]

2 changes: 0 additions & 2 deletions cmake/CMakeCPackOptions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ if(CPACK_GENERATOR MATCHES "NSIS")
set(CPACK_NSIS_MENU_LINKS
"Documentation/index.html"
"EnergyPlus Documentation"
"PostProcess/EP-Compare/EP-Compare.exe"
"EP-Compare"
"PreProcess/EPDraw/EPDrawGUI.exe"
"EPDrawGUI"
"EP-Launch.exe"
Expand Down
2 changes: 0 additions & 2 deletions cmake/CPack.STGZ_Header.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ if [ ! "$link_directory" = "n" ]; then
ln -sf "${install_directory}/energyplus" "${link_directory}/energyplus" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/Energy+.idd" "${link_directory}" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/Energy+.schema.epJSON" "${link_directory}" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/PostProcess/EP-Compare/EP-Compare" "${link_directory}" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/EPMacro" "${link_directory}" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/ExpandObjects" "${link_directory}" 2> /dev/null > /dev/null || link_err
ln -sf "${install_directory}/PostProcess/HVAC-Diagram" "${link_directory}" 2> /dev/null > /dev/null || link_err
Expand All @@ -141,7 +140,6 @@ if [ ! "$link_directory" = "n" ]; then
rm -f "${link_directory}/energyplus"
rm -f "${link_directory}/Energy+.idd"
rm -f "${link_directory}/Energy+.schema.epJSON"
rm -f "${link_directory}/EP-Compare"
rm -f "${link_directory}/EPMacro"
rm -f "${link_directory}/ExpandObjects"
rm -f "${link_directory}/HVAC-Diagram"
Expand Down
35 changes: 3 additions & 32 deletions cmake/Install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -418,20 +418,7 @@ if(WIN32)
install(FILES "${PROJECT_SOURCE_DIR}/bin/WeatherConverter/TimeZoneCodes.txt" DESTINATION "PreProcess/WeatherConverter/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/WeatherConverter/WBANLocations.csv" DESTINATION "PreProcess/WeatherConverter/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/WeatherConverter/Weather.exe" DESTINATION "PreProcess/WeatherConverter/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/Appearance Pak.dll"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/EHInterfaces5001.dll"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/EHObjectArray5001.dll"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/EHObjectCollection5001.dll"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/EHTreeView4301.DLL"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare Libs/MBSChartDirector5Plugin16042.dll"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Win/EP-Compare.exe" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/GraphHints.csv" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/readme.txt" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EPDraw/Run-Win/EPDrawGUI Libs/Appearance Pak.dll" DESTINATION "PreProcess/EPDraw/EPDrawGUI Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EPDraw/Run-Win/EPDrawGUI Libs/Shell.dll" DESTINATION "PreProcess/EPDraw/EPDrawGUI Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EPDraw/Run-Win/EPDrawGUI.exe" DESTINATION "PreProcess/EPDraw/")
Expand Down Expand Up @@ -512,8 +499,7 @@ if(APPLE)

install(DIRECTORY "${PROJECT_SOURCE_DIR}/bin/EP-Launch-Lite/EP-Launch-Lite.app" DESTINATION "PreProcess")
install(DIRECTORY "${PROJECT_SOURCE_DIR}/bin/IDFVersionUpdater/Run-Mac/IDFVersionUpdater.app" DESTINATION "PreProcess/IDFVersionUpdater")
install(DIRECTORY "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Mac/EP-Compare.app" DESTINATION "PostProcess/EP-Compare")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/GraphHints.csv" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/readme.txt" DESTINATION "PostProcess/EP-Compare/")
install(PROGRAMS "${PROJECT_SOURCE_DIR}/bin/EPMacro/Mac/EPMacro" DESTINATION "./")

configure_file(scripts/runenergyplus.in "${PROJECT_BINARY_DIR}/scripts/runenergyplus" @ONLY)
Expand Down Expand Up @@ -549,21 +535,7 @@ elseif(UNIX)
set(CPACK_IFW_TARGET_DIRECTORY
"/usr/local/${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}")

install(PROGRAMS "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/GraphHints.csv" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/EHInterfaces5001.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/EHObjectArray5001.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/EHObjectCollection5001.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/EHTreeView4301.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/libMBSChartDirector5Plugin16042.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/Run-Linux/EP-Compare Libs/libRBAppearancePak.so"
DESTINATION "PostProcess/EP-Compare/EP-Compare Libs/")

install(FILES "${PROJECT_SOURCE_DIR}/bin/EP-Compare/readme.txt" DESTINATION "PostProcess/EP-Compare/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/IDFVersionUpdater/Run-Linux/IDFVersionUpdater Libs/libRBAppearancePak64.so"
DESTINATION "PreProcess/IDFVersionUpdater/IDFVersionUpdater Libs/")
install(FILES "${PROJECT_SOURCE_DIR}/bin/IDFVersionUpdater/Run-Linux/IDFVersionUpdater Libs/libRBCrypto64.so"
Expand Down Expand Up @@ -710,7 +682,6 @@ if(APPLE)
# "EPMacro"
# "PreProcess/EP-Launch-Lite.app"
# "PreProcess/IDFVersionUpdater/IDFVersionUpdater.app"
# "PostProcess/EP-Compare/EP-Compare.app"
)

# Codesign inner binaries and libraries, in the CPack staging area for the EnergyPlus project, component Unspecified
Expand Down
Loading

4 comments on commit 87081c2

@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.

extendedHIspeedFix (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (2927 of 2927 tests passed, 0 test warnings)

Build Badge Test 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.

extendedHIspeedFix (Unknown) - Win64-Windows-10-VisualStudio-16: OK (2905 of 2905 tests passed, 0 test warnings)

Build Badge Test 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.

extendedHIspeedFix (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-RelWithDebInfo: OK (2109 of 2109 tests passed, 0 test warnings)

Build Badge Test Badge Coverage 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.

Please sign in to comment.