From nobody Mon Mar 13 00:05:36 2023 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 4PZcPD5yW5z3xqqy; Mon, 13 Mar 2023 00:05:36 +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 4PZcPD5St2z3NCp; Mon, 13 Mar 2023 00:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665936; 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=VD9a2UAtCcYLO26yz/zcgT5DCPr0mWbFB2Bkh0ItFcM=; b=TfbyGb/D2GmXe0VELPjPPw2fo5ZZr8HiGgfphMlyETbl62K9Ag+8yXLLlKXSo9hQmmkjLo hddiRrDPnW4aOuhXkA1vReFotfnDrk3PmjxvMAW85xnEzkpxsuFaUX/oOy9GjTq78vK58v OKYvzHMyhfLLF45qk6OymNDbqnNnFLJ+0w40dizlD6wRbbrcQPiRbO6rhyS6hcDjx3CRq7 EbryH2DxT/AReqMWMDmw2/AxxuFnnoEWjcQbqXjijMDEmIFG+zseFtP7G1RgpmnVJvY0Jw OUHoe5tyx08hXRYoXmhjvHFTYPwH/7rrCNAS7pWzI9IWBY1FGxK8y8aka87i9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665936; 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=VD9a2UAtCcYLO26yz/zcgT5DCPr0mWbFB2Bkh0ItFcM=; b=f35x3klsQjNpY211G5f/cGDfGGZnSI5XoV/7l4UvodlStP18Q8SNYcsAGt/eOCK7a0xvr6 pLRi5mWguxGyQifVaJZrZhPnfqTDEtDupB1WcB77MMP7JOx1wuvhua8gjmEePHMqImwHN3 uE7pImAqFHnAurLC4j/qWmObZ7i9OEICELefrYeHEDF3Yz5gqWlTDPK0v+ywecG18EUkVg +X4FP7WwzKxebzclI4HTr8nKZci1Sqs2TAKv0VfqdO69EKdwp/04SPGWXh4NxJTpTtUnPP PIa2ApfGo4MqosnGv9WIfAR8tcvXdHwEDyrqselFfuqgP8z91iZqiKuVU8TQWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665936; a=rsa-sha256; cv=none; b=dqsT8OsgbtH6E8KxxfxV1MZoX2sB3BxzkUffgfpI/DhGQ4Ue0mum8eJXSzCZxcFZUA/pwg fjR/3sEY+rgCasD9+d6JBuYA9l4P9OlkC/y7dj0BdjTvdF24UgOqfyRQxQFXC9l7B53zIf 8HUWejeEA7O2cQX17eMvK9eqoWFb7NweF1dkpJSirGLvwD5m+Cfmqb9dMZd7oRQA0Cvx7I mCGFC9bi79yZXfOh99XaLptnMcpdv2F9SE/ggmlde2ixrfYcVHHrSNo5KNDJVJX0pAR2gD vEngVAuieTqOQgB7VNYgf89SKm8ITolCHGVZESP+Wby96Wa5nxKE0dix/Rh89Q== 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 4PZcPD4YkNzX5b; Mon, 13 Mar 2023 00:05:36 +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 32D05a5Q080276; Mon, 13 Mar 2023 00:05:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05adp080275; Mon, 13 Mar 2023 00:05:36 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:36 GMT Message-Id: <202303130005.32D05adp080275@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: a637a8462786 - main - devel/thrust: fix build without libomp 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: a637a846278661ef4204419583e4233a77a8456e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a637a846278661ef4204419583e4233a77a8456e commit a637a846278661ef4204419583e4233a77a8456e Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:29 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:29 +0000 devel/thrust: fix build without libomp CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) CMakeLists.txt:305 (find_package) --- devel/thrust/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/thrust/Makefile b/devel/thrust/Makefile index 309249d911c5..8d531b5ed043 100644 --- a/devel/thrust/Makefile +++ b/devel/thrust/Makefile @@ -10,6 +10,9 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.endif USE_GITHUB= yes NO_ARCH= yes