-
Notifications
You must be signed in to change notification settings - Fork 307
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
test failed about testing Ispc Functions #2080
Comments
It seems that something is wrong with you |
@dbabokin I build my own compiler and test it. |
@dbabokin I still have the same problem with the latest version. [root@centos8 tests]# ispc c-test-77.ispc
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "x86-64"
Options: .
Error: arch = x86-64 and target = neon-i32x4 is not a valid combination.
[root@centos8 tests]# ispc --arch=aarch64 c-test-77.ispc
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "aarch64"
Options: .
/tmp/root/spack-stage/spack-stage-ispc-1.15.0-zl7dxzngh5i2r4ww6z2ya2ne5ysv2i46/spack-src/src/ispc.cpp(1090): FATAL ERROR: Problem with target (neon-i32x4)
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this error).
*** You have apparently encountered a bug in the compiler that we'd like to fix!
***
/tmp/root/spack-stage/spack-stage-ispc-1.15.0-zl7dxzngh5i2r4ww6z2ya2ne5ysv2i46/spack-src/src/main.cpp(385): FATAL ERROR: Unhandled signal sent to process; terminating.
Aborted (core dumped) I installed and tested this compiler using sppack, but he kept reporting that the aarch64 architecture was not supported. Here's my system information: Spack: 0.16.1-1624-a0b5dcca3c |
What is CMake string that you use to configure? |
@dbabokin ,this is my CMake string.As you see: [root@centos8 build]# cmake .. -DARM_ENABLED=FALSE -DISPC_NO_DUMPS=ON -DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_TESTS=OFF -DISPC_INCLUDE_UTILS=OFF
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/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: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type not specified: Use Release by default.
-- Found LLVM LLVM_11_0
-- LLVM_CONFIG_EXECUTABLE: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/llvm-config
-- CLANG_EXECUTABLE: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/clang
-- CLANGPP_EXECUTABLE: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/clang++
-- LLVM_DIS_EXECUTABLE: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/llvm-dis
-- LLVM_AS_EXECUTABLE: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-6y2fv2q5u65ltiri65e3rug6kadndva5/bin/llvm-as
-- Detected LLVM version: 11.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:174 (include)
-- GIT_BINARY: /usr/bin/git
fatal: not a git repository (or any of the parent directories): .git
-- M4 macro processor: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/m4-1.4.18-hqb7zucblvvteuesapp37gfak3biyh7s/bin/m4
-- Found Python3: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/python-3.8.8-jf6wr2bynimrvwful46fubsy53ikimhv/bin/python3.8 (found version "3.8.8") found components: Interpreter
-- Found BISON: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bison-3.7.4-fb3r6modpslbbvh7cjqlhgwlfykma2zq/bin/bison (found suitable version "3.7.4", minimum required is "3.0")
-- Found FLEX: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/flex-2.6.4-mdn4u3d7syumiruhemcruw35y7u7jvcg/bin/flex (found suitable version "2.6.4", minimum required is "2.6")
-- ISPC will be built with support of linux for
-- Found Curses: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib/libcurses.so
-- Found ZLIB: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c/lib/libz.so (found version "1.2.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/root/spack-stage/spack-stage-ispc-1.15.0-zl7dxzngh5i2r4ww6z2ya2ne5ysv2i46/spack-src/build
[root@centos8 build]# make
[ 2%] Generating stdlib_mask8_ispc.cpp
[ 5%] Generating builtins-dispatch-macos.cpp
[ 8%] Generating builtins-dispatch.cpp
[ 10%] Generating lex.cpp
[ 13%] Generating parse.cc
[ 16%] Generating stdlib_mask16_ispc.cpp
[ 18%] Generating stdlib_mask1_ispc.cpp
[ 21%] Generating stdlib_mask32_ispc.cpp
[ 24%] Generating stdlib_mask64_ispc.cpp
Scanning dependencies of target ispc
[ 27%] Building CXX object CMakeFiles/ispc.dir/builtins-dispatch.cpp.o
[ 29%] Building CXX object CMakeFiles/ispc.dir/builtins-dispatch-macos.cpp.o
[ 32%] Building CXX object CMakeFiles/ispc.dir/stdlib_mask1_ispc.cpp.o
[ 35%] Building CXX object CMakeFiles/ispc.dir/stdlib_mask8_ispc.cpp.o
[ 37%] Building CXX object CMakeFiles/ispc.dir/stdlib_mask16_ispc.cpp.o
[ 40%] Building CXX object CMakeFiles/ispc.dir/stdlib_mask32_ispc.cpp.o
[ 43%] Building CXX object CMakeFiles/ispc.dir/stdlib_mask64_ispc.cpp.o
[ 45%] Building CXX object CMakeFiles/ispc.dir/parse.cc.o
[ 48%] Building CXX object CMakeFiles/ispc.dir/lex.cpp.o
[ 51%] Building CXX object CMakeFiles/ispc.dir/src/ast.cpp.o
[ 54%] Building CXX object CMakeFiles/ispc.dir/src/bitcode_lib.cpp.o
[ 56%] Building CXX object CMakeFiles/ispc.dir/src/builtins.cpp.o
[ 59%] Building CXX object CMakeFiles/ispc.dir/src/ctx.cpp.o
[ 62%] Building CXX object CMakeFiles/ispc.dir/src/decl.cpp.o
[ 64%] Building CXX object CMakeFiles/ispc.dir/src/expr.cpp.o
[ 67%] Building CXX object CMakeFiles/ispc.dir/src/func.cpp.o
[ 70%] Building CXX object CMakeFiles/ispc.dir/src/ispc.cpp.o
[ 72%] Building CXX object CMakeFiles/ispc.dir/src/llvmutil.cpp.o
[ 75%] Building CXX object CMakeFiles/ispc.dir/src/main.cpp.o
[ 78%] Building CXX object CMakeFiles/ispc.dir/src/module.cpp.o
[ 81%] Building CXX object CMakeFiles/ispc.dir/src/opt.cpp.o
[ 83%] Building CXX object CMakeFiles/ispc.dir/src/stmt.cpp.o
[ 86%] Building CXX object CMakeFiles/ispc.dir/src/sym.cpp.o
[ 89%] Building CXX object CMakeFiles/ispc.dir/src/target_enums.cpp.o
[ 91%] Building CXX object CMakeFiles/ispc.dir/src/target_registry.cpp.o
[ 94%] Building CXX object CMakeFiles/ispc.dir/src/type.cpp.o
[ 97%] Building CXX object CMakeFiles/ispc.dir/src/util.cpp.o
[100%] Linking CXX executable bin/ispc
ld: warning: CMakeFiles/ispc.dir/stdlib_mask1_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask8_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask16_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask32_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask64_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
[100%] Built target ispc
[root@centos8 tests]# ../build/bin/ispc -
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "x86-64"
Options: .
Error: arch = x86-64 and target = neon-i32x4 is not a valid combination.
[root@centos8 tests]# ../build/bin/ispc --arch=aarch64 -
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "aarch64"
Options: .
/tmp/root/spack-stage/spack-stage-ispc-1.15.0-zl7dxzngh5i2r4ww6z2ya2ne5ysv2i46/spack-src/src/ispc.cpp(1090): FATAL ERROR: Problem with target (neon-i32x4)
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this error).
*** You have apparently encountered a bug in the compiler that we'd like to fix!
***
/tmp/root/spack-stage/spack-stage-ispc-1.15.0-zl7dxzngh5i2r4ww6z2ya2ne5ysv2i46/spack-src/src/main.cpp(385): FATAL ERROR: Unhandled signal sent to process; terminating.
Aborted (core dumped)
[root@centos8 tests]# ../build/bin/ispc --support-matrix -
| Windows | Linux | Linux (custom) | FreeBSD | macOS | Android | iOS | PS4 | web
-----------------------------------------------------------------------------------------------------------------
sse2-i32x4 | | | | | | | | |
sse2-i32x8 | | | | | | | | |
sse4-i8x16 | | | | | | | | |
sse4-i16x8 | | | | | | | | |
sse4-i32x4 | | | | | | | | |
sse4-i32x8 | | | | | | | | |
avx1-i32x4 | | | | | | | | |
avx1-i32x8 | | | | | | | | |
avx1-i32x16 | | | | | | | | |
avx1-i64x4 | | | | | | | | |
avx2-i8x32 | | | | | | | | |
avx2-i16x16 | | | | | | | | |
avx2-i32x4 | | | | | | | | |
avx2-i32x8 | | | | | | | | |
avx2-i32x16 | | | | | | | | |
avx2-i64x4 | | | | | | | | |
avx512knl-i32x16 | | | | | | | | |
avx512skx-i32x8 | | | | | | | | |
avx512skx-i32x16 | | | | | | | | |
avx512skx-i8x64 | | | | | | | | |
avx512skx-i16x32 | | | | | | | | |
neon-i8x16 | | | | | | | | |
neon-i16x8 | | | | | | | | |
neon-i32x4 | | | | | | | | |
neon-i32x8 | | | | | | | | |
wasm-i32x4 | | | | | | | | |
genx-x8 | | | | | | | | |
genx-x16 | | | | | | | | | |
[root@centos8 tests]# uname -a |
I've added Could you try this Dockerfile or just do the same things natively on the machine that you have? |
@dbabokin I've tried the latest version: ispc@main, but this didn't work for testing: [root@localhost build]# ls
bin builtins-dispatch-macos.cpp CMakeFiles install_manifest.txt Makefile parse.hh stdlib_mask16_ispc.cpp stdlib_mask32_ispc.cpp stdlib_mask8_ispc.cpp
builtins-dispatch.cpp CMakeCache.txt cmake_install.cmake lex.cpp parse.cc parse.output stdlib_mask1_ispc.cpp stdlib_mask64_ispc.cpp
[root@localhost build]# ./bin/ispc stdlib_mask16_ispc.cpp
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "x86-64"
Options: .
Error: arch = x86-64 and target = neon-i32x4 is not a valid combination.
[root@localhost build]# ./bin/ispc --arch=aarch64 stdlib_mask16_ispc.cpp
Warning: No output file or header file name specified. Program will be compiled and warnings/errors will be issued, but no output will be generated.
Warning: No --target specified on command-line. Using default system target "neon-i32x4".
Error: Invalid architecture "aarch64"
Options: .
/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src/src/ispc.cpp(1142): FATAL ERROR: Problem with target (neon-i32x4)
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this error).
*** You have apparently encountered a bug in the compiler that we'd like to fix!
***
/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src/src/main.cpp(392): FATAL ERROR: Unhandled signal sent to process; terminating.
Aborted (core dumped) or which of my actions are not correct at centos8? |
In the
Do you still have empty output from
|
@dbabokin yes: [root@localhost build]# bin/ispc --support-matrix
| Windows | Linux | Linux (custom) | FreeBSD | macOS | Android | iOS | PS4 | web
-----------------------------------------------------------------------------------------------------------------
sse2-i32x4 | | | | | | | | |
sse2-i32x8 | | | | | | | | |
sse4-i8x16 | | | | | | | | |
sse4-i16x8 | | | | | | | | |
sse4-i32x4 | | | | | | | | |
sse4-i32x8 | | | | | | | | |
avx1-i32x4 | | | | | | | | |
avx1-i32x8 | | | | | | | | |
avx1-i32x16 | | | | | | | | |
avx1-i64x4 | | | | | | | | |
avx2-i8x32 | | | | | | | | |
avx2-i16x16 | | | | | | | | |
avx2-i32x4 | | | | | | | | |
avx2-i32x8 | | | | | | | | |
avx2-i32x16 | | | | | | | | |
avx2-i64x4 | | | | | | | | |
avx512knl-i32x16 | | | | | | | | |
avx512skx-i32x8 | | | | | | | | |
avx512skx-i32x16 | | | | | | | | |
avx512skx-i8x64 | | | | | | | | |
avx512skx-i16x32 | | | | | | | | |
neon-i8x16 | | | | | | | | |
neon-i16x8 | | | | | | | | |
neon-i32x4 | | | | | | | | |
neon-i32x8 | | | | | | | | |
wasm-i32x4 | | | | | | | | |
genx-x8 | | | | | | | | |
genx-x16 | | | | | | | | | it still have empty output from --support-matrix.It seems that the patch didn't work during the compilation. Is it my compilation configuration that didn't work? |
That's definitely a problem. You've built an Are you building Dockerfile or reproducing in step-by-step on your machine? |
@dbabokin I installed it in the sppack, which is the compilation configuration and compilation log: ……
s5chfonko5mdjdfrlcw5qh3whwj3k/lib/libLLVMBitstreamReader.a /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib/libLLVMBinaryFormat.a /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib/libLLVMSupport.a /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib/libLLVMDemangle.a -ldl -Wl,--end-group -lpthread /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c/lib/libz.so /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib/libtinfo.so /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib/libcurses.so /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib/libform.so
ld: warning: CMakeFiles/ispc.dir/stdlib_mask1_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask8_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask16_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask32_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
ld: warning: CMakeFiles/ispc.dir/stdlib_mask64_ispc.cpp.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
make[2]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
[100%] Built target ispc
make[1]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -E cmake_progress_start /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub/CMakeFiles 0
==> ispc: Executing phase: 'install'
==> [2021-06-03-15:40:45.517026] 'make' '-j16' 'install'
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -S/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src -B/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub --check-build-system CMakeFiles/Makefile.cmake 0
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -E cmake_progress_start /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub/CMakeFiles /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
make -f CMakeFiles/ispc.dir/build.make CMakeFiles/ispc.dir/depend
make[2]: Entering directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
cd /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub && /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -E cmake_depends "Unix Makefiles" /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub/CMakeFiles/ispc.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
make -f CMakeFiles/ispc.dir/build.make CMakeFiles/ispc.dir/build
make[2]: Entering directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
make[2]: Nothing to be done for 'CMakeFiles/ispc.dir/build'.
make[2]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
[100%] Built target ispc
make[1]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -E cmake_progress_start /home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[1]: Entering directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
make[1]: Nothing to be done for 'preinstall'.
make[1]: Leaving directory '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub'
Install the project...
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.19.5-32ksxs764siamjw3mmu77q6a6zfaqfsy/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/bin/ispc
-- Set runtime path of "/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/bin/ispc" to "/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib64:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/binutils-2.36.1-awuqsjdwsmimli3amjcak3intf2fhcyg/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/gettext-0.21-wspll52yyfbk2mmihjutav6777gcsvmb/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bzip2-1.0.8-corln5kph65itvn6xbh3qdtx4aemcwmd/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libiconv-1.16-dx2c372kkymixiwrw6jtba3gruhddu2d/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libxml2-2.9.10-ufo5plslr5ucnhxrhv4a5iuyuzbh6vh3/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/xz-5.2.5-n6x7ibnlnr5sovxoy5kjhhglcjerbgyy/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/hwloc-2.4.1-yvcmhvpdovnr764xjyxutgcozlc6rwru/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libpciaccess-0.16-t5wplngigwwetserfoefxgufneuvngcz/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libedit-3.1-20191231-4awzo55npgcf3pgll5ghbhayfwrs35ip/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/pcre-8.44-yjg4oupkklquhpnpldj2r56uqdg3gfnd/lib:/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/z3-4.8.9-olcz3kwj244xbx66vpgzg5yhxi4mnlck/lib"
==> ispc: Successfully installed ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4
Fetch: 34.40s. Build: 25.95s. Total: 1m 0.35s.
[+] /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4 As you can see, if there's an error in the compilation process, it's probably in something I don't know, but I don't know, can you help me correct it in the log? |
I haven't noticed that you have We definitely need to add an assert that at least one target is configured, I'll take care about that. |
@dbabokin ,If -DARM_ENABLED=TRUE is enabled, the following error message is displayed. What should I do? [root@localhost ~]# spack install --keep-stage -v ispc@main
……
[+] /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k
==> Installing ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4
==> No binary for ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4 found: installing from source
==> Warning: Missing a source id for ispc@main
==> No patches needed for ispc
==> ispc: Executing phase: 'cmake'
==> [2021-06-04-14:36:31.877262] 'cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF' '-DCMAKE_INSTALL_RPATH:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib64;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/binutils-2.36.1-awuqsjdwsmimli3amjcak3intf2fhcyg/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/gettext-0.21-wspll52yyfbk2mmihjutav6777gcsvmb/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bzip2-1.0.8-corln5kph65itvn6xbh3qdtx4aemcwmd/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libiconv-1.16-dx2c372kkymixiwrw6jtba3gruhddu2d/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libxml2-2.9.10-ufo5plslr5ucnhxrhv4a5iuyuzbh6vh3/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/xz-5.2.5-n6x7ibnlnr5sovxoy5kjhhglcjerbgyy/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/hwloc-2.4.1-yvcmhvpdovnr764xjyxutgcozlc6rwru/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libpciaccess-0.16-t5wplngigwwetserfoefxgufneuvngcz/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libedit-3.1-20191231-4awzo55npgcf3pgll5ghbhayfwrs35ip/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/pcre-8.44-yjg4oupkklquhpnpldj2r56uqdg3gfnd/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/z3-4.8.9-olcz3kwj244xbx66vpgzg5yhxi4mnlck/lib' '-DCMAKE_PREFIX_PATH:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.20.3-ozavmkf2ztropx5a7or4flwmbkmyrmbv;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/python-3.8.8-jf6wr2bynimrvwful46fubsy53ikimhv;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bison-3.7.4-fb3r6modpslbbvh7cjqlhgwlfykma2zq;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/flex-2.6.4-mdn4u3d7syumiruhemcruw35y7u7jvcg;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k' '-DISPC_NO_DUMPS=ON' '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src'
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/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: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM LLVM_11_0
-- LLVM_CONFIG_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-config
-- CLANG_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/clang
-- CLANGPP_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/clang++
-- LLVM_DIS_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-dis
-- LLVM_AS_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-as
CMake Error at cmake/FindLLVM.cmake:100 (message):
Failed to find FileCheck
Call Stack (most recent call first):
CMakeLists.txt:203 (include)
-- Configuring incomplete, errors occurred!
See also "/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-hp6lpub/CMakeFiles/CMakeOutput.log".
==> Error: ProcessError: Command exited with status 1:
'cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF' '-DCMAKE_INSTALL_RPATH:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/lib64;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/binutils-2.36.1-awuqsjdwsmimli3amjcak3intf2fhcyg/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/gettext-0.21-wspll52yyfbk2mmihjutav6777gcsvmb/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bzip2-1.0.8-corln5kph65itvn6xbh3qdtx4aemcwmd/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libiconv-1.16-dx2c372kkymixiwrw6jtba3gruhddu2d/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libxml2-2.9.10-ufo5plslr5ucnhxrhv4a5iuyuzbh6vh3/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/xz-5.2.5-n6x7ibnlnr5sovxoy5kjhhglcjerbgyy/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/hwloc-2.4.1-yvcmhvpdovnr764xjyxutgcozlc6rwru/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libpciaccess-0.16-t5wplngigwwetserfoefxgufneuvngcz/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/libedit-3.1-20191231-4awzo55npgcf3pgll5ghbhayfwrs35ip/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/pcre-8.44-yjg4oupkklquhpnpldj2r56uqdg3gfnd/lib;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/z3-4.8.9-olcz3kwj244xbx66vpgzg5yhxi4mnlck/lib' '-DCMAKE_PREFIX_PATH:STRING=/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/cmake-3.20.3-ozavmkf2ztropx5a7or4flwmbkmyrmbv;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/python-3.8.8-jf6wr2bynimrvwful46fubsy53ikimhv;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/bison-3.7.4-fb3r6modpslbbvh7cjqlhgwlfykma2zq;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/flex-2.6.4-mdn4u3d7syumiruhemcruw35y7u7jvcg;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/ncurses-6.2-nm2rk3htxjhi2sxfw2u27aeliihvuqsf;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/zlib-1.2.11-4jtfw6w6w3p7fk6kmewvik22samcjo6c;/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k' '-DISPC_NO_DUMPS=ON' '/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-src'
1 error found in build log:
15 -- Found LLVM LLVM_11_0
16 -- LLVM_CONFIG_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-config
17 -- CLANG_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/clang
18 -- CLANGPP_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/clang++
19 -- LLVM_DIS_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-dis
20 -- LLVM_AS_EXECUTABLE: /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.3.1/llvm-11.0.1-ekts5chfonko5mdjdfrlcw5qh3whwj3k/bin/llvm-as
>> 21 CMake Error at cmake/FindLLVM.cmake:100 (message):
22 Failed to find FileCheck
23 Call Stack (most recent call first):
24 CMakeLists.txt:203 (include)
25
26
27 -- Configuring incomplete, errors occurred!
See build log for details:
/home/all_spack_env/spack_stage/root/spack-stage-ispc-main-hp6lpubhuy72qvidzz6ta7etpw5mfcs4/spack-build-out.txt |
You are using some distribution of LLVM (and clang), which doesn't have |
The issue was automatically closed after my commit mentioning this issue, but if the problem is not resolved on your end, feel free to reopen or just comment here. |
hello,I meet a problem about test failed about testing Ispc Functions
see:
Therefore, I want to know why the current test cases don't support the aarch64 platform?
Information on your system
[root@centos8 tests]# spack debug report
The text was updated successfully, but these errors were encountered: