Bug 259044 - devel/llvm13: BE_AMDGPU=off missing from pkg-plist
Summary: devel/llvm13: BE_AMDGPU=off missing from pkg-plist
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2021-10-10 13:43 UTC by Ghost
Modified: 2021-10-12 22:25 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
v0 ("git am") (916 bytes, patch)
2021-10-10 13:43 UTC, Ghost
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ghost 2021-10-10 13:43:45 UTC
Created attachment 228562 [details]
v0 ("git am")

poudriere-devel reports:

pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm13/work/stage/usr/local/llvm13/lib/libLLVMMCACustomBehaviourAMDGPU.a:No such file or directory

OPTIONS: BE_AMDGPU=off, BE_STANDARD=off, BE_NATIVE=on, FLANG=off.

Blind patch (I did not look how to properly guard libLLVMMCACustomBehaviourAMDGPU.a) is attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-10-11 22:51:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3dde6830b535fd1c6a72bc480662fe2c74af66f

commit b3dde6830b535fd1c6a72bc480662fe2c74af66f
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-10-11 22:50:57 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-10-11 22:50:57 +0000

    devel/llvm13: fix build without AMDGPU

    PR:             259044
    Reported by:    Evgeniy Khramtsov
    MFH:            2021Q4
    Sponsored by:   DARPA

 devel/llvm13/Makefile  | 1 +
 devel/llvm13/pkg-plist | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-10-12 22:20:29 UTC
A commit in branch 2021Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1111994c240724ba85aefb2b7c1ed2ec9a315e86

commit 1111994c240724ba85aefb2b7c1ed2ec9a315e86
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-10-12 22:19:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-10-12 22:19:31 +0000

    devel/llvm13: fix build without AMDGPU

    PR:             259044
    Reported by:    Evgeniy Khramtsov
    Sponsored by:   DARPA

    (cherry picked from commit b3dde6830b535fd1c6a72bc480662fe2c74af66f)

 devel/llvm13/Makefile  | 1 +
 devel/llvm13/pkg-plist | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2021-10-12 22:25:27 UTC
should be fixed now.

Thanks for the report!