Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
44 changes: 24 additions & 20 deletions .github/workflows/app_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# fail-fast: Default is true, switch to false to allow one platform to fail and still run others
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04, windows-2022, macos-13, macos-arm64]
os: [ubuntu-22.04, ubuntu-24.04, windows-2022, macos-15-intel, macos-15]
include:
- os: ubuntu-22.04
SELF_HOSTED: false
Expand Down Expand Up @@ -64,29 +64,29 @@ jobs:
QT_OS_NAME: windows
QT_ARCH: win64_msvc2019_64
arch: x86_64
- os: macos-13
- os: macos-15-intel
SELF_HOSTED: false
PLATFORM_NAME: Darwin
BINARY_EXT: dmg
COMPRESSED_EXT: tar.gz
BINARY_PKG_PATH: _CPack_Packages/Darwin/IFW
COMPRESSED_PKG_PATH: _CPack_Packages/Darwin/TGZ
MACOSX_DEPLOYMENT_TARGET: 13.0
SDKROOT: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
SDKROOT: /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
QT_OS_NAME: mac
QT_ARCH: clang_64
arch: x86_64
- os: macos-arm64
SELF_HOSTED: true
- os: macos-15
SELF_HOSTED: false
PLATFORM_NAME: Darwin
BINARY_EXT: dmg
COMPRESSED_EXT: tar.gz
BINARY_PKG_PATH: _CPack_Packages/Darwin/IFW
COMPRESSED_PKG_PATH: _CPack_Packages/Darwin/TGZ
MACOSX_DEPLOYMENT_TARGET: 13.0
SDKROOT: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
SDKROOT: /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
QT_OS_NAME: mac
QT_ARCH: arm_64
QT_ARCH: clang_64
arch: arm64

steps:
Expand Down Expand Up @@ -184,10 +184,10 @@ jobs:
echo "/Users/irvinemac/Qt/Tools/QtInstallerFramework/4.3/bin/" >> $GITHUB_PATH
else
echo "Setting Xcode version"
sudo xcode-select -s "/Applications/Xcode_15.2.app/Contents/Developer/"
sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer/"

echo "Using brew to install ninja"
brew install ninja md5sha1sum ccache
brew install md5sha1sum ccache

ccache --set-config=cache_dir=$CCACHE_DIR
ccache --set-config=max_size=500M
Expand All @@ -196,9 +196,12 @@ jobs:

# The openssl@3 package installed on CI adds these files to the pkgconfig directory
# Remove them here so they aren't found instead of the version of OpenSSL built by Conan
rm /usr/local/lib/pkgconfig/libcrypto.pc
rm /usr/local/lib/pkgconfig/libssl.pc
rm /usr/local/lib/pkgconfig/openssl.pc
if [ -d /usr/local/lib/pkgconfig/ ]; then
ls -alsh /usr/local/lib/pkgconfig/
rm -f /usr/local/lib/pkgconfig/libcrypto.pc
rm -f /usr/local/lib/pkgconfig/libssl.pc
rm -f /usr/local/lib/pkgconfig/openssl.pc
fi;
fi;
fi;

Expand Down Expand Up @@ -235,8 +238,8 @@ jobs:
brew list aria2 || brew install aria2
aria2c https://www.apple.com/certificateauthority/AppleWWDRCAG2.cer
aria2c https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer
security import AppleWWDRCAG2.cer -k $KEYCHAIN_PATH
security import DeveloperIDG2CA.cer -k $KEYCHAIN_PATH
security import AppleWWDRCAG2.cer -k $KEYCHAIN_PATH || true
security import DeveloperIDG2CA.cer -k $KEYCHAIN_PATH || true
security find-identity -vvvv $KEYCHAIN_PATH
security find-identity -v -p codesigning

Expand Down Expand Up @@ -430,6 +433,8 @@ jobs:
pip show setuptools || true
pip install setuptools --upgrade
pip3 install aqtinstall
aqt list-qt mac desktop --arch 6.5.2
aqt list-qt mac desktop --modules 6.5.2 ${{ matrix.QT_ARCH }}
aqt install-qt --outputdir ./build/Qt-install/ ${{ matrix.QT_OS_NAME }} desktop $QT_VERSION ${{ matrix.QT_ARCH }} -m qtwebchannel qtwebengine qtwebview qt5compat qtpositioning qtcharts
fi

Expand Down Expand Up @@ -698,17 +703,16 @@ jobs:
# fail-fast: Default is true, switch to false to allow one platform to fail and still run others
fail-fast: false
matrix:
os: [macos-13, macos-14]
os: [macos-15-intel, macos-15]
include:
- os: macos-13
binary_os: macos-13
- os: macos-15-intel
binary_os: macos-15-intel
SELF_HOSTED: false
BINARY_EXT: dmg
COMPRESSED_EXT: tar.gz
arch: x86_64
# This is the GHA hosted one
- os: macos-14
binary_os: macos-arm64
- os: macos-15
binary_os: macos-15
SELF_HOSTED: false
BINARY_EXT: dmg
COMPRESSED_EXT: tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_osm_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2

- name: Verify that OSMs have been updated
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/export_standards_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:

jobs:
export-os-standards:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.8.x'
python-version: '3.12.x'

- name: Extract OS SDK version from FindOpenStudioSDK.cmake
shell: python
Expand Down
4 changes: 2 additions & 2 deletions CMake/install_codesign_script_OpenStudioApp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ endif()

set(FILES_TO_SIGN
EnergyPlus/ExpandObjects
EnergyPlus/energyplus-25.1.0
EnergyPlus/energyplus-25.2.0
EnergyPlus/energyplus.1
EnergyPlus/libenergyplusapi.25.1.0.dylib
EnergyPlus/libenergyplusapi.25.2.0.dylib
EnergyPlus/libintl.8.dylib
EnergyPlus/libpython3.12.dylib
Ruby/openstudio.bundle
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(CCACHE_PROGRAM)
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM} CACHE FILEPATH "C compiler cache used")
endif()

project(OpenStudioApplication VERSION 1.10.0)
project(OpenStudioApplication VERSION 1.11.0)

# Check system info globally so we can use it everywhere after: Has to be done before FindOpenStudioSDK.cmake
if(APPLE)
Expand Down Expand Up @@ -272,7 +272,7 @@ endif()

# TODO: Modify the more specific variables as needed to indicate prerelease, etc
# Keep in beta in-between release cycles. Set to empty string (or comment out) for official)
set(PROJECT_VERSION_PRERELEASE "")
set(PROJECT_VERSION_PRERELEASE "rc1")

# OpenStudio version: Only include Major.Minor.Patch, eg "3.0.0", even if you have a prerelease tag
set(OPENSTUDIOAPPLICATION_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
Expand Down Expand Up @@ -691,7 +691,7 @@ include_directories("${PROJECT_BINARY_DIR}/src/")
if(MSVC)
# treat warnings as errors
add_definitions(/WX)
elseif()
else()
add_definitions(-Werror)
endif()

Expand Down
20 changes: 10 additions & 10 deletions FindOpenStudioSDK.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OPENSTUDIO_VERSION_MAJOR 3)
set(OPENSTUDIO_VERSION_MINOR 10)
set(OPENSTUDIO_VERSION_MINOR 11)
set(OPENSTUDIO_VERSION_PATCH 0)
set(OPENSTUDIO_VERSION "${OPENSTUDIO_VERSION_MAJOR}.${OPENSTUDIO_VERSION_MINOR}.${OPENSTUDIO_VERSION_PATCH}")

#If this is an official release, leave this "", otherwise put for eg '-rc1'
set(OPENSTUDIO_VERSION_PRERELEASE "")
# Enter SHA, always, eg "+79857912c4"
set(OPENSTUDIO_VERSION_SHA "+86d7e215a1")
set(OPENSTUDIO_VERSION_SHA "+241b8abb4d")

# Paths where the cmake-downloaded archives will be put
set(OPENSTUDIO_ARCHIVE_DIR "${PROJECT_BINARY_DIR}/OpenStudio-${OPENSTUDIO_VERSION}")
Expand All @@ -17,37 +17,37 @@ set(OPENSTUDIO_EXT "tar.gz")
if(APPLE)
set(OPENSTUDIO_PLATFORM "Darwin-${ARCH}")
if(ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH b412f1cd6ab6747c75dece567291e81e)
set(OPENSTUDIO_EXPECTED_HASH 92145ffe9f13c8fee1df48a0f781e280)
else()
set(OPENSTUDIO_EXPECTED_HASH 00d0321aa6c4ab5a3c36fe2335a07157)
set(OPENSTUDIO_EXPECTED_HASH 001c938919ef5cbbeed4b3e2411d9796)
endif()

elseif(UNIX)
set(OPENSTUDIO_PLATFORM "${LSB_RELEASE_ID_SHORT}-${LSB_RELEASE_VERSION_SHORT}-${ARCH}")
if(LSB_RELEASE_VERSION_SHORT MATCHES "24.04")
#set(OPENSTUDIO_PLATFORM "${LSB_RELEASE_ID_SHORT}-22.04-${ARCH}")
if (ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH b4f328e0b28a479c55a338e87dac254f)
set(OPENSTUDIO_EXPECTED_HASH 628d58dddf83034866ec38c2ff522736)
else()
set(OPENSTUDIO_EXPECTED_HASH 92c3407f888731d6da30b0a7b49d0f5c)
set(OPENSTUDIO_EXPECTED_HASH e761fe3678fd906a50e16a54dab10cd1)
endif()
elseif(LSB_RELEASE_VERSION_SHORT MATCHES "22.04")
if (ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH d1ae86bba822eeb0541a7603e81a4074)
set(OPENSTUDIO_EXPECTED_HASH 361b01db5caf7086e6730b3b0063f104)
else()
set(OPENSTUDIO_EXPECTED_HASH 209820bd2f9b487f0d0f4d4df311753f)
set(OPENSTUDIO_EXPECTED_HASH 7d4071fe910e5297b66f66ee74754fa6)
endif()
elseif(LSB_RELEASE_ID_SHORT MATCHES "AlmaLinux")
if (ARCH MATCHES "arm64")
message(FATAL_ERROR "OpenStudio SDK for AlmaLinux is only built for x86_64")
endif()
set(OPENSTUDIO_EXPECTED_HASH 7ed93ad951b654cc6466803e365ddc17)
set(OPENSTUDIO_EXPECTED_HASH a578519e4c7537a7ad730006f1ffeb79)
else()
message(FATAL_ERROR "OpenStudio SDK no longer provides packages for Ubuntu 20.04 or older")
endif()

elseif(WIN32)
set(OPENSTUDIO_EXPECTED_HASH afd101545253e8e7ba17b7b88c0556a2)
set(OPENSTUDIO_EXPECTED_HASH eb366f8a64a20977bb5976ebdcccf513)
set(OPENSTUDIO_PLATFORM "Windows")
endif()

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OpenStudio(R), Copyright (c) 2020-2024, OpenStudio Coalition and other contributors. All rights reserved.
OpenStudio(R), Copyright (c) 2020-2025, OpenStudio Coalition and other contributors. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
Expand Down
10 changes: 5 additions & 5 deletions conan.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"zlib/1.3.1#af8f2ef3d8e0fddf1975281d7fe43bf6%1705999193.687",
"websocketpp/0.8.2#842a0419153a8aa52f3ea3a1da557d38%1695972005.713",
"tinygltf/2.5.0#65c28d0a4c3cbd4ef92b08b59df769da%1701621757.442",
"termcap/1.3.1#1986f84bf21dd07ea774b027a3201fcb%1678542508.75",
"swig/4.1.1#8f418438101ef7712d52a9fe739d32f9%1707838669.551",
"termcap/1.3.1#479400c750a869f77b3d2d3a82e06f7d%1755703795.492",
"swig/4.1.1#2bb5c79321cbb05bcab525c690d9bf74%1707838669.551",
"stb/cci.20230920#9792498b81cf34a90138d239e36b0bf8%1700546289.605",
"sqlite3/3.38.5#4b875d4249cdfb4c1235e6b3ea6c18e7%1676251415.466",
"ruby/3.2.2#e349279c358fd8f54d83446a3af8ecfe%1718616192.725",
Expand All @@ -19,8 +19,8 @@
"libxslt/1.1.37#8c0548495527cea12de08ad6212fc3ce%1703714812.414",
"libxml2/2.11.6#41c14895baba105865cb22ecaf948115%1703682489.517",
"libiconv/1.17#9d9082101394d053c67e95d3bc9f1e78%1701083487.832",
"libgettext/0.22#2c87563d7a69544dd9379f038aca3b0b%1692434363.136",
"libffi/3.4.4#35eb63842b505824b70aedc1baefc916%1682741110.044",
"libgettext/0.22#7d52ceb5f97b1de1de8362c9b68b4385%1692434363.136",
"libffi/3.4.4#33feb967b22d92ea0becce63bf9d5490%1764805028.297",
"libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c%1676205469.545",
"jsoncpp/1.9.5#9d91be1604af36ced56ae89ee65d53e0%1673844106.486",
"gtest/1.14.0#4372c5aed2b4018ed9f9da3e218d18b3%1691143988.385",
Expand Down Expand Up @@ -57,4 +57,4 @@
]
},
"config_requires": []
}
}
1 change: 1 addition & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def requirements(self):
self.requires("geographiclib/1.52") # 76536a9315a003ef3511919310b2fe37
self.requires("swig/4.1.1") # Pending https://github.com/conan-io/conan-center-index/pull/19058
self.requires("tinygltf/2.5.0") # c8b2aca9505e86312bb42aa0e1c639ec
self.requires("termcap/1.3.1#479400c750a869f77b3d2d3a82e06f7d") # need version with updated minimum cmake
# self.requires("cli11/2.3.2") # 8ccdf14fb1ad53532d498c16ae580b4b

self.requires(
Expand Down
5 changes: 3 additions & 2 deletions developer/ruby/export_openstudio_standards_libraries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@ def export_openstudio_standards_libraries
std_applier.space_type_apply_rendering_color(space_type)

# Loads
std_applier.space_type_apply_internal_loads(space_type, true, true, true, true, true)
std_applier.space_type_apply_internal_loads(space_type)

# Schedules
std_applier.space_type_apply_internal_load_schedules(space_type, true, true, true, true, true, true)
std_applier.space_type_apply_internal_load_schedules(space_type)

end
end
Expand Down Expand Up @@ -535,6 +535,7 @@ def export_openstudio_standards_libraries
log_path = "#{osm_lib_dir}/#{template_name.gsub(/\W/,'_')}.log"
STDERR.puts "* Saving log #{log_path}"
log_messages_to_file(log_path, debug=false)
exit
end

end
Expand Down
Loading