--- - branch: MAIN date: Sun Dec 26 21:52:11 UTC 2021 files: - new: '1.68' old: '1.67' path: pkgsrc/lang/llvm/Makefile pathrev: pkgsrc/lang/llvm/Makefile@1.68 type: modified - new: '1.33' old: '1.32' path: pkgsrc/lang/llvm/distinfo pathrev: pkgsrc/lang/llvm/distinfo@1.33 type: modified - new: '1.6' old: '1.5' path: pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake pathrev: pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake@1.6 type: modified id: 20211226T215211Z.4e933fc2ce6999c6ab4f52c4f0bc7881efa4a4a2 log: | Allow overriding the pthread library selection via PKGSRC_LLVM_PTHREADLIB. LLVM insists on 64-bit atomics, and on NetBSD/powerpc we don't have that natively, so have to rely on -latomic from gcc. This library is linked with -lpthread, so the cmake logic to detect whether -lpthread is included in the C library says "yes", leading to later breakage when clang is being built. On NetBSD, set PKGSRC_LLVM_PTHREADLIB to -lpthread. OK'ed by wiz@, bump PKGREVISION. module: pkgsrc subject: 'CVS commit: pkgsrc/lang/llvm' unixtime: '1640555531' user: he