Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2025 08:39:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 290260] devel/libclc missing FLAVOR llvm21 llvm20
Message-ID:  <bug-290260-7141-8N06lywFv4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290260-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290260

--- Comment #1 from Jordan Ostreff <jordan@ostreff.info> ---
Part of the problem is that inside CMakeLists.txt file the patched block is
moved from line 186 to line 225 for version 21.1.3, for version 20.1.8 it looks
that is was on old place:

# pkg-config file
configure_file( libclc.pc.in libclc.pc @ONLY )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION
"${CMAKE_INSTALL_DATADIR}/pkgconfig" )

if( ENABLE_RUNTIME_SUBNORMAL )
  foreach( file IN ITEMS subnormal_use_default subnormal_disable )
    link_bc(
       TARGET ${file}
       INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/opencl/lib/generic/${file}.ll
    )
    install(
      FILES $<TARGET_PROPERTY:${file},TARGET_FILE>
      DESTINATION "${CMAKE_INSTALL_DATADIR}/clc"
    )
  endforeach()
endif()

it's also not understandable for me how to modify this file, but doing manual
editing it after make FLAVOR=llvm21 extract inside my modified source tree, the
compilation was successful, but it's not possible to install it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290260-7141-8N06lywFv4>