From owner-svn-ports-all@freebsd.org Fri Mar 15 08:43:10 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9226A1542CF7; Fri, 15 Mar 2019 08:43:10 +0000 (UTC) (envelope-from tobik@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B8108EAAE; Fri, 15 Mar 2019 08:43:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D00C7B2F; Fri, 15 Mar 2019 08:43:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2F8h9AU087001; Fri, 15 Mar 2019 08:43:09 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2F8h9VC087000; Fri, 15 Mar 2019 08:43:09 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201903150843.x2F8h9VC087000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Fri, 15 Mar 2019 08:43:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495775 - head/devel/flang X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/flang X-SVN-Commit-Revision: 495775 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2B8108EAAE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 08:43:10 -0000 Author: tobik Date: Fri Mar 15 08:43:09 2019 New Revision: 495775 URL: https://svnweb.freebsd.org/changeset/ports/495775 Log: devel/flang: Attempt to fix TESTS option In r479159 the TESTS option was incorrectly switched to options helpers. Options helpers are ineffective when set after bsd.port.options.mk and it should have used the CMAKE_BOOL helper. Reported by: tobik (in D19553) Modified: head/devel/flang/Makefile Modified: head/devel/flang/Makefile ============================================================================== --- head/devel/flang/Makefile Fri Mar 15 08:33:17 2019 (r495774) +++ head/devel/flang/Makefile Fri Mar 15 08:43:09 2019 (r495775) @@ -3,7 +3,7 @@ PORTNAME= flang DISTVERSION= 6.0-g20180904 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= jmd@FreeBSD.org @@ -20,9 +20,6 @@ RUN_DEPENDS= llvm60>=0:devel/llvm60 \ flang-clang>=0:devel/flang-clang LIB_DEPENDS= libpgmath.so:math/libpgmath -OPTIONS_DEFINE= TESTS -TESTS_DESC= build unit tests for flang - USES= cmake:noninja compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build @@ -43,10 +40,13 @@ CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-confi CMAKE_INSTALL_PREFIX= ${PREFIX}/flang -.include -TESTS_CMAKE_ON= FLANG_INCLUDE_TESTS - MAKE_JOBS_UNSAFE= yes + +OPTIONS_DEFINE= TESTS + +TESTS_DESC= build unit tests for flang + +TESTS_CMAKE_BOOL= FLANG_INCLUDE_TESTS post-patch: @${CP} -r ${WRKSRC}/tools/flang2/flang2exe/x86_64-Linux ${WRKSRC}/tools/flang2/flang2exe/x86_64-FreeBSD