New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import taichi encounter taichi_core error #4270
Comments
Hello! Does using the taichi from pip work? (Does it only happen when you build it from source?) |
In addition, could you share your build error log as well? THx |
work fine(using the taichi from pip), tried it just now. |
Another attention: under my ubuntu21.10, Build llvm/TVM both ok. |
|
Yes, pip install will be work find. |
So after your build, there is no |
build everything is ok, below is about some file after building: (taichi) linaro@linaro:~/ssd/git/taichi/build$ ls |
Would you mind sending your CMakeCache.txt ? |
Remove all the sensitive information from it that is |
Please refer the attached file.
Need any file else?
<details>
At 2022-02-15 13:58:03, "Bob Cao" ***@***.***> wrote:
Would you mind sending your CMakeCache.txt ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
# This is the CMakeCache file.
# For build in directory: /home/linaro/ssd/git/tvm/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Build the testing tree.
BUILD_TESTING:BOOL=ON
//Path to a program.
BZRCOMMAND:FILEPATH=BZRCOMMAND-NOTFOUND
//Path to a program.
CCACHE_FOUND:FILEPATH=/usr/bin/ccache
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-9
//LLVM archiver
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/lib/llvm-9/bin/llvm-ar
//Generate index for LLVM archive
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-9/bin/llvm-ranlib
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-9
//LLVM archiver
CMAKE_C_COMPILER_AR:FILEPATH=/usr/lib/llvm-9/bin/llvm-ar
//Generate index for LLVM archive
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-9/bin/llvm-ranlib
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=tvm
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Path to COMPILER-RT
COMPILER_RT_PATH:STRING=3rdparty/compiler-rt
//Path to the coverage program that CTest uses for performing coverage
// inspection
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov
//Extra command line flags to pass to the coverage tool
COVERAGE_EXTRA_FLAGS:STRING=-l
//How many times to retry timed-out CTest submissions.
CTEST_SUBMIT_RETRY_COUNT:STRING=3
//How long to wait between timed-out CTest submissions.
CTEST_SUBMIT_RETRY_DELAY:STRING=5
//Compile device code in 64 bit mode
CUDA_64_BIT_DEVICE_CODE:BOOL=ON
//Attach the build rule to the CUDA source file. Enable only when
// the CUDA source file is added to at most one target.
CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON
//Generate and parse .cubin files in Device mode.
CUDA_BUILD_CUBIN:BOOL=OFF
//Build in Emulation mode
CUDA_BUILD_EMULATION:BOOL=OFF
//Path to a library.
CUDA_CUBLASLT_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcublasLt.so
//Path to a library.
CUDA_CUBLAS_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcublas.so
//"cudart" library
CUDA_CUDART_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcudart.so
//"cuda" library (older versions only).
CUDA_CUDA_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcuda.so
//Path to a library.
CUDA_CUDNN_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcudnn.so
//Directory to put all the output files. If blank it will default
// to the CMAKE_CURRENT_BINARY_DIR
CUDA_GENERATED_OUTPUT_DIR:PATH=
//Generated file extension
CUDA_HOST_COMPILATION_CPP:BOOL=ON
//Host side compiler used by NVCC
CUDA_HOST_COMPILER:FILEPATH=/usr/bin/clang-9
//Path to a program.
CUDA_NVCC_EXECUTABLE:FILEPATH=/usr/local/cuda-11.2/bin/nvcc
//Semi-colon delimit multiple arguments. during all build types.
CUDA_NVCC_FLAGS:STRING=
//Semi-colon delimit multiple arguments. during DEBUG builds.
CUDA_NVCC_FLAGS_DEBUG:STRING=
//Semi-colon delimit multiple arguments. during MINSIZEREL builds.
CUDA_NVCC_FLAGS_MINSIZEREL:STRING=
//Semi-colon delimit multiple arguments. during RELEASE builds.
CUDA_NVCC_FLAGS_RELEASE:STRING=
//Semi-colon delimit multiple arguments. during RELWITHDEBINFO
// builds.
CUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING=
//Path to a library.
CUDA_NVRTC_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnvrtc.so
//"OpenCL" library
CUDA_OpenCL_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libOpenCL.so
//Propagate C/CXX_FLAGS and friends to the host compiler via -Xcompile
CUDA_PROPAGATE_HOST_FLAGS:BOOL=ON
//Path to a file.
CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND
//Compile CUDA objects with separable compilation enabled. Requires
// CUDA 5.0+
CUDA_SEPARABLE_COMPILATION:BOOL=OFF
//Path to a file.
CUDA_TOOLKIT_INCLUDE:PATH=/usr/local/cuda-11.2/include
//Toolkit location.
CUDA_TOOLKIT_ROOT_DIR:PATH=/usr/local/cuda-11.2
//Use the static version of the CUDA runtime library if available
CUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON
//Print out the commands run while compiling the CUDA source file.
// With the Makefile generator this defaults to VERBOSE variable
// specified on the command line, but can be forced on with this
// option.
CUDA_VERBOSE_BUILD:BOOL=OFF
//Version of CUDA as computed from nvcc.
CUDA_VERSION:STRING=11.2
//"cublas" library
CUDA_cublas_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcublas.so
//"cudadevrt" library
CUDA_cudadevrt_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcudadevrt.a
//static CUDA runtime library
CUDA_cudart_static_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcudart_static.a
//"cufft" library
CUDA_cufft_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcufft.so
//"cupti" library
CUDA_cupti_LIBRARY:FILEPATH=/usr/local/cuda-11.2/extras/CUPTI/lib64/libcupti.so
//"curand" library
CUDA_curand_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcurand.so
//"cusolver" library
CUDA_cusolver_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcusolver.so
//"cusparse" library
CUDA_cusparse_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libcusparse.so
//"nppc" library
CUDA_nppc_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppc.so
//"nppial" library
CUDA_nppial_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppial.so
//"nppicc" library
CUDA_nppicc_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppicc.so
//"nppicom" library
CUDA_nppicom_LIBRARY:FILEPATH=CUDA_nppicom_LIBRARY-NOTFOUND
//"nppidei" library
CUDA_nppidei_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppidei.so
//"nppif" library
CUDA_nppif_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppif.so
//"nppig" library
CUDA_nppig_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppig.so
//"nppim" library
CUDA_nppim_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppim.so
//"nppist" library
CUDA_nppist_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppist.so
//"nppisu" library
CUDA_nppisu_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppisu.so
//"nppitc" library
CUDA_nppitc_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnppitc.so
//"npps" library
CUDA_npps_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnpps.so
//"nvToolsExt" library
CUDA_nvToolsExt_LIBRARY:FILEPATH=/usr/local/cuda-11.2/lib64/libnvToolsExt.so
//Path to a library.
CUDA_rt_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.a
//Path to a program.
CVSCOMMAND:FILEPATH=CVSCOMMAND-NOTFOUND
//Options passed to the cvs update command.
CVS_UPDATE_OPTIONS:STRING=-d -A -P
//Maximum time allowed before CTest will kill the test.
DART_TESTING_TIMEOUT:STRING=1500
//Path to DLPACK
DLPACK_PATH:STRING=3rdparty/dlpack/include
//Path to DMLC
DMLC_PATH:STRING=3rdparty/dmlc-core/include
//Path to a program.
GITCOMMAND:FILEPATH=/usr/bin/git
//Git command line client
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
//Path to a file.
GTEST_INCLUDE_DIR:PATH=/usr/local/include
//Path to a library.
GTEST_LIB:FILEPATH=/usr/local/lib/libgtest.so
//Path to a program.
HGCOMMAND:FILEPATH=HGCOMMAND-NOTFOUND
//Compile with -fvisibility=hidden.
HIDE_PRIVATE_SYMBOLS:STRING=OFF
//Defaults the index datatype to int64
INDEX_DEFAULT_I64:STRING=ON
//Install compiler infrastructure
INSTALL_DEV:STRING=OFF
//Command to build the project
MAKECOMMAND:STRING=/usr/bin/cmake --build . --config "${CTEST_CONFIGURATION_TYPE}" -- -i
//Path to the memory checking command, used for memory error detection.
MEMORYCHECK_COMMAND:FILEPATH=MEMORYCHECK_COMMAND-NOTFOUND
//File that contains suppressions for the memory checker
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=
//Path to a library.
MKLDNN_LIBRARY:FILEPATH=/home/linaro/work/git/armnn/install/dnn/lib/libdnnl.so
//Path to a file.
OpenCL_INCLUDE_DIR:PATH=/usr/include
//Path to a library.
OpenCL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libOpenCL.so
//Path to a program.
P4COMMAND:FILEPATH=P4COMMAND-NOTFOUND
//Path to PicoJSON
PICOJSON_PATH:STRING=3rdparty/picojson
//Path to a program.
PYTHON:FILEPATH=/home/linaro/anaconda3/bin/python
//Path to RANG
RANG_PATH:STRING=3rdparty/rang/include
//The path to rocm
ROCM_PATH:STRING=/opt/rocm
//Name of the computer/site where compile is being run
SITE:STRING=linaro
//Path to the SLURM sbatch executable
SLURM_SBATCH_COMMAND:FILEPATH=SLURM_SBATCH_COMMAND-NOTFOUND
//Path to the SLURM srun executable
SLURM_SRUN_COMMAND:FILEPATH=SLURM_SRUN_COMMAND-NOTFOUND
//Path to a program.
SVNCOMMAND:FILEPATH=SVNCOMMAND-NOTFOUND
//Path to a file.
TENSORRT_INCLUDE_DIR:PATH=/home/linaro/ssd/tool/TensorRT-8.0.1.6/include
//Path to a library.
TENSORRT_LIB_DIR:FILEPATH=/home/linaro/ssd/tool/TensorRT-8.0.1.6/lib/libnvinfer.so
//Build with Arm CMSIS-NN
USE_CMSISNN:STRING=OFF
//Build with coreml support
USE_COREML:STRING=OFF
//Build with MT
USE_MSVC_MT:STRING=OFF
//Build with RTTI
USE_RTTI:STRING=ON
//Build with Rust based compiler extensions, STATIC, DYNAMIC, or
// OFF
USE_RUST_EXT:STRING=OFF
//Build with thread support
USE_THREADS:STRING=ON
//Path to a library.
Vulkan_LIBRARY:FILEPATH=/home/linaro/ssd/tool/1.2.141.2/x86_64/lib/libvulkan.so
//Path to a library.
Vulkan_SPIRV_TOOLS_LIBRARY:FILEPATH=/home/linaro/ssd/tool/1.2.141.2/x86_64/lib/libSPIRV-Tools.a
//Path to a library.
_CUDA_CUDA_LIBRARY:FILEPATH=/usr/local/cuda-11.2/targets/x86_64-linux/lib/stubs/libcuda.so
//Path to a file.
_glsl_std:PATH=/home/linaro/ssd/tool/1.2.141.2/x86_64/include/SPIRV
//Path to a file.
_libspirv:PATH=/home/linaro/ssd/tool/1.2.141.2/x86_64/include/spirv-tools
//Path to a file.
_spirv:PATH=/home/linaro/ssd/tool/1.2.141.2/x86_64/include/SPIRV
//Value Computed by CMake
tvm_BINARY_DIR:STATIC=/home/linaro/ssd/git/tvm/build
//Dependencies for the target
tvm_LIB_DEPENDS:STATIC=general;libbacktrace;general;/usr/local/cuda-11.2/lib64/libnvrtc.so;general;/home/linaro/ssd/tool/1.2.141.2/x86_64/lib/libSPIRV-Tools.a;general;/usr/lib/llvm-9/lib/libLLVM-9.so;general;dl;general;/usr/local/cuda-11.2/lib64/libcudart.so;general;/usr/local/cuda-11.2/targets/x86_64-linux/lib/stubs/libcuda.so;general;/usr/local/cuda-11.2/lib64/libnvrtc.so;general;/usr/local/cuda-11.2/lib64/libcudnn.so;general;/usr/local/cuda-11.2/lib64/libcublas.so;general;/usr/local/cuda-11.2/lib64/libcublasLt.so;general;/usr/lib/x86_64-linux-gnu/libOpenCL.so;general;/home/linaro/ssd/tool/1.2.141.2/x86_64/lib/libvulkan.so;general;/home/linaro/work/git/armnn/install/dnn/lib/libdnnl.so;general;/home/linaro/ssd/tool/TensorRT-8.0.1.6/lib/libnvinfer.so;
//Value Computed by CMake
tvm_SOURCE_DIR:STATIC=/home/linaro/ssd/git/tvm
//Dependencies for the target
tvm_runtime_LIB_DEPENDS:STATIC=general;libbacktrace;general;dl;general;/usr/local/cuda-11.2/lib64/libcudart.so;general;/usr/local/cuda-11.2/targets/x86_64-linux/lib/stubs/libcuda.so;general;/usr/local/cuda-11.2/lib64/libnvrtc.so;general;/usr/local/cuda-11.2/lib64/libcudnn.so;general;/usr/local/cuda-11.2/lib64/libcublas.so;general;/usr/local/cuda-11.2/lib64/libcublasLt.so;general;/usr/lib/x86_64-linux-gnu/libOpenCL.so;general;/home/linaro/ssd/tool/1.2.141.2/x86_64/lib/libvulkan.so;general;/home/linaro/work/git/armnn/install/dnn/lib/libdnnl.so;general;/home/linaro/ssd/tool/TensorRT-8.0.1.6/lib/libnvinfer.so;
########################
# INTERNAL cache entries
########################
//Result of TRY_COMPILE
BUILD_FOR_ANDROID:INTERNAL=FALSE
//Result of TRY_COMPILE
BUILD_FOR_HEXAGON:INTERNAL=FALSE
//ADVANCED property for variable: BZRCOMMAND
BZRCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/linaro/ssd/git/tvm/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=16
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//ADVANCED property for variable: CMAKE_CTEST_COMMAND
CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/linaro/ssd/git/tvm
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.16
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_COMMAND
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_EXTRA_FLAGS
COVERAGE_EXTRA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT
CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY
CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_64_BIT_DEVICE_CODE
CUDA_64_BIT_DEVICE_CODE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE
CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_BUILD_CUBIN
CUDA_BUILD_CUBIN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_BUILD_EMULATION
CUDA_BUILD_EMULATION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_CUDART_LIBRARY
CUDA_CUDART_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_CUDA_LIBRARY
CUDA_CUDA_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_GENERATED_OUTPUT_DIR
CUDA_GENERATED_OUTPUT_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_HOST_COMPILATION_CPP
CUDA_HOST_COMPILATION_CPP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_EXECUTABLE
CUDA_NVCC_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_FLAGS
CUDA_NVCC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_FLAGS_DEBUG
CUDA_NVCC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_FLAGS_MINSIZEREL
CUDA_NVCC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_FLAGS_RELEASE
CUDA_NVCC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_NVCC_FLAGS_RELWITHDEBINFO
CUDA_NVCC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_OpenCL_LIBRARY
CUDA_OpenCL_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_PROPAGATE_HOST_FLAGS
CUDA_PROPAGATE_HOST_FLAGS-ADVANCED:INTERNAL=1
//This is the value of the last time CUDA_SDK_ROOT_DIR was set
// successfully.
CUDA_SDK_ROOT_DIR_INTERNAL:INTERNAL=CUDA_SDK_ROOT_DIR-NOTFOUND
//ADVANCED property for variable: CUDA_SEPARABLE_COMPILATION
CUDA_SEPARABLE_COMPILATION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_TOOLKIT_INCLUDE
CUDA_TOOLKIT_INCLUDE-ADVANCED:INTERNAL=1
//This is the value of the last time CUDA_TOOLKIT_ROOT_DIR was
// set successfully.
CUDA_TOOLKIT_ROOT_DIR_INTERNAL:INTERNAL=/usr/local/cuda-11.2
//This is the value of the last time CUDA_TOOLKIT_TARGET_DIR was
// set successfully.
CUDA_TOOLKIT_TARGET_DIR_INTERNAL:INTERNAL=/usr/local/cuda-11.2
//ADVANCED property for variable: CUDA_VERBOSE_BUILD
CUDA_VERBOSE_BUILD-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_VERSION
CUDA_VERSION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cublas_LIBRARY
CUDA_cublas_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cudadevrt_LIBRARY
CUDA_cudadevrt_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cudart_static_LIBRARY
CUDA_cudart_static_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cufft_LIBRARY
CUDA_cufft_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cupti_LIBRARY
CUDA_cupti_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_curand_LIBRARY
CUDA_curand_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusolver_LIBRARY
CUDA_cusolver_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_cusparse_LIBRARY
CUDA_cusparse_LIBRARY-ADVANCED:INTERNAL=1
//Location of make2cmake.cmake
CUDA_make2cmake:INTERNAL=/usr/share/cmake-3.16/Modules/FindCUDA/make2cmake.cmake
//ADVANCED property for variable: CUDA_nppc_LIBRARY
CUDA_nppc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppial_LIBRARY
CUDA_nppial_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicc_LIBRARY
CUDA_nppicc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppicom_LIBRARY
CUDA_nppicom_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppidei_LIBRARY
CUDA_nppidei_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppif_LIBRARY
CUDA_nppif_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppig_LIBRARY
CUDA_nppig_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppim_LIBRARY
CUDA_nppim_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppist_LIBRARY
CUDA_nppist_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppisu_LIBRARY
CUDA_nppisu_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nppitc_LIBRARY
CUDA_nppitc_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_npps_LIBRARY
CUDA_npps_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CUDA_nvToolsExt_LIBRARY
CUDA_nvToolsExt_LIBRARY-ADVANCED:INTERNAL=1
//Location of parse_cubin.cmake
CUDA_parse_cubin:INTERNAL=/usr/share/cmake-3.16/Modules/FindCUDA/parse_cubin.cmake
//Location of run_nvcc.cmake
CUDA_run_nvcc:INTERNAL=/usr/share/cmake-3.16/Modules/FindCUDA/run_nvcc.cmake
//ADVANCED property for variable: CVSCOMMAND
CVSCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CVS_UPDATE_OPTIONS
CVS_UPDATE_OPTIONS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_TESTING_TIMEOUT
DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1
//Test FILE_PREFIX_MAP_SUPPORTED
FILE_PREFIX_MAP_SUPPORTED:INTERNAL=
//Details about finding TENSORRT
FIND_PACKAGE_MESSAGE_DETAILS_TENSORRT:INTERNAL=[/home/linaro/ssd/tool/TensorRT-8.0.1.6/include][/home/linaro/ssd/tool/TensorRT-8.0.1.6/lib/libnvinfer.so][v()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: GITCOMMAND
GITCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: HGCOMMAND
HGCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MAKECOMMAND
MAKECOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
//Have symbol CL_VERSION_2_2
OPENCL_VERSION_2_2:INTERNAL=1
//ADVANCED property for variable: OpenCL_INCLUDE_DIR
OpenCL_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenCL_LIBRARY
OpenCL_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: P4COMMAND
P4COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SLURM_SBATCH_COMMAND
SLURM_SBATCH_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SLURM_SRUN_COMMAND
SLURM_SRUN_COMMAND-ADVANCED:INTERNAL=1
//Test SUPPORT_CXX14
SUPPORT_CXX14:INTERNAL=1
//ADVANCED property for variable: SVNCOMMAND
SVNCOMMAND-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
result:INTERNAL=TRUE
</details>
|
Hello, it seems the CMakeCache file does not contain variables that should be there. Did you use the |
Thanks for your reply!
Try to run setup.py, but failed, need parameters for run setup.py? I'am the fresh for the Taichi.
taichi) ***@***.***:~/ssd/git/taichi$ python setup.py
[]
['taichi', 'taichi.aot', 'taichi.linalg', 'taichi.tools', 'taichi._snode', 'taichi.profiler', 'taichi.lang', 'taichi._lib', 'taichi.ui', 'taichi.types', 'taichi.lang.ast', 'taichi._lib.core']
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
At 2022-02-15 14:49:24, "Bob Cao" ***@***.***> wrote:
Hello, it seems the CMakeCache file does not contain variables that should be there. Did you use the python setup.py develop command to build?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You can follow the steps in |
Hello.
Before your mention, build as this way
mkdir build
cd build
cmake ../
make -j16
As your just mention:
under taichi root folder
python setup.py build
import taichi will show the same issue(I thought it will be ok).
Attachment is the update CMakecache(python setup.py build)
At 2022-02-15 14:49:24, "Bob Cao" ***@***.***> wrote:
Hello, it seems the CMakeCache file does not contain variables that should be there. Did you use the python setup.py develop command to build?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
# This is the CMakeCache file.
# For build in directory: /home/linaro/ssd/git/taichi/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Build with clang address sanitizer
BUILD_WITH_ADDRESS_SANITIZER:BOOL=OFF
//Path to a program.
CCACHE_PROGRAM:FILEPATH=/usr/bin/ccache
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-9
//LLVM archiver
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/lib/llvm-9/bin/llvm-ar
//Generate index for LLVM archive
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-9/bin/llvm-ranlib
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-9
//LLVM archiver
CMAKE_C_COMPILER_AR:FILEPATH=/usr/lib/llvm-9/bin/llvm-ar
//Generate index for LLVM archive
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-9/bin/llvm-ranlib
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=/home/linaro/ssd/tool/llvm/bin/llvm-dlltool
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin
//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=
//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share
//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=
//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include
//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=
//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib
//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec
//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=
//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var
//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=
//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=
//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin
//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com
//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc
//No help, variable specified on the command line.
CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/home/linaro/ssd/git/taichi/build
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Program used to build from build.ninja files.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=taichi
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Build SPIRV-TOOLS with c++ exceptions enabled in MSVC
ENABLE_EXCEPTIONS_ON_MSVC:BOOL=ON
//Enables RTTI
ENABLE_RTTI:BOOL=OFF
//Path to a library.
LIBRT:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.a
//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=/home/linaro/anaconda3/envs/taichi/bin/python
//Path to a library.
PYTHON_LIBRARY:FILEPATH=/home/linaro/anaconda3/envs/taichi/lib/libpython3.6m.so
//Skip installation
SKIP_SPIRV_TOOLS_INSTALL:BOOL=OFF
//Dependencies for the target
SPIRV-Tools-diff_LIB_DEPENDS:STATIC=general;SPIRV-Tools-static;general;SPIRV-Tools-opt;
//Dependencies for the target
SPIRV-Tools-link_LIB_DEPENDS:STATIC=general;SPIRV-Tools-opt;
//Dependencies for the target
SPIRV-Tools-lint_LIB_DEPENDS:STATIC=general;SPIRV-Tools-static;general;SPIRV-Tools-opt;
//Dependencies for the target
SPIRV-Tools-opt_LIB_DEPENDS:STATIC=general;SPIRV-Tools-static;
//Dependencies for the target
SPIRV-Tools-reduce_LIB_DEPENDS:STATIC=general;SPIRV-Tools-static;general;SPIRV-Tools-opt;
//Dependencies for the target
SPIRV-Tools-shared_LIB_DEPENDS:STATIC=general;/usr/lib/x86_64-linux-gnu/librt.a;
//Dependencies for the target
SPIRV-Tools-static_LIB_DEPENDS:STATIC=general;/usr/lib/x86_64-linux-gnu/librt.a;
//Allow timers via clock_gettime on supported platforms
SPIRV_ALLOW_TIMERS:BOOL=ON
//Build SPIR-V compressing codec
SPIRV_BUILD_COMPRESSION:BOOL=OFF
//Build spirv-fuzz
SPIRV_BUILD_FUZZER:BOOL=OFF
//Build libFuzzer targets
SPIRV_BUILD_LIBFUZZER_TARGETS:BOOL=OFF
//In a debug build, check if the IR context is in a valid state.
SPIRV_CHECK_CONTEXT:BOOL=ON
//Enable color terminal output
SPIRV_COLOR_TERMINAL:BOOL=ON
//Used by OSS-Fuzz to control, via link options, which fuzzing
// engine should be used
SPIRV_LIB_FUZZING_ENGINE_LINK_OPTIONS:STRING=
//Enable excessive debug output
SPIRV_LOG_DEBUG:BOOL=OFF
//Skip building the executable and tests along with the library
SPIRV_SKIP_EXECUTABLES:BOOL=ON
//Skip building tests along with the library
SPIRV_SKIP_TESTS:BOOL=OFF
//Build SPIRV-Tools-static target. SPIRV-Tools will alias to SPIRV-Tools-static
// or SPIRV-Tools-shared based on BUILD_SHARED_LIBS
SPIRV_TOOLS_BUILD_STATIC:BOOL=ON
//Install Emacs helper to disassemble/assemble SPIR-V binaries
// on file load/save.
SPIRV_TOOLS_INSTALL_EMACS_HELPERS:BOOL=OFF
//Use the clang sanitizer [address|memory|thread|...]
SPIRV_USE_SANITIZER:STRING=
//Enable -Weverything
SPIRV_WARN_EVERYTHING:BOOL=OFF
//Enable error on warning
SPIRV_WERROR:BOOL=ON
//Build the CPP examples
TI_BUILD_EXAMPLES:BOOL=ON
//Build the CPP tests
TI_BUILD_TESTS:BOOL=OFF
//Build using emscripten
TI_EMSCRIPTENED:BOOL=OFF
//export taichi core
TI_EXPORT_CORE:BOOL=OFF
//No help, variable specified on the command line.
TI_VERSION_MAJOR:UNINITIALIZED=0
//No help, variable specified on the command line.
TI_VERSION_MINOR:UNINITIALIZED=9
//No help, variable specified on the command line.
TI_VERSION_PATCH:UNINITIALIZED=0
//Build with the C backend
TI_WITH_CC:BOOL=ON
//Build with the CUDA backend
TI_WITH_CUDA:BOOL=ON
//Build with the CUDA toolkit
TI_WITH_CUDA_TOOLKIT:BOOL=OFF
//Build with the DX11 backend
TI_WITH_DX11:BOOL=OFF
//Build with LLVM backends
TI_WITH_LLVM:BOOL=ON
//Build with the Metal backend
TI_WITH_METAL:BOOL=ON
//Build with the OpenGL backend
TI_WITH_OPENGL:BOOL=ON
//Build with the Vulkan backend
TI_WITH_VULKAN:BOOL=OFF
//Use -stdlib=libc++
USE_STDCPP:BOOL=OFF
//Value Computed by CMake
spirv-tools_BINARY_DIR:STATIC=/home/linaro/ssd/git/taichi/build/external/SPIRV-Tools
//Value Computed by CMake
spirv-tools_SOURCE_DIR:STATIC=/home/linaro/ssd/git/taichi/external/SPIRV-Tools
//Value Computed by CMake
taichi_BINARY_DIR:STATIC=/home/linaro/ssd/git/taichi/build
//Value Computed by CMake
taichi_SOURCE_DIR:STATIC=/home/linaro/ssd/git/taichi
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/linaro/ssd/git/taichi/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=16
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/linaro/ssd/git/taichi
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=28
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.16
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PythonInterp
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/home/linaro/anaconda3/envs/taichi/bin/python][v3.6.13(3)]
//Host arch
HOST_ARCH:INTERNAL=x64
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local
|
build from source code
it will show "sigStackSize constexpr variable 'sigStackSize' must be initialized by a constant expression" error.
file included from /home/linaro/ssd/git/taichi/taichi/util/testing.cpp:7:
In file included from /home/linaro/ssd/git/taichi/taichi/util/testing.h:11:
/home/linaro/ssd/git/taichi/external/include/catch.hpp:10822:34: error: constexpr variable 'sigStackSize' must be initialized by a constant expression
static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/ssd/git/taichi/external/include/catch.hpp:10822:58: note: non-constexpr function 'sysconf' cannot be used in a constant expression
static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
At 2022-02-15 15:23:49, "Bob Cao" ***@***.***> wrote:
You can follow the steps in https://docs.taichi.graphics/lang/articles/contribution/dev_install !
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hmmmm, do you have access to clang-10? |
It should be clang++ --version
link taichi_cpp_examples error
PYTHON_LIBRARIES: /home/linaro/anaconda3/envs/taichi/lib/libpython3.6m.so
C++ Flags: -DTI_ISE_NONE -std=c++17 -fsized-deallocation -Wall -march=nehalem -DTI_ARCH_x64 -DTI_PASS_EXCEPTION_TO_PYTHON -DTI_INCLUDED -DTI_WITH_LLVM -DTI_WITH_CUDA -DTI_WITH_METAL -DTI_WITH_CC
Build type: Release
Clang executable using host compiler /home/linaro/work/tools/llvm_taichi/llvm/bin/clang++
/home/linaro/work/tools/llvm_taichi/llvm/bin/clang++ --version: 10.0.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/linaro/ssd/git/taichi/build
---------- Building extensions ----------------------------------------
[5/5] Linking CXX executable taichi_cpp_examples
FAILED: taichi_cpp_examples
At 2022-02-15 16:08:33, "Bob Cao" ***@***.***> wrote:
Hmmmm, do you have access to clang-10?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
ld is wrong? if yes, How to set the right linker?
t,/home/linaro/ssd/git/taichi/misc/linker.map -Wl,--wrap=log2f && :
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
At 2022-02-15 16:08:33, "Bob Cao" ***@***.***> wrote:
Hmmmm, do you have access to clang-10?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@Peterritche Hey I'm curious why do you want to build taichi from source instead of pip installing taichi or taichi-nightly? Those are definitely more convenient. Btw if you really need to build from source, try the following
and then follow the steps in https://docs.taichi.graphics/lang/articles/contribution/dev_install. |
May be only reinstall the ubuntu21.10 on my PC.
already unset PYTHONPATH in my .bashrc and then
llvm download from ttps://docs.taichi.graphics/lang/articles/contribution/dev_install.
which llvm-as
/home/linaro/work/tools/llvm_taichi/llvm/bin/llvm-as
llvm-as --version
***@***.***:~/ssd/git/taichi$ llvm-as --version
LLVM (http://llvm.org/):
LLVM version 10.0.0
Optimized build.
Default target: x86_64-unknown-linux-gnu
Host CPU: skylake
***@***.***:~/ssd/git/taichi$ clang++ --version
clang version 10.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/linaro/work/tools/llvm_taichi/llvm/bin
At 2022-02-15 16:51:57, "Ailing" ***@***.***> wrote:
@Peterritche Hey I'm curious why do you want to build taichi from source instead of pip installing taichi or taichi-nightly? Those are definitely more convenient.
Btw if you really need to build from source, try the following
unset PYTHONPATH
which python # make sure you have python in your path
which llvm-as
llvm-as --version
clang++ --version
and then follow the steps in https://docs.taichi.graphics/lang/articles/contribution/dev_install.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello, it seems like this issue is related to the installed LLVM environment, maybe the path has been polluted. If you still have difficulties after another attempt, please feel free to reopen this issue. |
Hello, I reinstalled the ubuntu 20.04
following taichi build environments:
python3 -m pip install --user -r requirements_dev.txt
python3 setup.py develop
download clang-llvm install package and export bin path to PATH
but if i run below command, will show cmake related error:
python3 setup.py develop
***@***.***:~/work/git/taichi$ python3 setup.py develop --user
[]
['taichi', 'taichi.types', 'taichi.tools', 'taichi.lang', 'taichi.linalg', 'taichi._snode', 'taichi.aot', 'taichi.ui', 'taichi._lib', 'taichi.profiler', 'taichi.lang.ast', 'taichi._lib.core']
running develop
running egg_info
writing python/taichi.egg-info/PKG-INFO
writing dependency_links to python/taichi.egg-info/dependency_links.txt
writing entry points to python/taichi.egg-info/entry_points.txt
writing requirements to python/taichi.egg-info/requires.txt
writing top-level names to python/taichi.egg-info/top_level.txt
reading manifest file 'python/taichi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'python/taichi/*.md'
warning: no files found matching 'python/taichi/_lib/core/*.so'
warning: no files found matching 'python/taichi/_lib/core/*.pyd'
warning: no files found matching 'python/taichi/_lib/runtime/*.bc'
warning: no files found matching 'python/taichi/_lib/runtime/*.dylib'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching 'ffmpeg' found anywhere in distribution
writing manifest file 'python/taichi.egg-info/SOURCES.txt'
running build_ext
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
---------- Running CMake prepare ----------------------------------------
cmake /home/linaro/work/git/taichi -DCMAKE_CXX_COMPILER=/home/linaro/tools/llvm/llvm/bin/clang++ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/linaro/work/git/taichi/build -DPYTHON_EXECUTABLE=/home/linaro/anaconda3/bin/python3 -DTI_VERSION_MAJOR=0 -DTI_VERSION_MINOR=9 -DTI_VERSION_PATCH=0 -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/linaro/tools/llvm/llvm/bin/clang++
-- Check for working CXX compiler: /home/linaro/tools/llvm/llvm/bin/clang++ -- broken
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
The C++ compiler
"/home/linaro/tools/llvm/llvm/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/linaro/work/git/taichi/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_7ea6c/fast && /usr/bin/make -f CMakeFiles/cmTC_7ea6c.dir/build.make CMakeFiles/cmTC_7ea6c.dir/build
make[1]: Entering directory '/home/linaro/work/git/taichi/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7ea6c.dir/testCXXCompiler.cxx.o
/home/linaro/tools/llvm/llvm/bin/clang++ -o CMakeFiles/cmTC_7ea6c.dir/testCXXCompiler.cxx.o -c /home/linaro/work/git/taichi/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
/home/linaro/tools/llvm/llvm/bin/clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/cmTC_7ea6c.dir/build.make:66: CMakeFiles/cmTC_7ea6c.dir/testCXXCompiler.cxx.o] Error 127
make[1]: Leaving directory '/home/linaro/work/git/taichi/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7ea6c/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
…-- Configuring incomplete, errors occurred!
See also "/home/linaro/work/git/taichi/build/CMakeFiles/CMakeOutput.log".
See also "/home/linaro/work/git/taichi/build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", l
At 2022-02-19 02:05:47, "Bob Cao" ***@***.***> wrote:
Closed #4270.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Now, reinstall some moudle
seems build successfully, it show below error.
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/py_exception_translator.cpp.o
[100%] Linking CXX executable taichi_cpp_examples
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/taichi_cpp_examples.dir/build.make:589: taichi_cpp_examples] Error 1
make[1]: *** [CMakeFiles/Makefile2:811: CMakeFiles/taichi_cpp_examples.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared library libtaichi_core.so
[100%] Built target taichi_core
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
At 2022-02-19 02:05:47, "Bob Cao" ***@***.***> wrote:
Closed #4270.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
git clone another tacihi source code and build it.
Got the same error with below red line
[ 97%] Built target taichi_isolated_core
Scanning dependencies of target taichi_cpp_examples
Scanning dependencies of target taichi_core
[ 97%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/main.cpp.o
[ 97%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/autograd.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/aot_save.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/run_snode.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/exception.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_ggui.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_visual.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/snode_registry.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_math.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_lang.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_misc.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/interfaces_registry.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/memory_usage_monitor.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/py_exception_translator.cpp.o
[100%] Linking CXX executable taichi_cpp_examples
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/taichi_cpp_examples.dir/build.make:575: taichi_cpp_examples] Error 1
make[1]: *** [CMakeFiles/Makefile2:733: CMakeFiles/taichi_cpp_examples.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared library libtaichi_core.so
[100%] Built target taichi_core
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 177, in run
subprocess.check_call(cmake_cmd, cwd=self.build_temp)
File "/home/linaro/anaconda3/lib/python3.7/subprocess.py", line 328, in check_call
在 2022-02-19 13:04:20,"yuqin" ***@***.***> 写道:
Now, reinstall some moudle
seems build successfully, it show below error.
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/py_exception_translator.cpp.o
[100%] Linking CXX executable taichi_cpp_examples
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/taichi_cpp_examples.dir/build.make:589: taichi_cpp_examples] Error 1
make[1]: *** [CMakeFiles/Makefile2:811: CMakeFiles/taichi_cpp_examples.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared library libtaichi_core.so
[100%] Built target taichi_core
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
At 2022-02-19 02:05:47, "Bob Cao" ***@***.***> wrote:
Closed #4270.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
some link imply " forget this option (REQUIRES_RTTI=1) causes the problem" for the llvm build
At 2022-02-19 14:07:07, "yuqin" ***@***.***> wrote:
git clone another tacihi source code and build it.
Got the same error with below red line
[ 97%] Built target taichi_isolated_core
Scanning dependencies of target taichi_cpp_examples
Scanning dependencies of target taichi_core
[ 97%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/main.cpp.o
[ 97%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/autograd.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/aot_save.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_cpp_examples.dir/cpp_examples/run_snode.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/exception.cpp.o
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_ggui.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_visual.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/snode_registry.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_math.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_lang.cpp.o
[ 99%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/export_misc.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/interfaces_registry.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/memory_usage_monitor.cpp.o
[100%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/py_exception_translator.cpp.o
[100%] Linking CXX executable taichi_cpp_examples
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/taichi_cpp_examples.dir/build.make:575: taichi_cpp_examples] Error 1
make[1]: *** [CMakeFiles/Makefile2:733: CMakeFiles/taichi_cpp_examples.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared library libtaichi_core.so
[100%] Built target taichi_core
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 177, in run
subprocess.check_call(cmake_cmd, cwd=self.build_temp)
File "/home/linaro/anaconda3/lib/python3.7/subprocess.py", line 328, in check_call
在 2022-02-19 13:04:20,"yuqin" ***@***.***> 写道:
Now, reinstall some moudle
seems build successfully, it show below error.
[ 98%] Building CXX object CMakeFiles/taichi_core.dir/taichi/python/py_exception_translator.cpp.o
[100%] Linking CXX executable taichi_cpp_examples
/usr/bin/ld: CMakeFiles/taichi_isolated_core.dir/taichi/codegen/codegen_llvm.cpp.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE[_ZTIN4llvm18ValueMapCallbackVHIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEE]+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/taichi_cpp_examples.dir/build.make:589: taichi_cpp_examples] Error 1
make[1]: *** [CMakeFiles/Makefile2:811: CMakeFiles/taichi_cpp_examples.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared library libtaichi_core.so
[100%] Built target taichi_core
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "setup.py", line 284, in <module>
has_ext_modules=lambda: True)
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/home/linaro/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/linaro/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/linaro/anaconda3/lib/python3.7/site-packages/setuptools/command/develop.py", line 138, in install_for_development
self.run_command('build_ext')
File "/home/linaro/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
At 2022-02-19 02:05:47, "Bob Cao" ***@***.***> wrote:
Closed #4270.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I didn't follow through your error messages, but seems like your LLVM-10 build itself didn't succeed? #4270 (comment) |
I download the clang-llvm from your web site https://docs.taichi.graphics/lang/articles/contribution/dev_install instead of building from source code.
Download Clang + LLVM 10.0.0 pre-built binary for Ubuntu 18.04.
At 2022-02-19 17:12:56, "Ye Kuang" ***@***.***> wrote:
I didn't follow through your error messages, but seems like your LLVM-10 build itself didn't succeed? #4270 (comment)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello.
Everything is ok now. confused clang with llvm
clang package contain llvm-as/llvm-config
llvm package contain llvm-as/llvm-config
another libstdc++.so.6 doesn't contain the GLIBCXX_3.4.26.
Thanks all!
At 2022-02-19 17:12:56, "Ye Kuang" ***@***.***> wrote:
I didn't follow through your error messages, but seems like your LLVM-10 build itself didn't succeed? #4270 (comment)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello.
How to port a taichi language to Andoiid(mobile android..)
Is there any guide for the steps?
Thanks!
|
build taichi from source code,and import taichi will show below error
export PYTHONPATH=$TAICHI_REPO_DIR/python:$PYTHONPATH is set in my ubuntu21.10 .bashrc.
The text was updated successfully, but these errors were encountered: