iceoryx icon indicating copy to clipboard operation
iceoryx copied to clipboard

Is `libatomic` still required to build Iceoryx?

Open t0ny-peng opened this issue 1 month ago • 3 comments

Brief feature description

It seems libatomic is required for iceoryx_hoof if built for LINUX. I'm curious is this still required? I've been testing with GCC8 on x86_64 and the compiler generates the correct atomic instructions in the output binary.

https://github.com/eclipse-iceoryx/iceoryx/blob/661eee549fe597efab6636ebcc644cea8777ea24/iceoryx_hoofs/CMakeLists.txt#L207

Detailed information

In the change log, it's stated that libatomic is added for RHEL. Is that still the case now? Thanks!

  • Add libatomic to dependency list in iceoryx_utils for RHEL

The reason I'm asking this is because libatomic isn't a standard package, e.g., some Clang toolchains doesn't provide this and only GCC ones do.

Thanks!

t0ny-peng avatar May 23 '24 20:05 t0ny-peng