mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 04:26:37 +00:00

This patch defines `fir::SafeTempArrayCopyAttrInterface` and the corresponding OpenACC/OpenMP related attributes in FIR dialect. The actual implementations are just placeholders right now, and array repacking becomes a no-op if `-fopenacc/-fopenmp` is used for the compilation.
22 lines
471 B
CMake
22 lines
471 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
Support
|
|
AsmParser
|
|
)
|
|
|
|
add_flang_tool(fir-lsp-server fir-lsp-server.cpp)
|
|
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
get_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS)
|
|
target_link_libraries(fir-lsp-server PRIVATE
|
|
CUFDialect
|
|
FIRDialect
|
|
FIROpenACCSupport
|
|
FIROpenMPSupport
|
|
HLFIRDialect)
|
|
|
|
mlir_target_link_libraries(fir-lsp-server PRIVATE
|
|
MLIRLspServerLib
|
|
${dialect_libs}
|
|
${extension_libs})
|