Skip to content

Instantly share code, notes, and snippets.

View edp8489's full-sized avatar

Eric Peters edp8489

View GitHub Profile
@edp8489
edp8489 / openradioss.dockerfile
Last active December 17, 2024 02:55
OpenRadioss Dockerfile
FROM rockylinux:9
# Install development tools and dependencies
RUN dnf groupinstall -y "Development Tools" && \
dnf install -y \
gcc gcc-gfortran gcc-c++ make cmake perl git-lfs \
wget git patch diffutils libxcrypt-compat \
which python
# Download and extract OpenMPI source code
@edp8489
edp8489 / toolchain_osxcross.cmake
Created February 28, 2022 02:00
cmake toolchain config file to cross-compile for macOS using osxcross
# specify properties of the host system
# i.e. system you're compiling ON
set(CMAKE_HOST_SYSTEM Linux)
set(CMAKE_HOST_SYSTEM_PROCESSOR x86_64)
# specify properties of the target system
# i.e. system you're compiling FOR
set(CMAKE_SYSTEM_APPLE)
set(CMAKE_SYSTEM_VERSION 20.4)
set(CMAKE_SYSTEM_PROCESSOR x86_64)