Lines Matching +full:root +full:- +full:relative

16 #     CMAKE_CURRENT_SOURCE_DIR). For non-relocatable sources, this will
17 # typically just be the root of the python source tree (current directory).
19 # can be relocated. For generated sources, can be relative to
24 # SOURCES: List of specific source files relative to ROOT_DIR to include.
25 # SOURCES_GLOB: List of glob patterns relative to ROOT_DIR to include.
44 RELATIVE "${ARG_ROOT_DIR}"
54 # Yes: Leading-lowercase property names are load bearing and the recommended
55 # way to do this: https://gitlab.kitware.com/cmake/cmake/-/issues/19261
106 # ROOT_DIR: Root directory where sources are interpreted relative to.
136 # Yes: Leading-lowercase property names are load bearing and the recommended
137 # way to do this: https://gitlab.kitware.com/cmake/cmake/-/issues/19261
175 # Transform "a/b/c.py" -> "${install_prefix}/a/b" for installation.
183 COMPONENT mlir-python-sources
187 UMBRELLA mlir-python-sources)
189 COMPONENT mlir-python-sources
198 # packaging root in use.
202 # for non-relocatable modules or a deeper directory tree for relocatable.
233 # Transform relative source to based on root dir.
262 install-${name}
278 # TD_FILE: Tablegen file to generate source for (relative to ROOT_DIR).
284 # GEN_ENUM_BINDINGS_TD_FILE: Optional Tablegen file to generate enums for (relative to ROOT_DIR).
286 # **WARNING**: This arg will shortly be removed when the just-below TODO is satisfied. Use at your
317 -gen-python-op-bindings -bind-dialect=${ARG_DIALECT_NAME}
329 mlir_tablegen(${enum_filename} -gen-python-enum-bindings)
352 # TD_FILE: Tablegen file to generate source for (relative to ROOT_DIR).
359 # GEN_ENUM_BINDINGS_TD_FILE: Optional Tablegen file to generate enums for (relative to ROOT_DIR).
386 mlir_tablegen("${output_filename}" -gen-python-op-bindings
387 -bind-dialect=${ARG_DIALECT_NAME}
388 -dialect-extension=${ARG_EXTENSION_NAME})
401 mlir_tablegen(${enum_filename} -gen-python-enum-bindings)
421 # path relative to the installation location. Typically a number of ".."
450 # lib directory. This will be absolute for the build tree and relative for
608 COMMENT "Copying python source ${_src_path} -> ${_dest_path}"
610 COMMAND "${CMAKE_COMMAND}" -E ${_link_or_copy}
619 # the relative directory structure in the install destination.
657 set(eh_rtti_enable -frtti -fexceptions)
660 # The actual extension library produces a shared-object or DLL and has
679 set(nanobind_target "nanobind-static")
681 # Get correct nanobind target name: nanobind-static-ft or something else
688 if("${target}" MATCHES "nanobind-")
699 -Wno-cast-qual
700 -Wno-zero-length-array
701 -Wno-nested-anon-types
702 -Wno-c++98-compat-extra-semi
703 -Wno-covered-switch-default
711 # for downstream users that do not do something like `-undefined dynamic_lookup`.
712 set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-U -Wl,_PyClassMethod_New")
743 # On Linux, disable re-export of any static linked libraries that
745 $<$<PLATFORM_ID:Linux>:LINKER:--exclude-libs,ALL>
769 # NOTE: Even on DLL-platforms, extensions go in the lib directory tree.