From nobody Wed Apr 27 13:40:14 2022 X-Original-To: dev-commits-ports-all@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 20E5019904C9; Wed, 27 Apr 2022 13:40:15 +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 4KpKct2tMnz4rRF; Wed, 27 Apr 2022 13:40:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651066814; 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=HexjTjFmi7g5q+wyMSTmJuqg6w5zl+/yGoHSwpCJ3MQ=; b=b4G+EK3yZlvkWX2NFmnYr6tSzKtvlGAVTpmHJqddlnw1oc7tgFCwdrMpsZBo/ZafozXNOq OHBkgINzaz+7mzZYh/5spgoYDh8U8qKC+7kp7k6ItG+2cEgwkIPgK88zD3H9bkpoCZr4iS BBydSmJwVQlvtRA6DE6DgRGXSa1t9ehGcKTQvmW6gRsc+zGLt54ytpJMIhpTpSwfsw2yl/ iaS4gocDy+ijINngzv4B737lnd4hgA7HzOtbz4GcZFuuji28RfxX2FQKGRSpVa8e/Ozat0 YmX+50P+PPoo2VNRgudFhVsxOIccZ/j6Ua3rO6hddvdM/kIbjYTJ81pIV2yGhw== 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 206BA24D25; Wed, 27 Apr 2022 13:40:14 +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 23RDeESb076220; Wed, 27 Apr 2022 13:40:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23RDeEu2076213; Wed, 27 Apr 2022 13:40:14 GMT (envelope-from git) Date: Wed, 27 Apr 2022 13:40:14 GMT Message-Id: <202204271340.23RDeEu2076213@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: ea1f1a378283 - main - devel/dmlc-core: use clang on architectures without openmp and disable openmp List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: ea1f1a378283c4107450456000ad15b2fb38f7bc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651066814; 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=HexjTjFmi7g5q+wyMSTmJuqg6w5zl+/yGoHSwpCJ3MQ=; b=WqGLthRlvTEjanvTq/15Uy4yJOZK6MrXMcufVUTl/AgeeT8F/DwyEulLST74dgTrAf393D jui5I8ZW/bHKQNUbDH+KDRbeEFUjTLVy5tC3DhguJAh/nVa6J4TQmV7PHTy8Bq5d6G/3pp P/UIYu/eY+X7K2qt8r3mSj9vkfHKZRnxQqeRTbrMckDr+m+CylxmkdQ6SdoqTweBob9o5a AdhXH8gsrz3iAWQ3G01RZJO/vY1ecsEchdbnBCZhrHR+IKMtfnXuNEijeJdb1M+TCM2Ebd ns9MV+bzxtDM+3QVajdoUNXaWBXXYDeHhZwtrzkniGrG4eQd6mjcEHFcRmYPKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651066814; a=rsa-sha256; cv=none; b=p87k+H/Q4QHsq5ZJm+WDgh7J4pMMQj2WGl+ZaY5r9VaIUD6DrKaNuUdHF6ZdXt0hcne6QM mUyv2u9YZWkdxqFslwxDlzcatTy5cKMgnYMt/d+1us7hfTmNIOPc1Wn+wLir9K3welaRi9 HyzjkVN3cvyUJm6nuprl6MdPDvuu1PiVVFnswvS8eOCFyKZ+ZZ93VUGqQtEj0k/9dqd8at rku4ZLOly0wWge4VFkIebshWr4fKV6v/v9wk+LPFrfCRsiyEp7BNXt+WoGzWXhaMcSl1IC srZ6d1NTEU/3GZ/I2goXnW1K/cd75aVIo4o/X4WMy7v7x1ReC6S/mj0gXKdIvQ== 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=ea1f1a378283c4107450456000ad15b2fb38f7bc commit ea1f1a378283c4107450456000ad15b2fb38f7bc Author: Piotr Kubaj AuthorDate: 2022-04-27 13:21:44 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-27 13:21:44 +0000 devel/dmlc-core: use clang on architectures without openmp and disable openmp --- devel/dmlc-core/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/devel/dmlc-core/Makefile b/devel/dmlc-core/Makefile index dee6e22f06c6..053d2fac69e8 100644 --- a/devel/dmlc-core/Makefile +++ b/devel/dmlc-core/Makefile @@ -9,19 +9,15 @@ COMMENT= Common library for scalable and portable distributed machine learning LICENSE= APACHE20 -USES= cmake +USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= dmlc USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS -.include - -.if ${ARCH} == powerpc -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DUSE_OPENMP:BOOL=OFF .endif .include