From nobody Sat Jul 16 01:04:20 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 4Ll93m3RH6z4X6YK; Sat, 16 Jul 2022 01:04:20 +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 4Ll93m2n3nz3SbS; Sat, 16 Jul 2022 01:04:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657933460; 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=56OTLatMnXOng3dLVtpjwHZmMmrkSvkbcjnyd+8gHvQ=; b=G6S7a6DsjP16yNOiYQjIuQxiRhikvL8Qya6N7nKt64cMz179ISKqAOr5tAkz38Aah5TIJf cjxMmWVosuuK6FMnD515+ObrPjl+lcM0I29E6qGaZ1oxwdDaJPeM/R0XfGCirEvm5g0+Ai 5eXy4JjrLoroknxxFhm+oF4QHbWAAD3uBfF7k9KZxGkLVgDKIPKqm+6ZmA5nI98Cv0gbi7 nA+HQJyvkqKKV7wSIBbjtfyoeVGmibQI+mKFMp+msEyMZ4/hSXQbpWjggm4VpqtwFiNa7Y FtALLl4yIqHrYqX8sC67ozZ/CeGXR4O31ymErM9FqsFAx/4bLJ4YN+aFozK5ZQ== 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 4Ll93m1p4kz135v; Sat, 16 Jul 2022 01:04:20 +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 26G14KVg029707; Sat, 16 Jul 2022 01:04:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26G14KUN029706; Sat, 16 Jul 2022 01:04:20 GMT (envelope-from git) Date: Sat, 16 Jul 2022 01:04:20 GMT Message-Id: <202207160104.26G14KUN029706@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: aacc620c08b4 - main - misc/opennn: Limit BROKEN_riscv64 to pre-13.1 systems 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aacc620c08b4ef10bb39aa845e64a4b1e4abcb1a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657933460; 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=56OTLatMnXOng3dLVtpjwHZmMmrkSvkbcjnyd+8gHvQ=; b=FjlkuWFCVCBwjamtWyOwx459dmew9YlodHmUXf0sdh9PCRXROWMRVWfUuOkcZz5Usx/Ioz Y3KvMSIr8HmicsAeSCyLOOegYcz+m1L+ykJNk+h0XK3wyCyLGaQx13ilVlIXirYCJGwkbn uhepFzqAG2MeEGwpM4jclYA6mNSRkjwVzKrga/LGQHEu6n/ycAMAGMz+UDld7UimyDr7dV 2K/HAC83EmyxrdYRPV2C2pnzZcacceLXceGmRpQszJh5m96T2nPxGTAPPMorzV+LfOPrDy II4dDjrqJKR3emsu/swu4xXJTNsjKgAeP6kQmiL3+KjFUv10pJXe4X/95oZ9LQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657933460; a=rsa-sha256; cv=none; b=iPxsfKe8ozAo7IDyVBH1Bx08sVYdAVMb6ClSyhZJm2PTu0/fMX/cCNLlKrEVbTmqy6b0TT b3HAOEbqSIEODvudBcTythGpmb+/JCZyiVa/lel3ggpaPQlmEaAbsaEorzuHHREIXsIKL6 JsD+NZFuzSndCxEwh0V0OoVk3lBvHMGarLNNE5Rp2f+y8SIcUefwLD/TQvdUAvDf6QHtCh peUbtjNo8QQUY1yqdFq0Q3FOr+eQhf8FnqcgnKYrAFRnuasckdDmnqYD5EAfSte5Pwq5oh rXWxnfls6fxy6WY9sndREpcIx1jt9w53LEXGlg9/lAnZS8Rp4W0yYauidVjbRg== 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=aacc620c08b4ef10bb39aa845e64a4b1e4abcb1a commit aacc620c08b4ef10bb39aa845e64a4b1e4abcb1a Author: Yuri Victorovich AuthorDate: 2022-07-16 00:52:22 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-16 01:04:17 +0000 misc/opennn: Limit BROKEN_riscv64 to pre-13.1 systems Reported by: pkubaj@ --- misc/opennn/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile index 600ebd243910..8e3cf078492e 100644 --- a/misc/opennn/Makefile +++ b/misc/opennn/Makefile @@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv6= fatal error: 'omp.h' file not found BROKEN_armv7= fatal error: 'omp.h' file not found -BROKEN_riscv64= fatal error: 'omp.h' file not found USES= cmake:testing compiler:c++11-lang dos2unix zip USE_LDCONFIG= yes @@ -25,6 +24,12 @@ 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 @@ -33,4 +38,4 @@ do-install: post-test: @cd ${TEST_WRKSRC} && (${ECHO} suite | tests/tests) -.include +.include