Last active
April 17, 2024 20:38
-
-
Save AmosLewis/6118c60de921f127dce8b9ff7fd3ef6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(mlir_venv) ➜ torch-mlir git:(reduceprod3) ✗ cmake -GNinja -Bbuild \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DCMAKE_C_COMPILER=clang \ | |
-DCMAKE_CXX_COMPILER=clang++ \ | |
-DPython3_FIND_VIRTUALENV=ONLY \ | |
-DLLVM_ENABLE_PROJECTS=mlir \ | |
-DLLVM_EXTERNAL_PROJECTS="torch-mlir;torch-mlir-dialects" \ | |
-DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR=`pwd` \ | |
-DLLVM_EXTERNAL_TORCH_MLIR_DIALECTS_SOURCE_DIR=`pwd`/externals/llvm-external-projects/torch-mlir-dialects \ | |
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \ | |
-DLLVM_TARGETS_TO_BUILD=host \ | |
externals/llvm-project/llvm | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/externals/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): | |
The OLD behavior for policy CMP0114 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
Call Stack (most recent call first): | |
CMakeLists.txt:6 (include) | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/externals/llvm-project/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): | |
The OLD behavior for policy CMP0116 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
Call Stack (most recent call first): | |
CMakeLists.txt:6 (include) | |
-- The C compiler identification is Clang 17.0.6 | |
-- The CXX compiler identification is Clang 17.0.6 | |
-- The ASM compiler identification is Clang with GNU-like command-line | |
-- Found assembler: /usr/bin/clang | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/clang - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/clang++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- bolt project is disabled | |
-- clang project is disabled | |
-- clang-tools-extra project is disabled | |
-- compiler-rt project is disabled | |
-- cross-project-tests project is disabled | |
-- libc project is disabled | |
-- libclc project is disabled | |
-- lld project is disabled | |
-- lldb project is disabled | |
-- mlir project is enabled | |
-- openmp project is disabled | |
-- polly project is disabled | |
-- pstl project is disabled | |
-- flang project is disabled | |
-- torch-mlir project is enabled | |
-- torch-mlir-dialects project is enabled | |
-- Found Python3: /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 (found suitable version "3.11.7", minimum required is "3.6") found components: Interpreter | |
-- Performing Test LLVM_LIBSTDCXX_MIN | |
-- Performing Test LLVM_LIBSTDCXX_MIN - Success | |
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR | |
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success | |
-- Looking for dlfcn.h | |
-- Looking for dlfcn.h - found | |
-- Looking for errno.h | |
-- Looking for errno.h - found | |
-- Looking for fcntl.h | |
-- Looking for fcntl.h - found | |
-- Looking for link.h | |
-- Looking for link.h - found | |
-- Looking for malloc/malloc.h | |
-- Looking for malloc/malloc.h - not found | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for signal.h | |
-- Looking for signal.h - found | |
-- Looking for sys/ioctl.h | |
-- Looking for sys/ioctl.h - found | |
-- Looking for sys/mman.h | |
-- Looking for sys/mman.h - found | |
-- Looking for sys/param.h | |
-- Looking for sys/param.h - found | |
-- Looking for sys/resource.h | |
-- Looking for sys/resource.h - found | |
-- Looking for sys/stat.h | |
-- Looking for sys/stat.h - found | |
-- Looking for sys/time.h | |
-- Looking for sys/time.h - found | |
-- Looking for sys/types.h | |
-- Looking for sys/types.h - found | |
-- Looking for sysexits.h | |
-- Looking for sysexits.h - found | |
-- Looking for termios.h | |
-- Looking for termios.h - found | |
-- Looking for unistd.h | |
-- Looking for unistd.h - found | |
-- Looking for valgrind/valgrind.h | |
-- Looking for valgrind/valgrind.h - not found | |
-- Looking for fenv.h | |
-- Looking for fenv.h - found | |
-- Looking for FE_ALL_EXCEPT | |
-- Looking for FE_ALL_EXCEPT - found | |
-- Looking for FE_INEXACT | |
-- Looking for FE_INEXACT - found | |
-- Performing Test HAVE_BUILTIN_THREAD_POINTER | |
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Success | |
-- Looking for mach/mach.h | |
-- Looking for mach/mach.h - not found | |
-- Looking for CrashReporterClient.h | |
-- Looking for CrashReporterClient.h - not found | |
-- Looking for linux/magic.h | |
-- Looking for linux/magic.h - found | |
-- Looking for pthread_create in pthread | |
-- Looking for pthread_create in pthread - found | |
-- Looking for pthread_rwlock_init in pthread | |
-- Looking for pthread_rwlock_init in pthread - found | |
-- Looking for pthread_mutex_lock in pthread | |
-- Looking for pthread_mutex_lock in pthread - found | |
-- Looking for dlopen in dl | |
-- Looking for dlopen in dl - found | |
-- Looking for clock_gettime in rt | |
-- Looking for clock_gettime in rt - found | |
-- Looking for pfm_initialize in pfm | |
-- Looking for pfm_initialize in pfm - not found | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success | |
-- Found Threads: TRUE | |
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) | |
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.13") | |
-- Looking for xmlReadMemory | |
-- Looking for xmlReadMemory - found | |
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES) | |
-- Performing Test Terminfo_LINKABLE | |
-- Performing Test Terminfo_LINKABLE - Success | |
-- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so | |
-- Looking for arc4random | |
-- Looking for arc4random - not found | |
-- Looking for backtrace | |
-- Looking for backtrace - found | |
-- backtrace facility detected in default set of libraries | |
-- Found Backtrace: /usr/include | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success | |
-- Looking for __register_frame | |
-- Looking for __register_frame - found | |
-- Looking for __deregister_frame | |
-- Looking for __deregister_frame - found | |
-- Looking for __unw_add_dynamic_fde | |
-- Looking for __unw_add_dynamic_fde - not found | |
-- Looking for _Unwind_Backtrace | |
-- Looking for _Unwind_Backtrace - found | |
-- Looking for getpagesize | |
-- Looking for getpagesize - found | |
-- Looking for sysconf | |
-- Looking for sysconf - found | |
-- Looking for getrusage | |
-- Looking for getrusage - found | |
-- Looking for setrlimit | |
-- Looking for setrlimit - found | |
-- Looking for isatty | |
-- Looking for isatty - found | |
-- Looking for futimens | |
-- Looking for futimens - found | |
-- Looking for futimes | |
-- Looking for futimes - found | |
-- Looking for sigaltstack | |
-- Looking for sigaltstack - found | |
-- Looking for mallctl | |
-- Looking for mallctl - not found | |
-- Looking for mallinfo | |
-- Looking for mallinfo - found | |
-- Looking for mallinfo2 | |
-- Looking for mallinfo2 - found | |
-- Looking for malloc_zone_statistics | |
-- Looking for malloc_zone_statistics - not found | |
-- Looking for getrlimit | |
-- Looking for getrlimit - found | |
-- Looking for posix_spawn | |
-- Looking for posix_spawn - found | |
-- Looking for pread | |
-- Looking for pread - found | |
-- Looking for sbrk | |
-- Looking for sbrk - found | |
-- Looking for strerror_r | |
-- Looking for strerror_r - found | |
-- Looking for strerror_s | |
-- Looking for strerror_s - not found | |
-- Looking for setenv | |
-- Looking for setenv - found | |
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC | |
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed | |
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC | |
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success | |
-- Looking for __GLIBC__ | |
-- Looking for __GLIBC__ - found | |
-- Looking for pthread_getname_np | |
-- Looking for pthread_getname_np - found | |
-- Looking for pthread_setname_np | |
-- Looking for pthread_setname_np - found | |
-- Looking for dlopen | |
-- Looking for dlopen - found | |
-- Looking for dladdr | |
-- Looking for dladdr - found | |
-- Looking for proc_pid_rusage | |
-- Looking for proc_pid_rusage - not found | |
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB | |
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success | |
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB | |
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success | |
-- Performing Test LLVM_HAS_ATOMICS | |
-- Performing Test LLVM_HAS_ATOMICS - Success | |
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG | |
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success | |
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG | |
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success | |
-- LLVM host triple: x86_64-unknown-linux-gnu | |
-- Native target architecture is X86 | |
-- Threads enabled. | |
-- Doxygen disabled. | |
-- Ninja version: 1.11.1.git.kitware.jobserver-1 | |
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) | |
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) | |
-- OCaml bindings disabled. | |
-- Could NOT find Python module pygments | |
-- Could NOT find Python module pygments.lexers.c_cpp | |
-- Found Python module yaml | |
-- LLVM default target triple: x86_64-unknown-linux-gnu | |
-- Performing Test C_SUPPORTS_FPIC | |
-- Performing Test C_SUPPORTS_FPIC - Success | |
-- Performing Test CXX_SUPPORTS_FPIC | |
-- Performing Test CXX_SUPPORTS_FPIC - Success | |
-- Building with -fPIC | |
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION | |
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success | |
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION | |
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success | |
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG | |
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success | |
-- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS | |
-- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Failed | |
-- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS | |
-- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Failed | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success | |
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG | |
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG | |
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Success | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success | |
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR | |
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success | |
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG | |
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG | |
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success | |
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG | |
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG | |
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success | |
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS | |
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed | |
-- Looking for os_signpost_interval_begin | |
-- Looking for os_signpost_interval_begin - not found | |
-- Linker detection: GNU ld | |
-- Performing Test HAS_WERROR_GLOBAL_CTORS | |
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Success | |
-- Performing Test LLVM_HAS_NOGLOBAL_CTOR_MUTEX | |
-- Performing Test LLVM_HAS_NOGLOBAL_CTOR_MUTEX - Success | |
-- Looking for __x86_64__ | |
-- Looking for __x86_64__ - found | |
-- Found Git: /usr/bin/git (found version "2.34.1") | |
-- Targeting X86 | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/externals/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): | |
The OLD behavior for policy CMP0114 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
Call Stack (most recent call first): | |
/home/chi/src/torch-mlir/externals/llvm-project/mlir/CMakeLists.txt:7 (include) | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/externals/llvm-project/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): | |
The OLD behavior for policy CMP0116 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
Call Stack (most recent call first): | |
/home/chi/src/torch-mlir/externals/llvm-project/mlir/CMakeLists.txt:7 (include) | |
-- Performing Test C_SUPPORTS_WERROR_IMPLICIT_FUNCTION_DECLARATION | |
-- Performing Test C_SUPPORTS_WERROR_IMPLICIT_FUNCTION_DECLARATION - Success | |
-- Performing Test C_SUPPORTS_WUNDEF | |
-- Performing Test C_SUPPORTS_WUNDEF - Success | |
-- Performing Test C_SUPPORTS_WERROR_MISMATCHED_TAGS | |
-- Performing Test C_SUPPORTS_WERROR_MISMATCHED_TAGS - Success | |
-- Found Python3: /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 (found suitable version "3.11.7", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed | |
-- Found Python3: /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 (found suitable version "3.11.7", minimum required is "3.6") found components: Interpreter Development.Module NumPy | |
-- Found python include dirs: /usr/include/python3.11 | |
-- Found python libraries: /usr/lib/x86_64-linux-gnu/libpython3.11.so | |
-- Found numpy v1.26.3: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/numpy/core/include | |
-- Checking for pybind11 in python path... | |
-- found (/home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/share/cmake/pybind11) | |
-- Performing Test HAS_FLTO | |
-- Performing Test HAS_FLTO - Success | |
-- Performing Test HAS_FLTO_THIN | |
-- Performing Test HAS_FLTO_THIN - Success | |
-- Found pybind11: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/include (found version "2.11.1") | |
-- Found pybind11 v2.11.1: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/include | |
-- Python prefix = '', suffix = '', extension = '.cpython-311-x86_64-linux-gnu.so | |
-- Performing Test C_SUPPORTS_WERROR_GLOBAL_CONSTRUCTOR | |
-- Performing Test C_SUPPORTS_WERROR_GLOBAL_CONSTRUCTOR - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_GLOBAL_CONSTRUCTOR | |
-- Performing Test CXX_SUPPORTS_WERROR_GLOBAL_CONSTRUCTOR - Success | |
-- Performing Test COMPILER_SUPPORTS_WARNING_WEAK_VTABLES | |
-- Performing Test COMPILER_SUPPORTS_WARNING_WEAK_VTABLES - Success | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/CMakeLists.txt:21 (cmake_policy): | |
The OLD behavior for policy CMP0116 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
-- Torch-MLIR in-tree build. | |
-- Building torch-mlir project at /home/chi/src/torch-mlir (into /home/chi/src/torch-mlir/build/tools/torch-mlir) | |
-- Found Python3: /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 (found suitable version "3.11.7", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed | |
-- Found Python3: /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 (found suitable version "3.11.7", minimum required is "3.6") found components: Interpreter Development.Module NumPy | |
-- Found python include dirs: /usr/include/python3.11 | |
-- Found python libraries: /usr/lib/x86_64-linux-gnu/libpython3.11.so | |
-- Found numpy v1.26.3: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/numpy/core/include | |
-- Checking for pybind11 in python path... | |
-- found (/home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/share/cmake/pybind11) | |
-- Found pybind11: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/include (found version "2.11.1") | |
-- Found pybind11 v2.11.1: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/pybind11/include | |
-- Python prefix = '', suffix = '', extension = '.cpython-311-x86_64-linux-gnu.so | |
CMake Deprecation Warning at /home/chi/src/torch-mlir/externals/stablehlo/CMakeLists.txt:34 (cmake_policy): | |
The OLD behavior for policy CMP0116 will be removed from a future version | |
of CMake. | |
The cmake-policies(7) manual explains that the OLD behaviors of all | |
policies are deprecated and that a policy should be set to OLD only under | |
specific short-term circumstances. Projects should be ported to the NEW | |
behavior and not rely on setting a policy to OLD. | |
-- Building StableHLO as an external LLVM project | |
-- Building with -fPIC | |
-- Enabling PyTorch C++ dep (features depend on it) | |
-- Checking for PyTorch using /home/chi/src/torch-mlir/mlir_venv/bin/python3.11 ... | |
-- Found PyTorch installation at /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/share/cmake | |
-- Checking PyTorch ABI settings... | |
-- PyTorch C++ Dual ABI setting: "0" | |
-- PyTorch C++ ABI version: "11" | |
CMake Warning at /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message): | |
static library kineto_LIBRARY-NOTFOUND not found. | |
Call Stack (most recent call first): | |
/home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found) | |
/home/chi/src/torch-mlir/projects/CMakeLists.txt:48 (find_package) | |
-- Found Torch: /home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/lib/libtorch.so (Required is at least version "1.11") | |
-- TORCH_CXXFLAGS is = -D_GLIBCXX_USE_CXX11_ABI=0 -U__GXX_ABI_VERSION -D__GXX_ABI_VERSION=1011 '-DPYBIND11_COMPILER_TYPE="_gcc"' | |
-- TORCH_LIBRARIES = torch;torch_library;/home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/lib/libc10.so | |
-- Linking TorchMLIRJITImporter with torch;torch_library;/home/chi/src/torch-mlir/mlir_venv/lib/python3.11/site-packages/torch/lib/libc10.so | |
-- Building PyTorch1 compatibility project | |
-- LTC Backend build is disabled | |
CMake Warning at cmake/modules/AddLLVM.cmake:1536 (message): | |
Nonexistent directory for torch-mlir-dialects: | |
/home/chi/src/torch-mlir/externals/llvm-external-projects/torch-mlir-dialects | |
Call Stack (most recent call first): | |
cmake/modules/AddLLVM.cmake:1548 (add_llvm_subdirectory) | |
tools/CMakeLists.txt:57 (add_llvm_external_project) | |
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF) | |
-- Registering Bye as a pass plugin (static build: OFF) | |
-- Failed to find LLVM FileCheck | |
-- Google Benchmark version: v0.0.0, normalized to 0.0.0 | |
-- Looking for shm_open in rt | |
-- Looking for shm_open in rt - found | |
-- Performing Test HAVE_CXX_FLAG_WALL | |
-- Performing Test HAVE_CXX_FLAG_WALL - Success | |
-- Performing Test HAVE_CXX_FLAG_WEXTRA | |
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success | |
-- Performing Test HAVE_CXX_FLAG_WSHADOW | |
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success | |
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL | |
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success | |
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST | |
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success | |
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE | |
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success | |
-- Performing Test HAVE_CXX_FLAG_PEDANTIC | |
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success | |
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS | |
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success | |
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 | |
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success | |
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING | |
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success | |
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS | |
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success | |
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS | |
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success | |
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING | |
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success | |
-- Performing Test HAVE_CXX_FLAG_WD654 | |
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed | |
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY | |
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success | |
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/home/chi/src/torch-mlir/externals/llvm-project/third-party/benchmark/include | |
-- Compiling and running to test HAVE_THREAD_SAFETY_ATTRIBUTES | |
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success | |
-- Performing Test HAVE_CXX_FLAG_COVERAGE | |
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success | |
-- Compiling and running to test HAVE_GNU_POSIX_REGEX | |
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile | |
-- Compiling and running to test HAVE_POSIX_REGEX | |
-- Performing Test HAVE_POSIX_REGEX -- success | |
-- Compiling and running to test HAVE_STEADY_CLOCK | |
-- Performing Test HAVE_STEADY_CLOCK -- success | |
-- Compiling and running to test HAVE_PTHREAD_AFFINITY | |
-- Performing Test HAVE_PTHREAD_AFFINITY -- success | |
-- Configuring done (37.5s) | |
-- Generating done (3.7s) | |
-- Build files have been written to: /home/chi/src/torch-mlir/build | |
(mlir_venv) ➜ torch-mlir git:(reduceprod3) ✗ cmake --build build --target tools/torch-mlir/all | |
[3929/3929] Linking CXX shared module tools/torch-mlir/python_packages/torch_mlir/torch_mlir/_mlir_libs/_jit_ir_importer.cpython-311-x86_64-linux-gnu.so | |
(mlir_venv) ➜ torch-mlir git:(reduceprod3) ✗ cmake --build build --target check-torch-mlir-python | |
[113/114] Running the torch-mlir Python regression tests | |
Testing Time: 13.42s | |
Total Discovered Tests: 17 | |
Passed: 17 (100.00%) | |
(mlir_venv) ➜ torch-mlir git:(reduceprod3) ✗ cmake --build build --target check-torch-mlir | |
[94/95] Running the torch-mlir regression tests | |
Enabling Torch v2.3+ tests | |
Testing Time: 86.18s | |
Total Discovered Tests: 97 | |
Passed: 97 (100.00%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment