From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmta0018.nifty.com (mta-snd00006.nifty.com [106.153.226.38]) by sourceware.org (Postfix) with ESMTPS id 8D1EF3858D3C for ; Sun, 14 Jan 2024 14:57:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D1EF3858D3C Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8D1EF3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.226.38 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705244269; cv=none; b=M1yLa+aRaKupUApE1HKcIkr5fmnyl5FNEielPU0j0nAr17pmRKgGs0/ToJxyJqAjEV3RuEpcjJvn7Yk3rwPXGmBZt6C9so6usstlul4yhClVSica+Svtwyi51GDpxgJP5XN8AKPtuqlQHrMrhU895D+/37RrLHYg1gHN3171KaU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705244269; c=relaxed/simple; bh=wBd+tpfrSbzXlsp6fkgjrkp0tQ9TSy8LmM3n/h3qrkk=; h=Date:From:To:Subject:Message-Id:Mime-Version; b=Twiq+0xbhhLC/lldTV49W8BPEwf2emq/QB/ATSZIiTeo36ItCKag1Nh8C7NowFf0k2wd7hYOiZfPMjoMuj9XcjOrSs8tXTxe3qkEM9/miZp1y/At1AD25z2d3/namlXe+eaqYLdVpwRq9FV0YZOUPTarklrazqrJn3zBbesjcDU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from HP-Z230 by dmta0018.nifty.com with ESMTP id <20240114145743275.KAZR.73653.HP-Z230@nifty.com> for ; Sun, 14 Jan 2024 23:57:43 +0900 Date: Sun, 14 Jan 2024 23:57:42 +0900 From: Takashi Yano To: cygwin-apps@cygwin.com Subject: Re: [ITA] pocl Message-Id: <20240114235742.d10665f00ffaea33f854d348@nifty.ne.jp> In-Reply-To: <171fe56e-9c90-46be-89f2-fa5c2d8e2b90@dronecode.org.uk> References: <20240103141412.d00b68976af90778eb7e7c03@nifty.ne.jp> <20240103142533.ee77d69e3a93cea0275cfd00@nifty.ne.jp> <90ac340c-236b-4ec2-b304-37564da46320@gmail.com> <20240103182954.954d9470d93c013e2b73a67a@nifty.ne.jp> <20240103210007.548250af5b62f082bc441d8c@nifty.ne.jp> <20240103213002.d0fc284413dd28233217941b@nifty.ne.jp> <20240103230827.98ecd39b918605c7c0d59e2a@nifty.ne.jp> <20240104095507.dd5460a1595929dddf3530dd@nifty.ne.jp> <171fe56e-9c90-46be-89f2-fa5c2d8e2b90@dronecode.org.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Jon, Thanks for revewing. On Sat, 13 Jan 2024 15:48:33 +0000 Jon Turney wrote: > On 04/01/2024 00:55, Takashi Yano via Cygwin-apps wrote: > [...] > > Any comments and advices will be appreciated. > > Thanks for adopting this. > > > pocl.cygport > > > > inherit clang cmake > > > > NAME="pocl" > > VERSION=3.1 > > RELEASE=1 > > CATEGORY="Libs" > > # The entire code is under MIT > > # include/utlist.h which is under BSD-1-Clause (unbundled) > > # lib/kernel/vecmath which is under GPL-3.0-or-later OR LGPL-3.0-or-later > > LICENSE="MIT, BSD-1-Clause, GPL-3.0-or-later OR LGPL-3.0-or-later" > > I think this is going to fail to validate as an SPDX license expression. > The identifiers should be combined with AND and OR (where OR represents > a choice, and AND represents compliance with both alternatives is required). What about "MIT AND BSD-1-Clause AND (GPL-3.0-or-later OR LGPL-3.0-or-later)"? Is "()" allowed? > When I try to build it fails: > > [449/761] Linking CXX shared module lib/llvmopencl/cygllvmopencl.dll > FAILED: lib/llvmopencl/cygllvmopencl.dll > [...] > /usr/bin/ld: cannot find -lpocl: No such file or directory > clang-8: error: linker command failed with exit code 1 (use -v to see > invocation) > > I don't know if that means it's looking for the installed rather than > just built libpocl there, or something else is wrong. I cannot reproduce this even if I uninstall libpocl-devel. Umm, what is the difference? My environment is as follows. Cygwin Package Information Package Version Status binutils 2.41-3 OK clang 8.0.1-1 OK cmake 3.25.3-1 OK cygport 0.36.7-1 OK ninja 1.11.1-1 OK -- Takashi Yano