Commit 9943a4c4 authored by Your Name's avatar Your Name
Browse files

除IVFPQ几个子测试外其他测试通过

parent 8475e691
This diff is collapsed.
set(CMAKE_C_COMPILER "/opt/dtk-21.04/bin/hipcc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "Clang")
set(CMAKE_C_COMPILER_VERSION "12.0.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/opt/rh/devtoolset-7/root/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
set(CMAKE_RANLIB "/opt/rh/devtoolset-7/root/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
set(CMAKE_LINKER "/opt/rh/devtoolset-7/root/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/dtk-21.04/llvm/lib/clang/12.0.0;/opt/dtk-21.04/hsa/include;/opt/dtk-21.04/hip/include;/opt/dtk-21.04/include;/opt/dtk-21.04;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7;/usr/local/include;/opt/dtk-21.04/llvm/lib/clang/12.0.0/include;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc_s;gcc;pthread;m;amdhip64;clang_rt.builtins-x86_64;stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/opt/dtk-21.04/hip/lib;/opt/dtk-21.04/llvm/lib/clang/12.0.0/lib/linux;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib;/opt/dtk-21.04/llvm/lib;/lib;/usr/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER "/opt/dtk-21.04/bin/hipcc")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "Clang")
set(CMAKE_CXX_COMPILER_VERSION "12.0.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/opt/rh/devtoolset-7/root/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND")
set(CMAKE_RANLIB "/opt/rh/devtoolset-7/root/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND")
set(CMAKE_LINKER "/opt/rh/devtoolset-7/root/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP;cu)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC;cuh)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/dtk-21.04/llvm/lib/clang/12.0.0;/opt/dtk-21.04/hsa/include;/opt/dtk-21.04/hip/include;/opt/dtk-21.04/hiprand/include;/opt/dtk-21.04/rocrand/include;/opt/dtk-21.04/include;/opt/dtk-21.04;/opt/dtk-21.04/llvm/lib/clang/12.0.0/include/cuda_wrappers;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/usr/local/include;/opt/dtk-21.04/llvm/lib/clang/12.0.0/include;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "gcc_s;gcc;pthread;m;amdhip64;clang_rt.builtins-x86_64;stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/opt/dtk-21.04/hip/lib;/opt/dtk-21.04/llvm/lib/clang/12.0.0/lib/linux;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib;/opt/dtk-21.04/llvm/lib;/lib;/usr/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_HOST_SYSTEM "Linux-3.10.0-957.el7.x86_64")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-3.10.0-957.el7.x86_64")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
This diff is collapsed.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/huchen/FAISS/faiss")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/huchen/FAISS/faiss/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
Detecting CXX OpenMP version failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_4be7e/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_4be7e.dir/build.make CMakeFiles/cmTC_4be7e.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4be7e.dir/OpenMPCheckVersion.cpp.o
/opt/dtk-21.04/bin/hipcc -fopenmp=libomp -std=gnu++11 -o CMakeFiles/cmTC_4be7e.dir/OpenMPCheckVersion.cpp.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:6:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:7:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:8:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:9:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:10:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:11:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1)%10)),
^
6 errors generated when compiling for gfx900.
gmake[1]: *** [CMakeFiles/cmTC_4be7e.dir/build.make:86: CMakeFiles/cmTC_4be7e.dir/OpenMPCheckVersion.cpp.o] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_4be7e/fast] Error 2
Performing C++ SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_e2e66/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_e2e66.dir/build.make CMakeFiles/cmTC_e2e66.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e2e66.dir/src.cxx.o
/opt/dtk-21.04/bin/hipcc -DCMAKE_HAVE_LIBC_PTHREAD -std=gnu++11 -o CMakeFiles/cmTC_e2e66.dir/src.cxx.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_e2e66
/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_e2e66.dir/link.txt --verbose=1
/opt/dtk-21.04/bin/hipcc -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-rpath=/opt/rh/devtoolset-7/root/usr/lib64 -Wl,-rpath=/opt/rh/devtoolset-7/root/usr/lib CMakeFiles/cmTC_e2e66.dir/src.cxx.o -o cmTC_e2e66
CMakeFiles/cmTC_e2e66.dir/src.cxx.o: In function `main':
src.cxx:(.text+0x46): undefined reference to `pthread_atfork'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_e2e66.dir/build.make:107: cmTC_e2e66] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_e2e66/fast] Error 2
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_6b912/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_6b912.dir/build.make CMakeFiles/cmTC_6b912.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6b912.dir/CheckFunctionExists.cxx.o
/opt/dtk-21.04/bin/hipcc -DCHECK_FUNCTION_EXISTS=pthread_create -std=gnu++11 -o CMakeFiles/cmTC_6b912.dir/CheckFunctionExists.cxx.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx
/home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:7:3: error: functions that differ only in their return type cannot be overloaded
CHECK_FUNCTION_EXISTS(void);
^
<command line>:3:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS pthread_create
^
/usr/include/pthread.h:235:12: note: previous declaration is here
extern int pthread_create (pthread_t *__restrict __newthread,
~~~ ^
/home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:17:3: error: no matching function for call to 'pthread_create'
CHECK_FUNCTION_EXISTS();
^~~~~~~~~~~~~~~~~~~~~
<command line>:3:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS pthread_create
^~~~~~~~~~~~~~
/usr/include/pthread.h:235:12: note: candidate function not viable: requires 4 arguments, but 0 were provided
extern int pthread_create (pthread_t *__restrict __newthread,
^
2 errors generated when compiling for gfx900.
gmake[1]: *** [CMakeFiles/cmTC_6b912.dir/build.make:86: CMakeFiles/cmTC_6b912.dir/CheckFunctionExists.cxx.o] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_6b912/fast] Error 2
Determining if the function pthread_create exists in the pthread failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_d2507/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_d2507.dir/build.make CMakeFiles/cmTC_d2507.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d2507.dir/CheckFunctionExists.cxx.o
/opt/dtk-21.04/bin/hipcc -DCHECK_FUNCTION_EXISTS=pthread_create -std=gnu++11 -o CMakeFiles/cmTC_d2507.dir/CheckFunctionExists.cxx.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx
/home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:7:3: error: functions that differ only in their return type cannot be overloaded
CHECK_FUNCTION_EXISTS(void);
^
<command line>:3:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS pthread_create
^
/usr/include/pthread.h:235:12: note: previous declaration is here
extern int pthread_create (pthread_t *__restrict __newthread,
~~~ ^
/home/huchen/FAISS/faiss/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:17:3: error: no matching function for call to 'pthread_create'
CHECK_FUNCTION_EXISTS();
^~~~~~~~~~~~~~~~~~~~~
<command line>:3:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS pthread_create
^~~~~~~~~~~~~~
/usr/include/pthread.h:235:12: note: candidate function not viable: requires 4 arguments, but 0 were provided
extern int pthread_create (pthread_t *__restrict __newthread,
^
2 errors generated when compiling for gfx900.
gmake[1]: *** [CMakeFiles/cmTC_d2507.dir/build.make:86: CMakeFiles/cmTC_d2507.dir/CheckFunctionExists.cxx.o] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_d2507/fast] Error 2
Detecting CXX OpenMP version failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_45fd1/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_45fd1.dir/build.make CMakeFiles/cmTC_45fd1.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_45fd1.dir/OpenMPCheckVersion.cpp.o
/opt/dtk-21.04/bin/hipcc -fopenmp=libomp -std=gnu++11 -o CMakeFiles/cmTC_45fd1.dir/OpenMPCheckVersion.cpp.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:6:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:7:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:8:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:9:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:10:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:11:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1)%10)),
^
6 errors generated when compiling for gfx900.
gmake[1]: *** [CMakeFiles/cmTC_45fd1.dir/build.make:86: CMakeFiles/cmTC_45fd1.dir/OpenMPCheckVersion.cpp.o] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_45fd1/fast] Error 2
Detecting CXX OpenMP version failed with the following output:
Change Dir: /home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp
Run Build Command(s):/opt/rh/devtoolset-7/root/usr/bin/gmake cmTC_bc418/fast && /opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_bc418.dir/build.make CMakeFiles/cmTC_bc418.dir/build
gmake[1]: Entering directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_bc418.dir/OpenMPCheckVersion.cpp.o
/opt/dtk-21.04/bin/hipcc -fopenmp=libomp -std=gnu++11 -o CMakeFiles/cmTC_bc418.dir/OpenMPCheckVersion.cpp.o -c /home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:6:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:7:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:8:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1000)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:9:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/100)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:10:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/10)%10)),
^
/home/huchen/FAISS/faiss/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp:11:38: error: use of undeclared identifier '_OPENMP'
('0' + ((_OPENMP/1)%10)),
^
6 errors generated when compiling for gfx900.
gmake[1]: *** [CMakeFiles/cmTC_bc418.dir/build.make:86: CMakeFiles/cmTC_bc418.dir/OpenMPCheckVersion.cpp.o] Error 1
gmake[1]: Leaving directory '/home/huchen/FAISS/faiss/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_bc418/fast] Error 2
This diff is collapsed.
# Hashes of file build rules.
adb08a884047036f475e4d7432634d57 CMakeFiles/Continuous
f65a6657ac1d8b41bc583822dc5ae961 CMakeFiles/ContinuousBuild
9433e70b753610b8c64524bb5e761a9e CMakeFiles/ContinuousConfigure
0582ce6041288c02e2274f0b0a05a0b5 CMakeFiles/ContinuousCoverage
cd6375ddf6b03d926be8e518b8a3e050 CMakeFiles/ContinuousMemCheck
b3f96e516dc8ad2bbacea6a9d606014b CMakeFiles/ContinuousStart
b51f3e10b18a00830f5f7fe739aa1b54 CMakeFiles/ContinuousSubmit
874c9e61bbba27af1095bd2dfe21510b CMakeFiles/ContinuousTest
d45fbc14c739318234e157941ea96104 CMakeFiles/ContinuousUpdate
04682e1cb6debe73fbe6b934eba1155f CMakeFiles/Experimental
d8417dde1f03d090486216b9269426f3 CMakeFiles/ExperimentalBuild
c7a5fef9063484150014f44fc7060087 CMakeFiles/ExperimentalConfigure
2f908a55904cfcb084f2811f25430645 CMakeFiles/ExperimentalCoverage
98d3e56a5d4cb0e0ebc1dab434d7c3e2 CMakeFiles/ExperimentalMemCheck
c8a31f065b11d457d437c133aed5b6cb CMakeFiles/ExperimentalStart
e8455fc0ff76259b6051e3df5db0c857 CMakeFiles/ExperimentalSubmit
49aa1e2dcc805b5b7623eafaa17b436b CMakeFiles/ExperimentalTest
f900eff91913b53faf8588b637b0069e CMakeFiles/ExperimentalUpdate
1820bc9d6b837eb9352bc4df7203c81c CMakeFiles/Nightly
99010ddce33b6bca7c56dc35417289cb CMakeFiles/NightlyBuild
8f1b5d837585ae0488cdd6f294310a83 CMakeFiles/NightlyConfigure
b37bc13bd9255bf444021884cfe938d0 CMakeFiles/NightlyCoverage
6e0ded63177a80b2a36c8707978e6ddc CMakeFiles/NightlyMemCheck
3d310f3cfe7a8f24f18c7afec2fb495c CMakeFiles/NightlyMemoryCheck
5ac3be757a46098d791b3494250f8587 CMakeFiles/NightlyStart
d490dfb3c8d28577fdf0e5d59b493218 CMakeFiles/NightlySubmit
29ed7ed0f8541fe85ea89bf74898254b CMakeFiles/NightlyTest
ffc35c25863d4e64920e74fcdbfbe978 CMakeFiles/NightlyUpdate
7ae9910afb89b6bad0d14a09b93d20a2 faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON.stamp
1cf44a2d12db53738e7141688ea70f95 faiss/python/CMakeFiles/swigfaiss_avx2.dir/swigfaiss_avx2PYTHON.stamp
3b5b86da4622a9b21a1323e238a50a28 faiss/python/CMakeFiles/swigfaiss_avx2_swig_compilation
3b5b86da4622a9b21a1323e238a50a28 faiss/python/CMakeFiles/swigfaiss_swig_compilation
#ifdef CHECK_FUNCTION_EXISTS
# ifdef __cplusplus
extern "C"
# endif
char
CHECK_FUNCTION_EXISTS(void);
# ifdef __CLASSIC_C__
int main()
{
int ac;
char* av[];
# else
int main(int ac, char* av[])
{
# endif
CHECK_FUNCTION_EXISTS();
if (ac > 1000) {
return *av[0];
}
return 0;
}
#else /* CHECK_FUNCTION_EXISTS */
# error "CHECK_FUNCTION_EXISTS has to specify the function"
#endif /* CHECK_FUNCTION_EXISTS */
#ifdef CHECK_FUNCTION_EXISTS
# ifdef __cplusplus
extern "C"
# endif
char
CHECK_FUNCTION_EXISTS(void);
# ifdef __CLASSIC_C__
int main()
{
int ac;
char* av[];
# else
int main(int ac, char* av[])
{
# endif
CHECK_FUNCTION_EXISTS();
if (ac > 1000) {
return *av[0];
}
return 0;
}
#else /* CHECK_FUNCTION_EXISTS */
# error "CHECK_FUNCTION_EXISTS has to specify the function"
#endif /* CHECK_FUNCTION_EXISTS */
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of files for implicit dependencies of each language:
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake3
# The command to remove a file.
RM = /usr/bin/cmake3 -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/huchen/FAISS/faiss
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/huchen/FAISS/faiss/build
# Utility rule file for Continuous.
# Include the progress variables for this target.
include CMakeFiles/Continuous.dir/progress.make
CMakeFiles/Continuous:
/usr/bin/ctest3 -D Continuous
Continuous: CMakeFiles/Continuous
Continuous: CMakeFiles/Continuous.dir/build.make
.PHONY : Continuous
# Rule to build all files generated by this target.
CMakeFiles/Continuous.dir/build: Continuous
.PHONY : CMakeFiles/Continuous.dir/build
CMakeFiles/Continuous.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/Continuous.dir/cmake_clean.cmake
.PHONY : CMakeFiles/Continuous.dir/clean
CMakeFiles/Continuous.dir/depend:
cd /home/huchen/FAISS/faiss/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/huchen/FAISS/faiss /home/huchen/FAISS/faiss /home/huchen/FAISS/faiss/build /home/huchen/FAISS/faiss/build /home/huchen/FAISS/faiss/build/CMakeFiles/Continuous.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/Continuous.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/Continuous"
)
# Per-language clean rules from dependency scanning.
foreach(lang )
include(CMakeFiles/Continuous.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment