From nobody Wed Jul 20 19:27:34 2022 X-Original-To: dev-commits-ports-branches@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 4Lp5Lt6nnGz4Wm7R; Wed, 20 Jul 2022 19:27:34 +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 4Lp5Lt6NVlz3RsT; Wed, 20 Jul 2022 19:27:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658345254; 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=CkbwjO3zwkZm6SziIhu9o3KJ15GiGFOPBSB8/xAcISE=; b=DuP5DfPqPi/JyIhLXdaTHWcPUlDaoaiyDZB7mcyolMdUok2yVvpCrV96w5Q4eKqeOo2CUI w9/+ooxmSJf8GHijaDfQTH3GQqhf7ygG4px4VdcO0GTj9W514QhgxDBG3tyzzQAJQJLqGW LbcRvmzzP4/f061oxHB0d0TgpYm12nwoeUrHL2du5vAWmVIQdyBNU7cZJiXOJMYjoL7m0q BTbj0q7BLfwOFd1Ktoz8rFeqfZf4R0TY6Q58pDpFOH9T6hi1p5hgWbTYy0n0lQj2/6LuyM AUMCQBA/SExev+6MyhWviwMZKXbqgTGTQVBbGKBXOEtebqSyYcOSdaK7OAro8Q== 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 4Lp5Lt5VL3z18SC; Wed, 20 Jul 2022 19:27:34 +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 26KJRYj5013915; Wed, 20 Jul 2022 19:27:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26KJRYZh013914; Wed, 20 Jul 2022 19:27:34 GMT (envelope-from git) Date: Wed, 20 Jul 2022 19:27:34 GMT Message-Id: <202207201927.26KJRYZh013914@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Yuri Victorovich Subject: git: 2f29cd26e03b - 2022Q3 - misc/opennn: Improve BROKEN lines List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@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/2022Q3 X-Git-Reftype: branch X-Git-Commit: 2f29cd26e03bc441f8afa45594ea71efad5a3d68 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658345254; 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=CkbwjO3zwkZm6SziIhu9o3KJ15GiGFOPBSB8/xAcISE=; b=gMi53pVqoYgeNGk0/M0+lwNRntjeaXpcX7pTUT5dNNPjWdbsfKFw/KG/AG8qKyX7bJyeYR +v6ZpyS/2hYFFqNqXM5XLPaIxr9b46OZNypkO11LIkW6eWcWXPxZW/u4JWMTuFozNOMB6d dzeiseWgXrNz/SKq0CIMnEoFbAOssqinzZf6vgJdZVFNCZs+tQ98OMPJ3tvNuciDK8M7N8 /KSlOLY+gdMm74k3VBptMX/Ktn3aJvM9+o/r+73MP7c3hZYbQfpqLyebogPk/bII9t/Lfp 7cxkI2WHAnbaTK/oMJqze7SnoLcYy+FdEoxxNzCYohzSuSkU3klRPvS3gjtkdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658345254; a=rsa-sha256; cv=none; b=PyAzc/vW4JU2Q/QHvRpTeeyFqC5KrtFx2ZUgKAE0QqrIuiXBED8Whb30s3hxHgFDXJVdEw tKON4JP7Vb0Yjl5FCU+UFmt5O8RyyeLDzfxcaOOE//UF+aEqcxaCVNBXgKJ10Ta+Bjh/7H vUCuhMfZmq0T2U2l6E8xdrjRFLbdO5F9dsbz9SqXUV2Xur3DlxZhb/BsZP5NoIW6SE91rE rgT75fCpVkUN8t37I54d6s0ub7WPbmQqBlv4rjvyH/2Ub8rYTPS3G30u59CVTCSUnvbgSs fKzlTF29+gCnAPl3OuEdd1cdrq1VnC7wLmSNIjZzyW+8lVlx3+Y3D6nE8j0NtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f29cd26e03bc441f8afa45594ea71efad5a3d68 commit 2f29cd26e03bc441f8afa45594ea71efad5a3d68 Author: Yuri Victorovich AuthorDate: 2022-07-20 19:16:47 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-20 19:25:52 +0000 misc/opennn: Improve BROKEN lines (cherry picked from commit 4073897462649428e710c3a90b7feccc7114a69d) --- 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