2 hosts with 12.1-p9 amd64. ===> License BSD3CLAUSE accepted by the user ===> ispc-1.14.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ispc-1.14.1_1 for building ===> Extracting for ispc-1.14.1_1 => SHA256 Checksum OK for ispc-ispc-v1.14.1_GH0.tar.gz. ===> Patching for ispc-1.14.1_1 ===> Applying FreeBSD patches for ispc-1.14.1_1 from /usr/ports/devel/ispc/files ===> ispc-1.14.1_1 depends on executable: m4 - found ===> ispc-1.14.1_1 depends on executable: bison - found ===> ispc-1.14.1_1 depends on file: /usr/local/bin/cmake - found ===> ispc-1.14.1_1 depends on executable: ninja - found ===> ispc-1.14.1_1 depends on file: /usr/local/bin/python3.7 - found ===> ispc-1.14.1_1 depends on shared library: libLLVM.so - found (/usr/local/llvm90/lib/libLLVM.so) ===> Configuring for ispc-1.14.1_1 ===> Performing out-of-source build /bin/mkdir -p /tmp/work/usr/ports/devel/ispc/work/.build -- The C compiler identification is Clang 9.0.1 -- The CXX compiler identification is Clang 9.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/llvm90/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/llvm90/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LLVM LLVM_9_0 -- LLVM_CONFIG_EXECUTABLE: /usr/local/llvm90/bin/llvm-config -- CLANG_EXECUTABLE: /usr/local/llvm90/bin/clang -- CLANGPP_EXECUTABLE: /usr/local/llvm90/bin/clang++ -- LLVM_DIS_EXECUTABLE: /usr/local/llvm90/bin/llvm-dis -- LLVM_AS_EXECUTABLE: /usr/local/llvm90/bin/llvm-as -- FILE_CHECK_EXECUTABLE: /usr/local/llvm90/bin/FileCheck -- Detected LLVM version: 9.0.1 CMake Warning at cmake/LLVMConfig.cmake:134 (message): LLVM was built without assertions enabled (-DLLVM_ENABLE_ASSERTIONS=OFF). This disables dumps, which are required for ISPC to be fully functional. Call Stack (most recent call first): CMakeLists.txt:164 (include) -- GIT_BINARY: /usr/local/bin/git fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). -- M4 macro processor: /tmp/work/usr/ports/devel/ispc/work/.bin/m4 -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.5") found components: Interpreter -- Found BISON: /usr/local/bin/bison (found suitable version "3.6.4", minimum required is "3.0") -- Found FLEX: /usr/bin/flex (found suitable version "2.5.37", minimum required is "2.5") llvm-config: unknown component name: arm CMake Error at cmake/LLVMConfig.cmake:119 (message): Failed running /usr/local/llvm90/bin/llvm-config;--libfiles;engine;ipo;bitreader;bitwriter;instrumentation;linker;option;x86;arm;aarch64 Call Stack (most recent call first): cmake/LLVMConfig.cmake:156 (run_llvm_config) CMakeLists.txt:261 (get_llvm_libfiles) -- Configuring incomplete, errors occurred! See also "/tmp/work/usr/ports/devel/ispc/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make: stopped in /usr/ports/devel/ispc
Does your llvm90 have any special options? What does this command print: > /usr/local/llvm90/bin/llvm-config --libfiles engine ipo bitreader bitwriter instrumentation linker option x86 arm aarch64
(In reply to Yuri Victorovich from comment #1) > llvm-config: unknown component name: arm
$ /usr/local/llvm90/bin/llvm-config --libfiles engine ipo bitreader bitwriter instrumentation linker option x86 aarch64 llvm-config: unknown component name: aarch64
(In reply to VVD from comment #3) It looks like your llvm90 wasn't built with default options, and doesn't support these targets.
(In reply to Yuri Victorovich from comment #4) Yes. I don't have arm and pick to not build useless for me parts of llvm port.
(In reply to VVD from comment #5) This is a bug in ISPC that they don't detect architectures that llvm supports: https://github.com/ispc/ispc/issues/1869
A commit references this bug: Author: yuri Date: Sun Sep 13 10:09:49 UTC 2020 New revision: 548470 URL: https://svnweb.freebsd.org/changeset/ports/548470 Log: devel/ispc: Only enable host architecture (no cross-platrorm compilation) PR: 249289 Reported by: VVD <vvd@unislabs.com> Changes: head/devel/ispc/Makefile head/devel/ispc/files/patch-CMakeLists.txt
Fix committed. Thanks for your report!
(In reply to Yuri Victorovich from comment #8) Thanks you for fast fix!
You(In reply to VVD from comment #9) You're welcome!
(In reply to Yuri Victorovich from comment #10) Sorry for reset status…
(In reply to VVD from comment #11) No problem.