Open bobhan1 opened 3 years ago
I follow the getting started in wiki to build and install the project on ubuntu, but it can't work.
$ /bin/clang++ test1.cpp -o test1 -fjit $ clang: error: unknown argument: '-fjit'
Test info:
******************** Testing Time: 788.21s ******************** Failing Tests (117): Clang :: CodeGen/atomics-inlining.c Clang :: CodeGen/long_double_fp128.cpp Clang :: CodeGen/ppc-signbit.c Clang :: CodeGen/ppc64-complex-parms.c Clang :: CodeGen/ppc64-complex-return.c Clang :: CodeGen/ppc64-elf-abi.c Clang :: CodeGen/ppc64-qpx-vector.c Clang :: CodeGen/ppc64-soft-float.c Clang :: CodeGen/ppc64-vector.c Clang :: CodeGen/ppc64le-aggregates.c Clang :: CodeGen/ppc64le-f128Aggregates.c Clang :: CodeGen/transparent-union.c Clang :: CodeGenCXX/float128-declarations.cpp Clang :: CodeGenCXX/homogeneous-aggregates.cpp Clang :: CodeGenCXX/observe-noexcept.cpp Clang :: Driver/le32-unknown-nacl.cpp Clang :: OpenMP/declare_target_codegen.cpp Clang :: OpenMP/declare_target_link_codegen.cpp Clang :: OpenMP/distribute_codegen.cpp Clang :: OpenMP/distribute_firstprivate_codegen.cpp Clang :: OpenMP/distribute_lastprivate_codegen.cpp Clang :: OpenMP/distribute_parallel_for_codegen.cpp Clang :: OpenMP/distribute_parallel_for_firstprivate_codegen.cpp Clang :: OpenMP/distribute_parallel_for_lastprivate_codegen.cpp Clang :: OpenMP/distribute_parallel_for_private_codegen.cpp Clang :: OpenMP/distribute_parallel_for_simd_codegen.cpp Clang :: OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp Clang :: OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp Clang :: OpenMP/distribute_parallel_for_simd_private_codegen.cpp Clang :: OpenMP/distribute_private_codegen.cpp Clang :: OpenMP/distribute_simd_codegen.cpp Clang :: OpenMP/distribute_simd_firstprivate_codegen.cpp Clang :: OpenMP/distribute_simd_lastprivate_codegen.cpp Clang :: OpenMP/distribute_simd_private_codegen.cpp Clang :: OpenMP/distribute_simd_reduction_codegen.cpp Clang :: OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp Clang :: OpenMP/openmp_offload_codegen.cpp Clang :: OpenMP/target_codegen.cpp Clang :: OpenMP/target_codegen_global_capture.cpp Clang :: OpenMP/target_codegen_registration.cpp Clang :: OpenMP/target_depend_codegen.cpp Clang :: OpenMP/target_firstprivate_codegen.cpp Clang :: OpenMP/target_map_codegen.cpp Clang :: OpenMP/target_parallel_codegen.cpp Clang :: OpenMP/target_parallel_codegen_registration.cpp Clang :: OpenMP/target_parallel_depend_codegen.cpp Clang :: OpenMP/target_parallel_for_codegen.cpp Clang :: OpenMP/target_parallel_for_codegen_registration.cpp Clang :: OpenMP/target_parallel_for_depend_codegen.cpp Clang :: OpenMP/target_parallel_for_simd_codegen.cpp Clang :: OpenMP/target_parallel_for_simd_codegen_registration.cpp Clang :: OpenMP/target_parallel_for_simd_depend_codegen.cpp Clang :: OpenMP/target_parallel_if_codegen.cpp Clang :: OpenMP/target_parallel_num_threads_codegen.cpp Clang :: OpenMP/target_private_codegen.cpp Clang :: OpenMP/target_reduction_codegen.cpp Clang :: OpenMP/target_simd_codegen.cpp Clang :: OpenMP/target_simd_codegen_registration.cpp Clang :: OpenMP/target_simd_depend_codegen.cpp Clang :: OpenMP/target_teams_codegen.cpp Clang :: OpenMP/target_teams_codegen_registration.cpp Clang :: OpenMP/target_teams_depend_codegen.cpp Clang :: OpenMP/target_teams_distribute_codegen.cpp Clang :: OpenMP/target_teams_distribute_codegen_registration.cpp Clang :: OpenMP/target_teams_distribute_depend_codegen.cpp Clang :: OpenMP/target_teams_distribute_firstprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_lastprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp Clang :: OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp Clang :: OpenMP/target_teams_distribute_private_codegen.cpp Clang :: OpenMP/target_teams_distribute_reduction_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_codegen_registration.cpp Clang :: OpenMP/target_teams_distribute_simd_depend_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_private_codegen.cpp Clang :: OpenMP/target_teams_distribute_simd_reduction_codegen.cpp Clang :: OpenMP/target_teams_num_teams_codegen.cpp Clang :: OpenMP/target_teams_thread_limit_codegen.cpp Clang :: OpenMP/taskloop_reduction_codegen.cpp Clang :: OpenMP/taskloop_simd_reduction_codegen.cpp Clang :: OpenMP/teams_codegen.cpp Clang :: OpenMP/teams_distribute_codegen.cpp Clang :: OpenMP/teams_distribute_firstprivate_codegen.cpp Clang :: OpenMP/teams_distribute_lastprivate_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_private_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_simd_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp Clang :: OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp Clang :: OpenMP/teams_distribute_private_codegen.cpp Clang :: OpenMP/teams_distribute_reduction_codegen.cpp Clang :: OpenMP/teams_distribute_simd_codegen.cpp Clang :: OpenMP/teams_distribute_simd_firstprivate_codegen.cpp Clang :: OpenMP/teams_distribute_simd_lastprivate_codegen.cpp Clang :: OpenMP/teams_distribute_simd_private_codegen.cpp Clang :: OpenMP/teams_distribute_simd_reduction_codegen.cpp Clang :: OpenMP/teams_firstprivate_codegen.cpp Clang :: OpenMP/teams_private_codegen.cpp Expected Passes : 13941 Expected Failures : 19 Unsupported Tests : 91 Unexpected Failures: 117 make[3]: *** [tools/clang/test/CMakeFiles/check-clang.dir/build.make:58: tools/clang/test/CMakeFiles/check-clang] Error 1 make[2]: *** [CMakeFiles/Makefile2:45282: tools/clang/test/CMakeFiles/check-clang.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:45289: tools/clang/test/CMakeFiles/check-clang.dir/rule] Error 2 make: *** [Makefile:12133: check-clang] Error 2
Most likely it is finding another clang already installed on your system. Make your PATH variable point to where the newly JITy clang is installed. You should do make install after the build.
I follow the getting started in wiki to build and install the project on ubuntu, but it can't work.
Test info: