Skip to content

Conversation

@jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Jul 7, 2025

Comment on lines +40 to +44
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)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pickup the AlmaLinux9 OpenStudio tgz

@jmarrec jmarrec self-assigned this Jul 7, 2025
@jmarrec jmarrec added the Enhancement Request New feature or request label Jul 7, 2025
@jmarrec
Copy link
Collaborator Author

jmarrec commented Jul 7, 2025

I'm building the installer locally right now.

Edit: I hosted the built installers on the https://github.com/openstudiocoalition/OpenStudioApplication/releases/tag/v1.10.0-rc1 page

I have a docker container based on https://github.com/jmarrec/openstudio-cmake-tools/blob/main/Dockerfile_centos9

https://hub.docker.com/layers/jmarrec/openstudio-cmake-tools/almalinux9-v1.1.0/images/sha256-8a681b4fef65aa5fabed1600958ddb01e4adc65b8801c71ff21cc28ff7b39422

I had to install a couple of extra things

dnf install chrpath patchelf libxkbfile

And Qt of course

export QT_VERSION=6.5.2
export QT_ARCH=gcc_64
export QT_INSTALL_DIR=/opt/Qt/$QT_VERSION/$QT_ARCH
aqt install-qt --outputdir /opt/Qt linux desktop $QT_VERSION $QT_ARCH -m qtwebchannel qtwebengine qtwebview qt5compat qtpositioning qtcharts
export PATH=$QT_INSTALL_DIR:$PATH

Then business as usual

git clone https://github.com/openstudiocoalition/OpenStudioApplication.git

cd OpenStudioApplication

conan install . --output-folder=../OSApp-build-release --build='missing' -c tools.cmake.cmaketoolchain:generator=Ninja -s compiler.cppstd=20 -s build_type=Release
cmake --preset conan-release -DQT_INSTALL_DIR:PATH=$QT_INSTALL_DIR -DBUILD_DOCUMENTATION:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DCPACK_BINARY_RPM:BOOL=ON -DCPACK_BINARY_TGZ:BOOL=ON -DCPACK_BINARY_DEB:BOOL=OFF
cmake --build --preset conan-release --target package

@jmarrec
Copy link
Collaborator Author

jmarrec commented Jul 8, 2025

I created a VirtualBox VM for Almalinux 9.6 desktop workstation, installed the RPM I built and ran the OSApp without issue.

I think the configuration for the icon/launcher isn't working, but that's ok, running from bash via /usr/local/openstudioapplication-1.10.0-rc1/bin/OpenStudioApp works fine.

Screenshot from 2025-07-08 09-59-59

@jmarrec jmarrec merged commit 9be1014 into develop Jul 8, 2025
10 checks passed
@jmarrec jmarrec deleted the 799_AlmaLinux9 branch July 8, 2025 08:00
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2025
@macumber
Copy link
Collaborator

@jmarrec just FYI, I was able to reproduce this build

@jmarrec
Copy link
Collaborator Author

jmarrec commented Jul 19, 2025

Great 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Enhancement Request New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux RPM built or building from sources documentation

2 participants