From nobody Wed Jan 05 19:07:09 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8272D19229DC; Wed, 5 Jan 2022 19:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JTf9n6DCyz4X0S; Wed, 5 Jan 2022 19:07:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AE3D511BD3; Wed, 5 Jan 2022 19:07:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 205J79es031124; Wed, 5 Jan 2022 19:07:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 205J79pG031123; Wed, 5 Jan 2022 19:07:09 GMT (envelope-from git) Date: Wed, 5 Jan 2022 19:07:09 GMT Message-Id: <202201051907.205J79pG031123@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 3797592a2778 - main - devel/concurrencpp: fix build on powerpc64le on 13.0-RELEASE List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3797592a2778b5f6afcc1d9446263b5d4a4b7b5a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641409629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MXoyGUOp/GTx55ZQckEru1rL550zTiFCes336mHEqo0=; b=wt5ql2bbPG3tD78LJQ0FX/aDbU8l6A3Gc3QwaOGP3PgJU8feDXZKwW5eVwfz4XiVSEl9cs 1kxneAz+K/uEjh6izj4AXXJy5UhmOILtZmOSW61YzRM604WWFy4cpNlqZdHQgVM7BppDV9 Gw2f2aQGwrsfZBSAbSboo+E+qCoT2mXKxeTbEQx761637sEe4F/iPfEKTDewllgxkB3uWz WzPUB16trMipXoxBvMS2GTU22StDl1jcThTd4zocj/irigGwx454vSSk2MHk65ImygnRVD hNPSXk94KpKbStuaD4VRDJ6X7YNqR/YDLsof+FmnowqvByWdxlsvzgulU9E43w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641409629; a=rsa-sha256; cv=none; b=uvqn4goRWAPcJYNlCMmLJiBLyXYX7i8i+zBJ5Iwm5N61x5rx5HuT8NNJN6pPuX5xhj+JfL 66BEn5F2haMe0vcuA9OwUxdfXRGTCkGm8t8ljT8vu7c+PQqXQUj1jSksmh4k2OHs612V+L qwvO96IzQ4eDm0i6vwmIKFYUhgnImEUfQEVCbGLEWpHu7fYcQ8xzJrhmojkBsdGamghoHj 3DpOHXQpmkkXdhTrzdOMrZ/UXChDj/8WvtnBjKZbP+YAlRwPfPmGm+xcGn0owIfmkXgQUP NbQnlQygGQwWI4K4i8T/k0qBZskmxWgccnpNySJzdKJ/pRWqbTL9mbDPRoT/Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3797592a2778b5f6afcc1d9446263b5d4a4b7b5a commit 3797592a2778b5f6afcc1d9446263b5d4a4b7b5a Author: Piotr Kubaj AuthorDate: 2022-01-05 19:05:00 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-05 19:05:00 +0000 devel/concurrencpp: fix build on powerpc64le on 13.0-RELEASE When building with LLVM11 (and 12): fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail LLVM13 doesn't have this issue. --- devel/concurrencpp/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devel/concurrencpp/Makefile b/devel/concurrencpp/Makefile index 2f35d9da2b21..d9e4c0fd9fbe 100644 --- a/devel/concurrencpp/Makefile +++ b/devel/concurrencpp/Makefile @@ -18,6 +18,15 @@ GH_ACCOUNT= David-Haim CMAKE_ON= BUILD_SHARED_LIBS +.include + +.if ${ARCH} == powerpc64le && ${OSVERSION} < 1300523 +BUILD_DEPENDS= llvm13>0:devel/llvm13 +CPP= ${LOCALBASE}/bin/clang-cpp13 +CC= ${LOCALBASE}/bin/clang13 +CXX= ${LOCALBASE}/bin/clang++13 +.endif + do-test: # same as recommended in https://github.com/David-Haim/concurrencpp#building-installing-and-testing @cd ${WRKSRC} && \ ${CMAKE_BIN} -S test -B build/test && \