Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 14:46:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260139] devel/llvm13: include libc++ in the package
Message-ID:  <bug-260139-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260139

            Bug ID: 260139
           Summary: devel/llvm13: include libc++ in the package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

Some of my ports (e.g., rpcs3, yuzu) require very recent libc++ but ports/ =
have
to support up to 2 years old version shipped with a FreeBSD -RELEASE. Upstr=
eam
projects also want to test recent libc++ on CI without waiting for FreeBSD =
to
make a -RELEASE with such a version. So, can you enable libc++?

Current ports/ workaround:

GH_TUPLE+=3D      llvm:llvm-project:llvmorg-13.0.1-rc1:libcxx
CXXFLAGS+=3D      -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1
LDFLAGS+=3D       -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lc=
xxrt

pre-configure:  bundled-libcxx
bundled-libcxx:
        @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS:M*Ninja*} \
                -DCMAKE_INSTALL_PREFIX:PATH=3D${WRKDIR}/libcxx_prefix \
                -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx
        @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260139-7788>