From nobody Wed Jul 20 19:21:49 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 4Lp5DF4Vq9z4WlLl; Wed, 20 Jul 2022 19:21:49 +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 4Lp5DF45mBz3R5H; Wed, 20 Jul 2022 19:21:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658344909; 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=1NVI/I6YDQVUkyS3Y+wiwDCBtyEu0UFvMSmdSlOLScQ=; b=eCHaZEYrA6mA9967XsSfq9prcsLdq3zuFRP5Qy2cIqFxXDlwCwqiCMBNby7G24fparHNXN 9L0w/o08amAtDQQZ4aICBUkbzf2SMwRAXkrcJCuG2cNlYKh9+19DZhwKTHbnLOqAy7IZ3a ND354QBCHC7gjBrxpK7CWjN9VupivrtLn7r7jSsSc1yhVwXxhyAzxfpIsw+sT0OwzXqHFe bhbp+NbGi2eaEHdqxzH1x21VbECk3gc/mhnNKQS06NmfTjqysvJYCP1nZs6tSkJYWdKs4o 4gy7qK0NfmK3AxeEE2xWW+Tu3aVMCows31X13EJG92K0vly7BkUQok7UHeej8w== 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 4Lp5DF3Bd8z18JD; Wed, 20 Jul 2022 19:21:49 +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 26KJLnw2010168; Wed, 20 Jul 2022 19:21:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26KJLnGb010167; Wed, 20 Jul 2022 19:21:49 GMT (envelope-from git) Date: Wed, 20 Jul 2022 19:21:49 GMT Message-Id: <202207201921.26KJLnGb010167@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 407389746264 - main - misc/opennn: Improve BROKEN lines 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4073897462649428e710c3a90b7feccc7114a69d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658344909; 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=1NVI/I6YDQVUkyS3Y+wiwDCBtyEu0UFvMSmdSlOLScQ=; b=DvDACQhf2yzizxMRpbhhlbSxdVYX9ibLL/LrUr9J42HlsjztDQr0DDeiUsApRj2bBjR0/F PIyHOB6UMV8Srz7YEw2yxNF3lvm4UfV6KO80r/BMAJtSLyc1knYY2cA21W7XnoO3EZx8I/ 4XTaq1XYOs65T6vcDKa+PP7wzdMrhVo+Qd0yaQxjsGEghwHfMaro9sK1iUi6fw7Lz8GUWD beR5q+K/3VyA4NoeEbqHmbUQ3Kee2B0Vofd5eJBUAVHAMWCb+SUL/xN0/876QRNtgQJstq Ll8ct1oZqiIYdsqBJUQogyDf9UD5CKghU4/6lzFEfqSYSgKn5tdcJC0ov+321A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658344909; a=rsa-sha256; cv=none; b=AElMmLuOFWK0egCjFESzgsbI/CErkB3tAPSullsCPk1ni5bGRT3AYOT3y3as9OMdirNl1N RPb22p9/tX3ivMnXdt2rfK9St7WA4Sh5FhlOpcz8ZXpcqI7Sxlyvj0xFTbxfYH2R8ew0io Hag+ye0s8Vq6cY041Lrm7y3WIOdrRGeP4k7zJ/SZa9GvkziZE1u+89oqZxMledkup+WiQA kCFTav1RHxsoh58QHbjq19ZBLX+ksz+1haPjywsJJnNjWM6uhe21MYqIZUWUDRZjE0tQGD PxqVeGR44D7w2Plv1tTv3FskuYjWBtUvxIGxIZhqAI7k17huLf/VcpjUmRVfOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4073897462649428e710c3a90b7feccc7114a69d commit 4073897462649428e710c3a90b7feccc7114a69d Author: Yuri Victorovich AuthorDate: 2022-07-20 19:16:47 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-20 19:21:45 +0000 misc/opennn: Improve BROKEN lines --- misc/opennn/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile index 8e3cf078492e..b05e31efefaf 100644 --- a/misc/opennn/Makefile +++ b/misc/opennn/Makefile @@ -10,8 +10,9 @@ COMMENT= Open neural networks library LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_armv6= fatal error: 'omp.h' file not found -BROKEN_armv7= fatal error: 'omp.h' file not found +.if !exists(/usr/include/omp.h) +BROKEN= requires OpenMP support that is missing on this architecture +.endif USES= cmake:testing compiler:c++11-lang dos2unix zip USE_LDCONFIG= yes @@ -24,12 +25,6 @@ CMAKE_TESTING_TARGET= tests LDFLAGS+= -lomp -pthread # https://github.com/Artelnics/opennn/issues/182 -.include - -.if ${OSVERSION} < 1301000 -BROKEN_riscv64= fatal error: 'omp.h' file not found -.endif - do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${BUILD_WRKSRC}/${PORTNAME}/libopennn.so ${STAGEDIR}${PREFIX}/lib @@ -38,4 +33,4 @@ do-install: post-test: @cd ${TEST_WRKSRC} && (${ECHO} suite | tests/tests) -.include +.include