From nobody Mon Mar 13 00:05:43 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 4PZcPM4VK5z3xqnl; Mon, 13 Mar 2023 00:05:43 +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 4PZcPM3rb4z3NPQ; Mon, 13 Mar 2023 00:05:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665943; 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=FNzTD+4wZON8tKoLuAwoD9fdA60GimbnUpyzcFq0zfg=; b=b2GVYjklXsOInBQJ8hZ5ECBmsz2vdOgUiJLmfdmj2aYVFjzXipa+y7bT/hJaWz6TRqOYSw Mf9MDc8aZpKD/TOS3Jgc4oCCPYhaQmg6mQ+O0eHpEGBFmmLpxwLvxWF+v+dbYUFKU7sd88 8eEH0ccqwQ66CVKHwKh6RqA1LFqSXwljNbj1+hK71OG6cBpudmo9HVtUt068/wCwEEGz6N QuPvCsc56JIBNJmugkgtUXFjGxGGVI8RWM4U6OYcI7G2w9F9VQND5/zpD1d52Jr7MK4hxA z+qBUCPUbC+bAvu01gxiEQWyBS/6lZPCqlcNn7MGkSmloUkjbJ8HqZuYSoscQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665943; 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=FNzTD+4wZON8tKoLuAwoD9fdA60GimbnUpyzcFq0zfg=; b=nd51+3MHQeuxjCCegYoJg1ks3Efq74YRCGBrmH29lU+apIcZK5tH5eqXMExi3K333T4NtL BzKDv+C0JcUnKRURue6JF4p7Y5//QQG2HBvHJNf1T525ahKM7zY0RnJ38pB1LqpmtXmD41 MS6r0Y1v0mfTxNo0p41bFpzxKvPRJC/VeCfKSdKgBmBHk15Q3DG241f+cHSFT1388axSY0 sDEJsGvWVMc5q3dkvqBJqfOu6SJjUOTEKlxn94CCEf+pgFijFiMJX326AMvJosWiQNX45U QwAhGpy52kZR2Mh9b/wRiP9a4vUkqgfgN7cMZufHVPUWad7o9ogU2IQ5/q6SIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665943; a=rsa-sha256; cv=none; b=OJAJtK/f8CCxnHPEBVOz9volUbdsrpPnP6WjjChfWdmvpfhSzVvzW+7pUyhSuPSJiIMuS6 DJZ5i1l2pGgPEoiDBjj6PlJI5oGAKWTthGu5VFiOIfezu6AYQR3qrY0W0s/vqbdB1bTVyP 1AMzQV69wFu9afYr6l7Efq9/Uv+4EDIbC161QmKkywZVHKSnIoegnmbe3JnNloCstU5zTZ gEJbN8E4afsc6dEK5sz7BxIsWqa2ULL3ida5qP1kKsJmWtY7c+cbT61BI2li3uUqgLJMD/ SrVsni8vfffvKRflMqYJRvVTEV6oJqIuzCLwJe2ZhSe8T6RMjegwrGZFFfA1Bw== 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 4PZcPM2vRqzWWk; Mon, 13 Mar 2023 00:05:43 +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 32D05h8A080405; Mon, 13 Mar 2023 00:05:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05hlh080404; Mon, 13 Mar 2023 00:05:43 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:43 GMT Message-Id: <202303130005.32D05hlh080404@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: f81e484b9dd3 - main - misc/ncnn: 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: f81e484b9dd3164f99a206d242c5aca19faeca1e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f81e484b9dd3164f99a206d242c5aca19faeca1e commit f81e484b9dd3164f99a206d242c5aca19faeca1e Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:44 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:44 +0000 misc/ncnn: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) src/CMakeLists.txt:205 (find_package) --- misc/ncnn/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/ncnn/Makefile b/misc/ncnn/Makefile index 971a97a6a62f..d52790137b2d 100644 --- a/misc/ncnn/Makefile +++ b/misc/ncnn/Makefile @@ -13,6 +13,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake:testing +.if !exists(/usr/include/omp.h) +CMAKE_OFF= NCNN_OPENMP +.endif USE_LDCONFIG= yes USE_GITHUB= yes