From owner-svn-ports-head@freebsd.org Sun Dec 8 17:52:37 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F30211EC58F; Sun, 8 Dec 2019 17:52:36 +0000 (UTC) (envelope-from jbeich@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 47WDS46F0Yz3CCD; Sun, 8 Dec 2019 17:52:36 +0000 (UTC) (envelope-from jbeich@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 D187B5F7D; Sun, 8 Dec 2019 17:52:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB8HqafE025552; Sun, 8 Dec 2019 17:52:36 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB8HqabP025551; Sun, 8 Dec 2019 17:52:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201912081752.xB8HqabP025551@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 8 Dec 2019 17:52:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519569 - head/lang/compute-runtime X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/lang/compute-runtime X-SVN-Commit-Revision: 519569 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2019 17:52:37 -0000 Author: jbeich Date: Sun Dec 8 17:52:36 2019 New Revision: 519569 URL: https://svnweb.freebsd.org/changeset/ports/519569 Log: lang/compute-runtime: unbreak build with ninja BSD ar(1) from base doesn't understand @file which CMake projects can use to work around maximum number of arguments on command line. $ echo /dev/null >foo.rsp $ /usr/bin/ar qc libfoo.a @foo.rsp ar: warning: can't open file: @foo.rsp: No such file or directory leading to FAILED: bin/ocloc : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -mretpoline -ftemplate-depth=1024 -Wall -Wempty-body -Wignored-qualifiers -Wtype-limits -Wuninitialized -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Winvalid-pch -Wshorten-64-to-32 -Wno-unused-local-typedefs -DSANITIZER_BUILD -Wno-deprecated-register -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong @CMakeFiles/ocloc.rsp -o bin/ocloc && : ld: error: undefined symbol: CLElfLib::CElfReader::CElfReader(std::__1::vector >&) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) ld: error: undefined symbol: CLElfLib::CElfReader::getSectionData(unsigned long) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) >>> referenced by binary_decoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_decoder.cpp.o:(BinaryDecoder::getDevBinary()) ld: error: undefined symbol: CLElfLib::CElfWriter::resolveBinary(std::__1::vector >&) >>> referenced by binary_encoder.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/decoder/binary_encoder.cpp.o:(BinaryEncoder::createElf()) >>> referenced by offline_compiler.cpp >>> offline_compiler/CMakeFiles/ocloc.dir/offline_compiler.cpp.o:(NEO::OfflineCompiler::generateElfBinary()) c++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Modified: head/lang/compute-runtime/Makefile (contents, props changed) Modified: head/lang/compute-runtime/Makefile ============================================================================== --- head/lang/compute-runtime/Makefile Sun Dec 8 17:40:13 2019 (r519568) +++ head/lang/compute-runtime/Makefile Sun Dec 8 17:52:36 2019 (r519569) @@ -16,7 +16,7 @@ ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supp LIB_DEPENDS= libigc.so:devel/intel-graphics-compiler \ libigdgmm.so:multimedia/gmmlib -USES= cmake:noninja compiler:c++14-lang pkgconfig +USES= cmake compiler:c++14-lang pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel @@ -28,6 +28,7 @@ PLIST_FILES= etc/OpenCL/vendors/intel.icd \ post-patch: @${REINPLACE_CMD} -e '/-Werror/d' \ + -e '/FORCE_RESPONSE_FILE/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/defaults/!s,/etc",${PREFIX}&,' \ ${WRKSRC}/package.cmake