Bug 277989 - devel/llvm-devel: handle the edge case where FLANG is on and OPENMP is off
Summary: devel/llvm-devel: handle the edge case where FLANG is on and OPENMP is off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 12:16 UTC by Trond Endrestøl
Modified: 2024-04-04 10:31 UTC (History)
0 users

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


Attachments
Patch for devel/llvm-devel/pkg-plist handling the edge case where FLANG is on and OPENMP is off (2.66 KB, patch)
2024-03-27 12:16 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2024-03-27 12:16:51 UTC
Created attachment 249510 [details]
Patch for devel/llvm-devel/pkg-plist handling the edge case where FLANG is on and OPENMP is off

--------------------------------------------------------------------------------
--  Phase: package
--------------------------------------------------------------------------------
===>  Building packages for llvm-devel-19.0.d20240321
===>   Building llvm-devel-19.0.d20240321
pkg-static: Unable to access file /construction/xports/devel/llvm-devel/work-default/stage/usr/local/llvm-devel/include/flang/OpenMP/omp_lib.h:No such file or directory
pkg-static: Unable to access file /construction/xports/devel/llvm-devel/work-default/stage/usr/local/llvm-devel/include/flang/omp_lib.f18.mod:No such file or directory
pkg-static: Unable to access file /construction/xports/devel/llvm-devel/work-default/stage/usr/local/llvm-devel/include/flang/omp_lib.mod:No such file or directory
pkg-static: Unable to access file /construction/xports/devel/llvm-devel/work-default/stage/usr/local/llvm-devel/include/flang/omp_lib_kinds.f18.mod:No such file or directory
pkg-static: Unable to access file /construction/xports/devel/llvm-devel/work-default/stage/usr/local/llvm-devel/include/flang/omp_lib_kinds.mod:No such file or directory
*** Error code 1

Stop.
make: stopped in /xports/devel/llvm-devel
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-04-03 22:41:19 UTC
A commit in branch main references this bug:

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

commit 2986fba67c34cc693e18344beb0cb71094bb8149
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-04-03 22:40:27 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-04-03 22:40:27 +0000

    devel/llvm-devel: handle the edge case where FLANG is on and OPENMP is off

    PR:             277989
    Submitted by:   Trond Endrestøl <Trond.Endrestol@ximalas.info>

 devel/llvm-devel/Makefile  |  2 +-
 devel/llvm-devel/pkg-plist | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 2 Trond Endrestøl 2024-04-04 10:31:40 UTC
Fixed in 2986fba67c34cc693e18344beb0cb71094bb8149.