From nobody Mon Mar 13 00:05:42 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 4PZcPL38kkz3xqtf; Mon, 13 Mar 2023 00:05:42 +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 4PZcPL2WP5z3NWh; Mon, 13 Mar 2023 00:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665942; 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=xXdeXg35Wk4zxAMEpMa67vz1RUbcUy8hhjz29BW3wxw=; b=oXU2svGq9fyoB4JmIfJSFJXWeAD8DCW/RCAx7wJvu3GIQOP5Uk6XCNuW2R2liVmE8vEX23 mM5523Bf7F/blKi0D3hux3xq0vXt0zlYeIZPOhVpE67/ueiLA7xFo1Gloz/herpQwbVOOA wI00dOJ2dfxjMv1VoFS65mzd+zoRaxKH8EYq2BDaFqMaaOXd4/DG64CIxlwWJhia7QFLhG c16xM8g1ayRYwqkR/rnlPQa/HmwbCPPCLlCZTs8cJ3mj7tmE8VcO2Yw6biHAMow2YgrXdZ 9/zPR2LHhrnat06D1uYzKm5bZSZXGkfvwY6yT3cQ5Fwcym5jJmZYHmox2G312Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665942; 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=xXdeXg35Wk4zxAMEpMa67vz1RUbcUy8hhjz29BW3wxw=; b=YwYIA7duXoQJU7jiD85SmlzC8vg6kPcJlZW7zNhxjC4wrCtQaiXxiYx2uO5l+F5L4/8htO cQVR+lDndbruwdaHYkOz+VJycIy+4q4cbUsL9f922eHxykpWI26ZklUhoOYu47lORa5Qwy vldUkorBOhl5+R173CATvMujlO9HW/yaV7AKiC799DEGxqNJJbYOsm0GI7MzMyD8aTEVLa Z5Z2jTqgKH35AwI74EGYxY2ZnnUzEZJ0YHNl0kLcbdZAcgvle8cMlE2utxU6ZhI440WUEH q0HXMDcgojHpCxGuhuLZ9RqUy2oc5RF2urEBO0XAjw48/GEhua09D9zb913ZGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665942; a=rsa-sha256; cv=none; b=VbAmR18tJp3fz4pCXEJ0VhDwmQqGFP92lPMFwblOWB5aF/CKh5jKHeHtqWVX0HmLWMBNHz 2GFXRAM3bE311U5jZW6Q8MhNi+YN1yWt0pyFHMV+6W0kuZoSHD1CPUW9jr49YpBA4t+/63 XABGhUSb088gJ3zYNbinLpa+xXCazeuL+HsADqt+85fvEPRP/sxJfCEmR0c84A0xLPu2BB GN2fhUPktiMrVYSTk85Yy8WkcghHZcYeCTmkxI8NIPEjLB3Yqf7Fp0G7aNxQuUBx94NtJD /U+UCChKqFGoxRVT8E/fKr2jjxQyTwtQ9P+8EzpmNbd8RDj7Vb2pTTmYFRHVXA== 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 4PZcPL1dgCzX5d; Mon, 13 Mar 2023 00:05:42 +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 32D05g2N080386; Mon, 13 Mar 2023 00:05:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05gwA080385; Mon, 13 Mar 2023 00:05:42 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:42 GMT Message-Id: <202303130005.32D05gwA080385@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: a762cf40252f - main - math/amgcl: 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: a762cf40252fb4a2ab0a5fe0ddb710baef4d1718 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a762cf40252fb4a2ab0a5fe0ddb710baef4d1718 commit a762cf40252fb4a2ab0a5fe0ddb710baef4d1718 Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:42 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:42 +0000 math/amgcl: 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) CMakeLists.txt:60 (find_package) --- math/amgcl/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/math/amgcl/Makefile b/math/amgcl/Makefile index ba48c79bd8ba..f36efd4b96ae 100644 --- a/math/amgcl/Makefile +++ b/math/amgcl/Makefile @@ -14,6 +14,9 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs RUN_DEPENDS= ${PREFIX}/include/boost/property_tree/ptree.hpp:devel/boost-libs USES= cmake +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.endif USE_GITHUB= yes GH_ACCOUNT= ddemidov