-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Expected behavior
On running build command for TVM unity, libtvm.dylib is not being built.
Environment
ProductName: macOS
ProductVersion: 15.2
BuildVersion: 24C101
cmake version 3.31.4
llvm-config version 19.1.7
rust version 1.84.0 (9fc6b4312 2025-01-07)
cargo version 1.84.0 (66221abde 2024-11-19)
Steps to reproduce
build % cmake .. && cmake --build . --parallel $(6)
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/user/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/user/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Hide private symbols...
-- Forbidding undefined symbols in shared library, using -Wl,-undefined,error on platform Darwin
-- Build with RPC support...
-- Build with Graph Executor support...
-- Build with profiler...
-- Build with AOT Executor support...
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Build Alloc alignment set to 64
-- Didn't find the path to CCACHE, disabling ccache
-- Performing Test SUPPORT_CXX17
-- Performing Test SUPPORT_CXX17 - Success
-- Build with Metal support
-- Use llvm-config=llvm-config --ignore-libllvm --link-static
-- LLVM libdir: /Users/user/homebrew/Cellar/llvm/19.1.7/lib
-- LLVM cmakedir: /Users/user/homebrew/Cellar/llvm/19.1.7/lib/cmake/llvm
-- LLVM links against math
-- LLVM linker flag: /opt/homebrew/lib/libz3.dylib
-- LLVM links against zlib
-- Found ZLIB: /Users/user/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Found zstd: /Users/user/homebrew/lib/libzstd.dylib
-- LLVM links against static zstd
-- LLVM links against xml2
-- Found LLVM_INCLUDE_DIRS=/Users/user/homebrew/Cellar/llvm/19.1.7/include
-- Found LLVM_DEFINITIONS=-D__STDC_CONSTANT_MACROS;-D__STDC_FORMAT_MACROS;-D__STDC_LIMIT_MACROS
-- Found LLVM_LIBS=/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWindowsManifest.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMXRay.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLibDriver.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDlltoolDriver.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTextAPIBinaryReader.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCoverage.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLineEditor.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSandboxIR.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMXCoreDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMXCoreCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMXCoreDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMXCoreInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86TargetMCA.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86Disassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86AsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86CodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86Desc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMX86Info.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyUtils.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWebAssemblyInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVEDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVEAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVECodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVEDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVEInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSystemZDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSystemZAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSystemZCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSystemZDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSystemZInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSparcDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSparcAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSparcCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSparcDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSparcInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVTargetMCA.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRISCVInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPowerPCDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPowerPCAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPowerPCCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPowerPCDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPowerPCInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMNVPTXCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMNVPTXDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMNVPTXInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMSP430Disassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMSP430AsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMSP430CodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMSP430Desc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMSP430Info.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMipsDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMipsAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMipsCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMipsDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMipsInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLoongArchDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLoongArchAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLoongArchCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLoongArchDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLoongArchInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLanaiDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLanaiCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLanaiAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLanaiDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLanaiInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHexagonDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHexagonCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHexagonAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHexagonDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHexagonInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBPFDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBPFAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBPFCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBPFDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBPFInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAVRDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAVRAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAVRCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAVRDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAVRInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMUtils.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMARMInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUTargetMCA.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUDesc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUUtils.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAMDGPUInfo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64Disassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64AsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64CodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64Desc.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64Utils.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAArch64Info.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMOrcDebugging.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMOrcJIT.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMWindowsDriver.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMCJIT.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMJITLink.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMInterpreter.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMExecutionEngine.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRuntimeDyld.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMOrcTargetProcess.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMOrcShared.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDWP.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoLogicalView.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoGSYM.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMOption.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMObjectYAML.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMObjCopy.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMCA.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMCDisassembler.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLTO.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFrontendOpenACC.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFrontendHLSL.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFrontendDriver.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMExtensions.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libPolly.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libPollyISL.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMPasses.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMHipStdPar.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCoroutines.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCFGuard.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMipo.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMInstrumentation.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMVectorize.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMLinker.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFrontendOpenMP.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFrontendOffloading.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDWARFLinkerParallel.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDWARFLinkerClassic.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDWARFLinker.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCodeGenData.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMGlobalISel.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMIRParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAsmPrinter.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSelectionDAG.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCodeGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTarget.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMObjCARCOpts.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCodeGenTypes.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMIRPrinter.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMInterfaceStub.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFileCheck.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFuzzMutate.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMScalarOpts.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMInstCombine.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAggressiveInstCombine.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTransformUtils.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBitWriter.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAnalysis.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMProfileData.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSymbolize.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoBTF.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoPDB.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoMSF.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoDWARF.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMObject.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTextAPI.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMCParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMIRReader.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMAsmParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMMC.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDebugInfoCodeView.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBitReader.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMFuzzerCLI.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMCore.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMRemarks.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBitstreamReader.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMBinaryFormat.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTargetParser.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMTableGen.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMSupport.a;/Users/user/homebrew/Cellar/llvm/19.1.7/lib/libLLVMDemangle.a;m;/opt/homebrew/lib/libz3.dylib;ZLIB::ZLIB;zstd::libzstd_static;-lxml2
-- Found TVM_LLVM_VERSION=191
-- Found TVM_LLVM_HAS_AARCH64_TARGET=1
-- Build with LLVM
-- Set TVM_LLVM_VERSION=191
-- Build with contrib.random
-- Build with contrib.sort
-- Build with contrib.hybriddump
-- Git found: /Users/user/homebrew/bin/git
-- Found TVM_GIT_COMMIT_HASH=dfc1b33fa5d0b885f102af5423466c935224dc9a
-- Found TVM_GIT_COMMIT_TIME=2025-01-19 16:19:44 -0500
-- Could NOT find LIBBACKTRACE (missing: LIBBACKTRACE_STATIC_LIBRARY LIBBACKTRACE_INCLUDE_DIR)
-- Building libbacktrace from 3rdparty/libbacktrace
-- Building with TVM Map...
-- Build with thread support...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test FILE_PREFIX_MAP_SUPPORTED
-- Performing Test FILE_PREFIX_MAP_SUPPORTED - Success
-- Build without FlashInfer
-- Configuring done (5.9s)
-- Generating done (0.2s)
contd..
Metadata
Metadata
Assignees
Labels
No labels