Skip to content

Instantly share code, notes, and snippets.

@JJL772
Last active May 27, 2023 06:41
Show Gist options
  • Save JJL772/91e9c30c8bd1649a2ad16f68e53910d5 to your computer and use it in GitHub Desktop.
Save JJL772/91e9c30c8bd1649a2ad16f68e53910d5 to your computer and use it in GitHub Desktop.
Building EPICS base and modules with clang

EPICS Base

Clang

make CC=clang CCC=clang++ CMPLR_CLASS=clang

Linux mingw32 x86_64

make -j12 CROSS_COMPILER_TARGET_ARCHS+=windows-x64-mingw

EK9000 (Clang, C++20)

make -j12 CC=clang CCC=clang++ CMPLR_CLASS=clang BUILD_STRICT=1 NO_FORCE_CXX03=1 USR_CXXFLAGS=-std=c++20

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