Skip to content

Commit

Permalink
Remove unused python module
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre-amd committed Aug 23, 2024
1 parent 4974ae6 commit 9faa8b0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 276 deletions.
36 changes: 0 additions & 36 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,6 @@
# (c) Copyright 2021 Xilinx, Inc. All Rights reserved.
# (c) Copyright 2022 - 2024 Advanced Micro Devices, Inc. All Rights reserved.

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${Python3_INCLUDE_DIRS}
${pybind11_INCLUDE_DIR}
)
add_library(_xten SHARED
XTenModule.cpp
)
if(MSVC)
target_compile_options(_xten PUBLIC "/EHsc")
endif()

set_target_properties(_xten PROPERTIES PREFIX "")
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)

target_link_libraries(_xten
PRIVATE
XTenTransformPasses
XTenConversionPasses
${Python3_LIBRARIES}
${dialect_libs}
${conversion_libs}
MLIRPass
MLIRIR
)

install(TARGETS _xten
LIBRARY DESTINATION python COMPONENT python
ARCHIVE DESTINATION python COMPONENT python
RUNTIME DESTINATION bin COMPONENT python)

install(DIRECTORY xten
DESTINATION python COMPONENT python)

if(MLIR_ENABLE_BINDINGS_PYTHON)
include(AddMLIRPython)
declare_mlir_python_sources(XTenPythonSources)
Expand Down
40 changes: 0 additions & 40 deletions python/XTenModule.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions python/test/CMakeLists.txt

This file was deleted.

87 changes: 0 additions & 87 deletions python/test/lit.cfg.py

This file was deleted.

58 changes: 0 additions & 58 deletions python/test/lit.site.cfg.py.in

This file was deleted.

26 changes: 0 additions & 26 deletions python/xten/__init__.py

This file was deleted.

0 comments on commit 9faa8b0

Please sign in to comment.