-
Notifications
You must be signed in to change notification settings - Fork 2
Description
hi,
在 build 的时候有这个报错,请问一下是否了解哪里有问题么
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining file:///home/cser/jason2.li/LLCompiler
Preparing metadata (setup.py) ... done
Requirement already satisfied: xdsl in /usr/local/lib/python3.10/dist-packages (from llcompiler==0.0.1) (0.28.0)
Requirement already satisfied: onnx in /usr/local/lib/python3.10/dist-packages (from llcompiler==0.0.1) (1.16.0)
Requirement already satisfied: numpy>=1.20 in /usr/local/lib/python3.10/dist-packages (from onnx->llcompiler==0.0.1) (1.26.4)
Requirement already satisfied: protobuf>=3.20.2 in /usr/local/lib/python3.10/dist-packages (from onnx->llcompiler==0.0.1) (4.24.4)
Requirement already satisfied: immutabledict<4.2.2 in /usr/local/lib/python3.10/dist-packages (from xdsl->llcompiler==0.0.1) (4.2.0)
Requirement already satisfied: typing-extensions<4.13,>=4.7 in /usr/local/lib/python3.10/dist-packages (from xdsl->llcompiler==0.0.1) (4.12.0)
Requirement already satisfied: ordered-set==4.1.0 in /usr/local/lib/python3.10/dist-packages (from xdsl->llcompiler==0.0.1) (4.1.0)
Installing collected packages: llcompiler
DEPRECATION: Legacy editable install of llcompiler==0.0.1 from file:///home/cser/jason2.li/LLCompiler (setup.py develop) is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
Running setup.py develop for llcompiler
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [293 lines of output]
running develop
/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing llcompiler.egg-info/PKG-INFO
writing dependency_links to llcompiler.egg-info/dependency_links.txt
writing requirements to llcompiler.egg-info/requires.txt
writing top-level names to llcompiler.egg-info/top_level.txt
reading manifest file 'llcompiler.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'llcompiler.egg-info/SOURCES.txt'
running build_ext
running cmake_build
******************************************
************* build googletest ***************
******************************************
******************************************
************* build spdlog ***************
******************************************
-- Build spdlog: 1.15.1
-- Build type: Release
-- Generating install
******************************************
************* build llvm *****************
******************************************
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/llvm/CMakeLists.txt:8 (include)
-- bolt project is disabled
-- clang project is enabled
-- 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
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- 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.
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Targeting ARM
-- Targeting AVR
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting LoongArch
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting SystemZ
-- Targeting VE
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/mlir/CMakeLists.txt:8 (include)
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/clang/CMakeLists.txt:7 (include)
-- Clang version: 21.0.0git
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
******************************************
************* build pybind11 *****************
******************************************
-- pybind11 v2.14.0 dev1
******************************************
************* build stablehlo ***************
******************************************
/home/cser/jason2.li/LLCompiler/lib/cmake/mlir/home/cser/jason2.li/LLCompiler/build/lib/cmake/mlir
/home/cser/jason2.li/LLCompiler/third_party/llvm-project/llvm/lib/cmake/llvm/home/cser/jason2.li/LLCompiler/build/third_party/llvm-project/llvm/lib/cmake/llvm
CMake Deprecation Warning at third_party/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
CMake Error at build/lib/cmake/mlir/AddMLIR.cmake:265 (message):
StablehloTypeConversion specifies LINK_LIBS LLVMSupport, but LINK_LIBS
cannot be used for LLVM libraries. Please use LINK_COMPONENTS instead.
Call Stack (most recent call first):
build/lib/cmake/mlir/AddMLIR.cmake:377 (_check_llvm_components_usage)
third_party/stablehlo/stablehlo/transforms/conversions/CMakeLists.txt:16 (add_mlir_library)
******************************************
************* build symengine ***************
******************************************
-- Linker supports --exclude-libs
--------------------------------------------------------------------------------
+-------------------------------+
| Configuration results SUMMARY |
+-------------------------------+
CMAKE_C_COMPILER: /usr/bin/cc
CMAKE_CXX_COMPILER: /usr/bin/c++
CMAKE_BUILD_TYPE: Release
CMAKE_CONFIGURATION_TYPES:
CMAKE_C_FLAGS:
CMAKE_CXX_FLAGS: -std=c++11 -fPIC
CMAKE_CXX_FLAGS_DEBUG: -g -Wno-unknown-pragmas
CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG -Wno-unknown-pragmas
CMAKE_INSTALL_PREFIX: /home/cser/jason2.li/LLCompiler/install
BUILD_SHARED_LIBS: ON
INTEGER_CLASS : GMP
HAVE_SYMENGINE_GMP: yes
WITH_SYMENGINE_ASSERT: yes
WITH_SYMENGINE_RCP: yes
WITH_SYMENGINE_TEUCHOS: no
WITH_COTIRE: no
WITH_GENERATE_PARSER: no
HAVE_GCC_ABI_DEMANGLE: yes
HAVE_C_FUNCTION_NOT_FUNC: no
HAVE_DEFAULT_CONSTRUCTORS: yes
HAVE_SYMENGINE_NOEXCEPT: yes
HAVE_SYMENGINE_IS_CONSTRUCTIBLE: yes
HAVE_SYMENGINE_RESERVE: yes
HAVE_SYMENGINE_STD_TO_STRING: TRUE
WITH_SYMENGINE_THREAD_SAFE: res
BUILD_TESTS: no
BUILD_BENCHMARKS: yes
BUILD_BENCHMARKS_GOOGLE: no
WITH_GMP: yes
GMP_INCLUDE_DIRS: /usr/include/x86_64-linux-gnu
GMP_LIBRARIES: /usr/lib/x86_64-linux-gnu/libgmp.so
WITH_BFD: no
WITH_ECM: no
WITH_PRIMESIEVE: no
WITH_FLINT: no
WITH_ARB: no
WITH_MPFR: no
WITH_PIRANHA: no
WITH_LLVM: no
WITH_BOOST: no
WITH_PTHREAD: no
WITH_MPC: no
WITH_TCMALLOC: no
WITH_OPENMP: no
WITH_VIRTUAL_TYPEID: no
WITH_SYSTEM_CEREAL: no
WITH_SYSTEM_FASTFLOAT: no
LIBS: gmp
--------------------------------------------------------------------------------
add SHARED lib: LLCSupport.
add SHARED lib: LLCFrontendCore.
add SHARED lib: MLIRSymbolShapeOpInterfaces.
add SHARED lib: MLIRBraodcastableOpInterfaces.
add SHARED lib: LLCLLHDialect.
add SHARED lib: LLCLLHTransforms.
add SHARED lib: LLCLLHUtils.
add SHARED lib: LLCSymbolInferTransforms.
add SHARED lib: LLCMLIRUtility.
add SHARED lib: LLCPatternRewriter.
add SHARED lib: LLCIndexExtensionTransforms.
add SHARED lib: LLCLLVMExtensionTransforms.
add SHARED lib: LLCBufferizationExtensionTransforms.
add SHARED lib: LLCLLHToTosa.
add SHARED lib: LLCLLHToArith.
add SHARED lib: LLCLLHToTensor.
add SHARED lib: LLCLLHToHLO.
add SHARED lib: LLCLLHToShape.
add SHARED lib: MLIRTosaToLinalgExtension.
add SHARED lib: LLCStablehlotoLinalgExtension.
add SHARED lib: LLCLLHToMath.
add SHARED lib: LLCPipelines.
add SHARED lib: LLCompiler.
add executable: llc-opt.
add executable: llc-translate.
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Building with -fPIC
-- BUILD_SHARED_LIBS:ON
-- STATIC_WINDOWS_RUNTIME:OFF
-- CMAKE_EXPORT_COMPILE_COMMANDS:ON
-- BUILD_LLCOMPILER_LOG:ON
-- CMAKE_INSTALL_PREFIX:/home/cser/jason2.li/LLCompiler/install
add executable: main.
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/cser/jason2.li/LLCompiler/setup.py", line 177, in <module>
setuptools.setup(
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 983, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py", line 35, in run
self.install_for_development()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py", line 112, in install_for_development
self.run_command('build_ext')
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/home/cser/jason2.li/LLCompiler/setup.py", line 149, in run
self.run_command("cmake_build")
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/home/cser/jason2.li/LLCompiler/setup.py", line 128, in run
subprocess.check_call(cmake_args)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '-G Ninja', '-DCMAKE_INSTALL_PREFIX=/home/cser/jason2.li/LLCompiler/install', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_SHARED_LIBS=ON', '-DBUILD_LLCOMPILER_TEST=OFF', '-DSTATIC_WINDOWS_RUNTIME=ON', '-DBUILD_LLCOMPILER_DOCS=ON', '-DBUILD_LLCOMPILER_LOG=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DLLCOMPILER_BUILD_WARNINGS=ON', '-DDEVELOPER_MODE=OFF', '/home/cser/jason2.li/LLCompiler']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [293 lines of output]
running develop
/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing llcompiler.egg-info/PKG-INFO
writing dependency_links to llcompiler.egg-info/dependency_links.txt
writing requirements to llcompiler.egg-info/requires.txt
writing top-level names to llcompiler.egg-info/top_level.txt
reading manifest file 'llcompiler.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'llcompiler.egg-info/SOURCES.txt'
running build_ext
running cmake_build
******************************************
************* build googletest ***************
******************************************
******************************************
************* build spdlog ***************
******************************************
-- Build spdlog: 1.15.1
-- Build type: Release
-- Generating install
******************************************
************* build llvm *****************
******************************************
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/llvm/CMakeLists.txt:8 (include)
-- bolt project is disabled
-- clang project is enabled
-- 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
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- 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.
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Targeting ARM
-- Targeting AVR
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting LoongArch
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting SystemZ
-- Targeting VE
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/mlir/CMakeLists.txt:8 (include)
CMake Deprecation Warning at third_party/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (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):
third_party/llvm-project/clang/CMakeLists.txt:7 (include)
-- Clang version: 21.0.0git
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
******************************************
************* build pybind11 *****************
******************************************
-- pybind11 v2.14.0 dev1
******************************************
************* build stablehlo ***************
******************************************
/home/cser/jason2.li/LLCompiler/lib/cmake/mlir/home/cser/jason2.li/LLCompiler/build/lib/cmake/mlir
/home/cser/jason2.li/LLCompiler/third_party/llvm-project/llvm/lib/cmake/llvm/home/cser/jason2.li/LLCompiler/build/third_party/llvm-project/llvm/lib/cmake/llvm
CMake Deprecation Warning at third_party/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
CMake Error at build/lib/cmake/mlir/AddMLIR.cmake:265 (message):
StablehloTypeConversion specifies LINK_LIBS LLVMSupport, but LINK_LIBS
cannot be used for LLVM libraries. Please use LINK_COMPONENTS instead.
Call Stack (most recent call first):
build/lib/cmake/mlir/AddMLIR.cmake:377 (_check_llvm_components_usage)
third_party/stablehlo/stablehlo/transforms/conversions/CMakeLists.txt:16 (add_mlir_library)
******************************************
************* build symengine ***************
******************************************
-- Linker supports --exclude-libs
--------------------------------------------------------------------------------
+-------------------------------+
| Configuration results SUMMARY |
+-------------------------------+
CMAKE_C_COMPILER: /usr/bin/cc
CMAKE_CXX_COMPILER: /usr/bin/c++
CMAKE_BUILD_TYPE: Release
CMAKE_CONFIGURATION_TYPES:
CMAKE_C_FLAGS:
CMAKE_CXX_FLAGS: -std=c++11 -fPIC
CMAKE_CXX_FLAGS_DEBUG: -g -Wno-unknown-pragmas
CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG -Wno-unknown-pragmas
CMAKE_INSTALL_PREFIX: /home/cser/jason2.li/LLCompiler/install
BUILD_SHARED_LIBS: ON
INTEGER_CLASS : GMP
HAVE_SYMENGINE_GMP: yes
WITH_SYMENGINE_ASSERT: yes
WITH_SYMENGINE_RCP: yes
WITH_SYMENGINE_TEUCHOS: no
WITH_COTIRE: no
WITH_GENERATE_PARSER: no
HAVE_GCC_ABI_DEMANGLE: yes
HAVE_C_FUNCTION_NOT_FUNC: no
HAVE_DEFAULT_CONSTRUCTORS: yes
HAVE_SYMENGINE_NOEXCEPT: yes
HAVE_SYMENGINE_IS_CONSTRUCTIBLE: yes
HAVE_SYMENGINE_RESERVE: yes
HAVE_SYMENGINE_STD_TO_STRING: TRUE
WITH_SYMENGINE_THREAD_SAFE: res
BUILD_TESTS: no
BUILD_BENCHMARKS: yes
BUILD_BENCHMARKS_GOOGLE: no
WITH_GMP: yes
GMP_INCLUDE_DIRS: /usr/include/x86_64-linux-gnu
GMP_LIBRARIES: /usr/lib/x86_64-linux-gnu/libgmp.so
WITH_BFD: no
WITH_ECM: no
WITH_PRIMESIEVE: no
WITH_FLINT: no
WITH_ARB: no
WITH_MPFR: no
WITH_PIRANHA: no
WITH_LLVM: no
WITH_BOOST: no
WITH_PTHREAD: no
WITH_MPC: no
WITH_TCMALLOC: no
WITH_OPENMP: no
WITH_VIRTUAL_TYPEID: no
WITH_SYSTEM_CEREAL: no
WITH_SYSTEM_FASTFLOAT: no
LIBS: gmp
--------------------------------------------------------------------------------
add SHARED lib: LLCSupport.
add SHARED lib: LLCFrontendCore.
add SHARED lib: MLIRSymbolShapeOpInterfaces.
add SHARED lib: MLIRBraodcastableOpInterfaces.
add SHARED lib: LLCLLHDialect.
add SHARED lib: LLCLLHTransforms.
add SHARED lib: LLCLLHUtils.
add SHARED lib: LLCSymbolInferTransforms.
add SHARED lib: LLCMLIRUtility.
add SHARED lib: LLCPatternRewriter.
add SHARED lib: LLCIndexExtensionTransforms.
add SHARED lib: LLCLLVMExtensionTransforms.
add SHARED lib: LLCBufferizationExtensionTransforms.
add SHARED lib: LLCLLHToTosa.
add SHARED lib: LLCLLHToArith.
add SHARED lib: LLCLLHToTensor.
add SHARED lib: LLCLLHToHLO.
add SHARED lib: LLCLLHToShape.
add SHARED lib: MLIRTosaToLinalgExtension.
add SHARED lib: LLCStablehlotoLinalgExtension.
add SHARED lib: LLCLLHToMath.
add SHARED lib: LLCPipelines.
add SHARED lib: LLCompiler.
add executable: llc-opt.
add executable: llc-translate.
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Building with -fPIC
-- BUILD_SHARED_LIBS:ON
-- STATIC_WINDOWS_RUNTIME:OFF
-- CMAKE_EXPORT_COMPILE_COMMANDS:ON
-- BUILD_LLCOMPILER_LOG:ON
-- CMAKE_INSTALL_PREFIX:/home/cser/jason2.li/LLCompiler/install
add executable: main.
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/cser/jason2.li/LLCompiler/setup.py", line 177, in <module>
setuptools.setup(
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 983, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py", line 35, in run
self.install_for_development()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/develop.py", line 112, in install_for_development
self.run_command('build_ext')
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/home/cser/jason2.li/LLCompiler/setup.py", line 149, in run
self.run_command("cmake_build")
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/home/cser/jason2.li/LLCompiler/setup.py", line 128, in run
subprocess.check_call(cmake_args)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '-G Ninja', '-DCMAKE_INSTALL_PREFIX=/home/cser/jason2.li/LLCompiler/install', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_SHARED_LIBS=ON', '-DBUILD_LLCOMPILER_TEST=OFF', '-DSTATIC_WINDOWS_RUNTIME=ON', '-DBUILD_LLCOMPILER_DOCS=ON', '-DBUILD_LLCOMPILER_LOG=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DLLCOMPILER_BUILD_WARNINGS=ON', '-DDEVELOPER_MODE=OFF', '/home/cser/jason2.li/LLCompiler']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.