Skip to content

Should be able to link against an external instance of unified-runtime instead of compiling and installing it from this project #17648

@bwarden

Description

@bwarden

unified-runtime can be built, packaged, and distributed separately. This is desirable for OS distributions like Clear Linux. The cmake configuration for this compiler should be able to use an external version, if it exists. In that case it also should not add umf as an install target.

install(TARGETS umf
LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" COMPONENT unified-memory-framework
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" COMPONENT unified-memory-framework
RUNTIME DESTINATION "bin" COMPONENT unified-memory-framework)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions