pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc



* On 2024-07-06 at 16:45 BST, Adam Ciarcinski wrote:

-# On SunOS use the libraries from the GCC used to build clang rather than
-# aimlessly searching the file system for ones that might be incompatible.
-#
-SUBST_CLASSES.SunOS+=  sunos-gcc
-SUBST_STAGE.sunos-gcc= pre-configure
-SUBST_FILES.sunos-gcc= lib/Driver/ToolChains/Gnu.cpp
-SUBST_SED.sunos-gcc=   -e 's,@GCCBASEDIR@,${CCPATH:H:H},'
-
-# Not perfect, but should catch most common cases.  We can't simply use
-# gcc-libs as that doesn't ship the headers.
-#
-.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER:Mgcc}
-BUILDLINK_DEPMETHOD.${_GCC_PKGBASE}=   full
+# Enable full LLVM suite on SunOS
+.if ${OPSYS} == "SunOS"
+.include "../../lang/compiler-rt/buildlink3.mk"
+.include "../../lang/libcxx/buildlink3.mk"
+.include "../../lang/libcxxabi/buildlink3.mk"
+.include "../../lang/libunwind/buildlink3.mk"
+CMAKE_ARGS+=    -DCLANG_DEFAULT_RTLIB:STRING="compiler-rt"
+CMAKE_ARGS+=    -DCLANG_DEFAULT_CXX_STDLIB:STRING="libc++"

I don't really understand why you've reverted all of the changes I made to clang in May and June?

Specifically:

  https://github.com/NetBSD/pkgsrc/commit/a2b2a216e080e74dc84e62d06cad70dea841b75d
  https://github.com/NetBSD/pkgsrc/commit/d4a1200af7e7434859f5fad418e6d558abb1049a
  https://github.com/NetBSD/pkgsrc/commit/7c9bbe171f0771f7c705725ca370d3ab0956dd83

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com



Home | Main Index | Thread Index | Old Index