Commit 5eb7e34b authored by 宋柯's avatar 宋柯

linux

parent 5cf9bfd4
This diff is collapsed.
set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "AppleClang") set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "10.0.1.10010046") set(CMAKE_C_COMPILER_VERSION "5.4.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "") set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "") set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
...@@ -10,20 +10,22 @@ set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") ...@@ -10,20 +10,22 @@ 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_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Darwin") set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "") set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "") set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_SYSROOT "//usr")
set(CMAKE_COMPILER_SYSROOT "//usr")
set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "") set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-5")
set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "") set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-5")
set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "") set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC ) set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1) set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE) set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE) set(CMAKE_C_ABI_COMPILED TRUE)
...@@ -46,8 +48,8 @@ set(CMAKE_C_LINKER_PREFERENCE 10) ...@@ -46,8 +48,8 @@ set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information. # Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8") set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "") set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "") set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR) if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
...@@ -58,7 +60,7 @@ if(CMAKE_C_COMPILER_ABI) ...@@ -58,7 +60,7 @@ if(CMAKE_C_COMPILER_ABI)
endif() endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE) if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "") set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif() endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
...@@ -70,7 +72,7 @@ endif() ...@@ -70,7 +72,7 @@ endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include") set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/5/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib") set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks") set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++") set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "") set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "AppleClang") set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "10.0.1.10010046") set(CMAKE_CXX_COMPILER_VERSION "5.4.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "") set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98") set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
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_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")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") 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_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_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_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") set(CMAKE_CXX20_COMPILE_FEATURES "")
set(CMAKE_CXX_PLATFORM_ID "Darwin") set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "") set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "") set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_SYSROOT "//usr")
set(CMAKE_COMPILER_SYSROOT "//usr")
set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "") set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-5")
set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "") set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-5")
set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "") set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX ) set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1) set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE) set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE) set(CMAKE_CXX_ABI_COMPILED TRUE)
...@@ -58,8 +60,8 @@ set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) ...@@ -58,8 +60,8 @@ set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information. # Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8") set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "") set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR) if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
...@@ -70,7 +72,7 @@ if(CMAKE_CXX_COMPILER_ABI) ...@@ -70,7 +72,7 @@ if(CMAKE_CXX_COMPILER_ABI)
endif() endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE) if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "") set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif() endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
...@@ -82,7 +84,7 @@ endif() ...@@ -82,7 +84,7 @@ endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/include/c++/v1;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include") set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/5;/usr/include/x86_64-linux-gnu/c++/5;/usr/include/c++/5/backward;/usr/lib/gcc/x86_64-linux-gnu/5/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++") set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib") set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks") set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_HOST_SYSTEM "Darwin-18.7.0") set(CMAKE_HOST_SYSTEM "Linux-4.4.0-91-generic")
set(CMAKE_HOST_SYSTEM_NAME "Darwin") set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "18.7.0") set(CMAKE_HOST_SYSTEM_VERSION "4.4.0-91-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Darwin-18.7.0") set(CMAKE_SYSTEM "Linux-4.4.0-91-generic")
set(CMAKE_SYSTEM_NAME "Darwin") set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "18.7.0") set(CMAKE_SYSTEM_VERSION "4.4.0-91-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64") set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
......
...@@ -420,6 +420,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; ...@@ -420,6 +420,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
# elif defined(__WINDOWS__) # elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x" # define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */ # else /* unknown platform */
# define PLATFORM_ID # define PLATFORM_ID
# endif # endif
......
...@@ -405,6 +405,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; ...@@ -405,6 +405,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
# elif defined(__WINDOWS__) # elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x" # define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */ # else /* unknown platform */
# define PLATFORM_ID # define PLATFORM_ID
# endif # endif
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_b82a8/fast && /usr/bin/make -f CMakeFiles/cmTC_b82a8.dir/build.make CMakeFiles/cmTC_b82a8.dir/build
make[1]: Entering directory '/srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b82a8.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_b82a8.dir/src.c.o -c /srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_b82a8
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b82a8.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_b82a8.dir/src.c.o -o cmTC_b82a8
CMakeFiles/cmTC_b82a8.dir/src.c.o: In function `main':
src.c:(.text+0x3c): undefined reference to `pthread_create'
src.c:(.text+0x48): undefined reference to `pthread_detach'
src.c:(.text+0x54): undefined reference to `pthread_cancel'
src.c:(.text+0x65): undefined reference to `pthread_join'
src.c:(.text+0x79): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_b82a8.dir/build.make:105: recipe for target 'cmTC_b82a8' failed
make[1]: *** [cmTC_b82a8] Error 1
make[1]: Leaving directory '/srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp'
Makefile:140: recipe for target 'cmTC_b82a8/fast' failed
make: *** [cmTC_b82a8/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: /srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_e81ed/fast && /usr/bin/make -f CMakeFiles/cmTC_e81ed.dir/build.make CMakeFiles/cmTC_e81ed.dir/build
make[1]: Entering directory '/srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e81ed.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_e81ed.dir/CheckFunctionExists.c.o -c /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_e81ed
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e81ed.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_e81ed.dir/CheckFunctionExists.c.o -o cmTC_e81ed -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e81ed.dir/build.make:105: recipe for target 'cmTC_e81ed' failed
make[1]: *** [cmTC_e81ed] Error 1
make[1]: Leaving directory '/srv/apps/gm-xlearn/build/CMakeFiles/CMakeTmp'
Makefile:140: recipe for target 'cmTC_e81ed/fast' failed
make: *** [cmTC_e81ed/fast] Error 2
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Install script for directory: /Users/edz/xlearn # Install script for directory: /srv/apps/gm-xlearn
# Set the install prefix # Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX) if(NOT DEFINED CMAKE_INSTALL_PREFIX)
...@@ -27,25 +27,35 @@ if(NOT CMAKE_INSTALL_COMPONENT) ...@@ -27,25 +27,35 @@ if(NOT CMAKE_INSTALL_COMPONENT)
endif() endif()
endif() endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile? # Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING) if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
endif() endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY) if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory. # Include the install script for each subdirectory.
include("/Users/edz/xlearn/build/gtest/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/gtest/cmake_install.cmake")
include("/Users/edz/xlearn/build/demo/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/demo/cmake_install.cmake")
include("/Users/edz/xlearn/build/scripts/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/scripts/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/base/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/base/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/data/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/data/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/reader/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/reader/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/score/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/score/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/loss/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/loss/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/solver/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/solver/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/distributed/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/distributed/cmake_install.cmake")
include("/Users/edz/xlearn/build/src/c_api/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/src/c_api/cmake_install.cmake")
include("/Users/edz/xlearn/build/python-package/cmake_install.cmake") include("/srv/apps/gm-xlearn/build/python-package/cmake_install.cmake")
endif() endif()
...@@ -57,5 +67,5 @@ endif() ...@@ -57,5 +67,5 @@ endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}") "${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/Users/edz/xlearn/build/${CMAKE_INSTALL_MANIFEST}" file(WRITE "/srv/apps/gm-xlearn/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}") "${CMAKE_INSTALL_MANIFEST_CONTENT}")
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Default target executed when no arguments are given to make. # Default target executed when no arguments are given to make.
default_target: all default_target: all
...@@ -43,10 +43,9 @@ default_target: all ...@@ -43,10 +43,9 @@ default_target: all
# Command-line flag to silence nested $(MAKE). # Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s $(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands. #Suppress display of executed commands.
$(VERBOSE).SILENT: $(VERBOSE).SILENT:
# A target that is always out of date. # A target that is always out of date.
cmake_force: cmake_force:
...@@ -59,57 +58,57 @@ cmake_force: ...@@ -59,57 +58,57 @@ cmake_force:
SHELL = /bin/sh SHELL = /bin/sh
# The CMake executable. # The CMake executable.
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.3/bin/cmake CMAKE_COMMAND = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake
# The command to remove a file. # The command to remove a file.
RM = /usr/local/Cellar/cmake/3.17.3/bin/cmake -E rm -f RM = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters. # Escaping for special characters.
EQUALS = = EQUALS = =
# The top-level source directory on which CMake was run. # The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/edz/xlearn CMAKE_SOURCE_DIR = /srv/apps/gm-xlearn
# The top-level build directory on which CMake was run. # The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/edz/xlearn/build CMAKE_BINARY_DIR = /srv/apps/gm-xlearn/build
#============================================================================= #=============================================================================
# Targets provided globally by CMake. # Targets provided globally by CMake.
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install/strip # Special rule for the target install/strip
install/strip: preinstall install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip .PHONY : install/strip
# Special rule for the target install/strip # Special rule for the target install/strip
install/strip/fast: preinstall/fast install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast .PHONY : install/strip/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install # Special rule for the target install
install: preinstall install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install .PHONY : install
# Special rule for the target install # Special rule for the target install
install/fast: preinstall/fast install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install/fast .PHONY : install/fast
# Special rule for the target list_install_components # Special rule for the target list_install_components
...@@ -125,7 +124,7 @@ list_install_components/fast: list_install_components ...@@ -125,7 +124,7 @@ list_install_components/fast: list_install_components
# Special rule for the target rebuild_cache # Special rule for the target rebuild_cache
rebuild_cache: rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache .PHONY : rebuild_cache
# Special rule for the target rebuild_cache # Special rule for the target rebuild_cache
...@@ -135,8 +134,8 @@ rebuild_cache/fast: rebuild_cache ...@@ -135,8 +134,8 @@ rebuild_cache/fast: rebuild_cache
# Special rule for the target edit_cache # Special rule for the target edit_cache
edit_cache: edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/local/Cellar/cmake/3.17.3/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache .PHONY : edit_cache
# Special rule for the target edit_cache # Special rule for the target edit_cache
...@@ -146,14 +145,14 @@ edit_cache/fast: edit_cache ...@@ -146,14 +145,14 @@ edit_cache/fast: edit_cache
# The main all target # The main all target
all: cmake_check_build_system all: cmake_check_build_system
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -E cmake_progress_start /Users/edz/xlearn/build/CMakeFiles /Users/edz/xlearn/build/demo/CMakeFiles/progress.marks cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -E cmake_progress_start /srv/apps/gm-xlearn/build/CMakeFiles /srv/apps/gm-xlearn/build/demo//CMakeFiles/progress.marks
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/all cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/edz/xlearn/build/CMakeFiles 0 $(CMAKE_COMMAND) -E cmake_progress_start /srv/apps/gm-xlearn/build/CMakeFiles 0
.PHONY : all .PHONY : all
# The main clean target # The main clean target
clean: clean:
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/clean cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/clean
.PHONY : clean .PHONY : clean
# The main clean target # The main clean target
...@@ -163,17 +162,17 @@ clean/fast: clean ...@@ -163,17 +162,17 @@ clean/fast: clean
# Prepare targets for installation. # Prepare targets for installation.
preinstall: all preinstall: all
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/preinstall cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/preinstall
.PHONY : preinstall .PHONY : preinstall
# Prepare targets for installation. # Prepare targets for installation.
preinstall/fast: preinstall/fast:
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/preinstall cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo/preinstall
.PHONY : preinstall/fast .PHONY : preinstall/fast
# clear depends # clear depends
depend: depend:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend .PHONY : depend
# Help Target # Help Target
...@@ -199,6 +198,6 @@ help: ...@@ -199,6 +198,6 @@ help:
# No rule that depends on this can have commands that come from listfiles # No rule that depends on this can have commands that come from listfiles
# because they might be regenerated. # because they might be regenerated.
cmake_check_build_system: cmake_check_build_system:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system .PHONY : cmake_check_build_system
# Install script for directory: /Users/edz/xlearn/demo # Install script for directory: /srv/apps/gm-xlearn/demo
# Set the install prefix # Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX) if(NOT DEFINED CMAKE_INSTALL_PREFIX)
...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT) ...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT)
endif() endif()
endif() endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile? # Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING) if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
endif() endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
...@@ -482,21 +482,21 @@ netdb.h ...@@ -482,21 +482,21 @@ netdb.h
src/gtest-internal-inl.h src/gtest-internal-inl.h
../gtest/src/src/gtest-internal-inl.h ../gtest/src/src/gtest-internal-inl.h
/Users/edz/xlearn/gtest/src/gtest-all.cc /srv/apps/gm-xlearn/gtest/src/gtest-all.cc
gtest/gtest.h gtest/gtest.h
/Users/edz/xlearn/gtest/src/gtest/gtest.h /srv/apps/gm-xlearn/gtest/src/gtest/gtest.h
src/gtest.cc src/gtest.cc
/Users/edz/xlearn/gtest/src/src/gtest.cc /srv/apps/gm-xlearn/gtest/src/src/gtest.cc
src/gtest-death-test.cc src/gtest-death-test.cc
/Users/edz/xlearn/gtest/src/src/gtest-death-test.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-death-test.cc
src/gtest-filepath.cc src/gtest-filepath.cc
/Users/edz/xlearn/gtest/src/src/gtest-filepath.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-filepath.cc
src/gtest-port.cc src/gtest-port.cc
/Users/edz/xlearn/gtest/src/src/gtest-port.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-port.cc
src/gtest-printers.cc src/gtest-printers.cc
/Users/edz/xlearn/gtest/src/src/gtest-printers.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-printers.cc
src/gtest-test-part.cc src/gtest-test-part.cc
/Users/edz/xlearn/gtest/src/src/gtest-test-part.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-test-part.cc
src/gtest-typed-test.cc src/gtest-typed-test.cc
/Users/edz/xlearn/gtest/src/src/gtest-typed-test.cc /srv/apps/gm-xlearn/gtest/src/src/gtest-typed-test.cc
...@@ -4,9 +4,9 @@ set(CMAKE_DEPENDS_LANGUAGES ...@@ -4,9 +4,9 @@ set(CMAKE_DEPENDS_LANGUAGES
) )
# The set of files for implicit dependencies of each language: # The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX set(CMAKE_DEPENDS_CHECK_CXX
"/Users/edz/xlearn/gtest/src/gtest-all.cc" "/Users/edz/xlearn/build/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o" "/srv/apps/gm-xlearn/gtest/src/gtest-all.cc" "/srv/apps/gm-xlearn/build/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o"
) )
set(CMAKE_CXX_COMPILER_ID "Clang") set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths: # The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH set(CMAKE_CXX_TARGET_INCLUDE_PATH
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Delete rule output on recipe failure. # Delete rule output on recipe failure.
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
...@@ -38,10 +38,9 @@ ...@@ -38,10 +38,9 @@
# Command-line flag to silence nested $(MAKE). # Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s $(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands. #Suppress display of executed commands.
$(VERBOSE).SILENT: $(VERBOSE).SILENT:
# A target that is always out of date. # A target that is always out of date.
cmake_force: cmake_force:
...@@ -54,19 +53,19 @@ cmake_force: ...@@ -54,19 +53,19 @@ cmake_force:
SHELL = /bin/sh SHELL = /bin/sh
# The CMake executable. # The CMake executable.
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.3/bin/cmake CMAKE_COMMAND = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake
# The command to remove a file. # The command to remove a file.
RM = /usr/local/Cellar/cmake/3.17.3/bin/cmake -E rm -f RM = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters. # Escaping for special characters.
EQUALS = = EQUALS = =
# The top-level source directory on which CMake was run. # The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/edz/xlearn CMAKE_SOURCE_DIR = /srv/apps/gm-xlearn
# The top-level build directory on which CMake was run. # The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/edz/xlearn/build CMAKE_BINARY_DIR = /srv/apps/gm-xlearn/build
# Include any dependencies generated for this target. # Include any dependencies generated for this target.
include gtest/CMakeFiles/gtest.dir/depend.make include gtest/CMakeFiles/gtest.dir/depend.make
...@@ -79,16 +78,16 @@ include gtest/CMakeFiles/gtest.dir/flags.make ...@@ -79,16 +78,16 @@ include gtest/CMakeFiles/gtest.dir/flags.make
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: gtest/CMakeFiles/gtest.dir/flags.make gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: gtest/CMakeFiles/gtest.dir/flags.make
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/src/gtest-all.cc gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/src/gtest-all.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/edz/xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/srv/apps/gm-xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /Users/edz/xlearn/gtest/src/gtest-all.cc cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /srv/apps/gm-xlearn/gtest/src/gtest-all.cc
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.i: cmake_force gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest.dir/src/gtest-all.cc.i" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest.dir/src/gtest-all.cc.i"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/edz/xlearn/gtest/src/gtest-all.cc > CMakeFiles/gtest.dir/src/gtest-all.cc.i cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /srv/apps/gm-xlearn/gtest/src/gtest-all.cc > CMakeFiles/gtest.dir/src/gtest-all.cc.i
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.s: cmake_force gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest.dir/src/gtest-all.cc.s" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest.dir/src/gtest-all.cc.s"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/edz/xlearn/gtest/src/gtest-all.cc -o CMakeFiles/gtest.dir/src/gtest-all.cc.s cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /srv/apps/gm-xlearn/gtest/src/gtest-all.cc -o CMakeFiles/gtest.dir/src/gtest-all.cc.s
# Object files for target gtest # Object files for target gtest
gtest_OBJECTS = \ gtest_OBJECTS = \
...@@ -100,9 +99,9 @@ gtest_EXTERNAL_OBJECTS = ...@@ -100,9 +99,9 @@ gtest_EXTERNAL_OBJECTS =
gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/build.make gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/build.make
gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/link.txt gtest/libgtest.a: gtest/CMakeFiles/gtest.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/edz/xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest.a" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/srv/apps/gm-xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest.a"
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean_target.cmake cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=$(VERBOSE) cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target. # Rule to build all files generated by this target.
gtest/CMakeFiles/gtest.dir/build: gtest/libgtest.a gtest/CMakeFiles/gtest.dir/build: gtest/libgtest.a
...@@ -110,10 +109,10 @@ gtest/CMakeFiles/gtest.dir/build: gtest/libgtest.a ...@@ -110,10 +109,10 @@ gtest/CMakeFiles/gtest.dir/build: gtest/libgtest.a
.PHONY : gtest/CMakeFiles/gtest.dir/build .PHONY : gtest/CMakeFiles/gtest.dir/build
gtest/CMakeFiles/gtest.dir/clean: gtest/CMakeFiles/gtest.dir/clean:
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean.cmake cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean.cmake
.PHONY : gtest/CMakeFiles/gtest.dir/clean .PHONY : gtest/CMakeFiles/gtest.dir/clean
gtest/CMakeFiles/gtest.dir/depend: gtest/CMakeFiles/gtest.dir/depend:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/edz/xlearn /Users/edz/xlearn/gtest /Users/edz/xlearn/build /Users/edz/xlearn/build/gtest /Users/edz/xlearn/build/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color=$(COLOR) cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /srv/apps/gm-xlearn /srv/apps/gm-xlearn/gtest /srv/apps/gm-xlearn/build /srv/apps/gm-xlearn/build/gtest /srv/apps/gm-xlearn/build/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : gtest/CMakeFiles/gtest.dir/depend .PHONY : gtest/CMakeFiles/gtest.dir/depend
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
../gtest/include/gtest/gtest-death-test.h ../gtest/include/gtest/gtest-death-test.h
...@@ -30,4 +30,4 @@ gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o ...@@ -30,4 +30,4 @@ gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
../gtest/src/gtest-test-part.cc ../gtest/src/gtest-test-part.cc
../gtest/src/gtest-typed-test.cc ../gtest/src/gtest-typed-test.cc
../gtest/src/gtest.cc ../gtest/src/gtest.cc
/Users/edz/xlearn/gtest/src/gtest-all.cc /srv/apps/gm-xlearn/gtest/src/gtest-all.cc
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/include/gtest/gtest-death-test.h gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/include/gtest/gtest-death-test.h
gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/include/gtest/gtest-message.h gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../gtest/include/gtest/gtest-message.h
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment -DGTEST_HAS_PTHREAD=1
# compile CXX with /usr/bin/c++
CXX_DEFINES = CXX_DEFINES =
CXX_INCLUDES = -I/Users/edz/xlearn -I/Users/edz/xlearn/build -I/Users/edz/xlearn/gtest/include -I/Users/edz/xlearn/gtest CXX_INCLUDES = -I/srv/apps/gm-xlearn -I/srv/apps/gm-xlearn/build -I/srv/apps/gm-xlearn/gtest/include -I/srv/apps/gm-xlearn/gtest
CXX_FLAGS = -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
/Library/Developer/CommandLineTools/usr/bin/ar qc libgtest.a CMakeFiles/gtest.dir/src/gtest-all.cc.o /usr/bin/ar qc libgtest.a CMakeFiles/gtest.dir/src/gtest-all.cc.o
/Library/Developer/CommandLineTools/usr/bin/ranlib libgtest.a /usr/bin/ranlib libgtest.a
...@@ -246,9 +246,9 @@ cxxabi.h ...@@ -246,9 +246,9 @@ cxxabi.h
acxx_demangle.h acxx_demangle.h
- -
/Users/edz/xlearn/gtest/src/gtest_main.cc /srv/apps/gm-xlearn/gtest/src/gtest_main.cc
stdio.h stdio.h
- -
gtest/gtest.h gtest/gtest.h
/Users/edz/xlearn/gtest/src/gtest/gtest.h /srv/apps/gm-xlearn/gtest/src/gtest/gtest.h
...@@ -4,9 +4,9 @@ set(CMAKE_DEPENDS_LANGUAGES ...@@ -4,9 +4,9 @@ set(CMAKE_DEPENDS_LANGUAGES
) )
# The set of files for implicit dependencies of each language: # The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX set(CMAKE_DEPENDS_CHECK_CXX
"/Users/edz/xlearn/gtest/src/gtest_main.cc" "/Users/edz/xlearn/build/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o" "/srv/apps/gm-xlearn/gtest/src/gtest_main.cc" "/srv/apps/gm-xlearn/build/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
) )
set(CMAKE_CXX_COMPILER_ID "Clang") set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths: # The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH set(CMAKE_CXX_TARGET_INCLUDE_PATH
...@@ -18,7 +18,7 @@ set(CMAKE_CXX_TARGET_INCLUDE_PATH ...@@ -18,7 +18,7 @@ set(CMAKE_CXX_TARGET_INCLUDE_PATH
# Targets to which this target links. # Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES set(CMAKE_TARGET_LINKED_INFO_FILES
"/Users/edz/xlearn/build/gtest/CMakeFiles/gtest.dir/DependInfo.cmake" "/srv/apps/gm-xlearn/build/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
) )
# Fortran module output directory. # Fortran module output directory.
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Delete rule output on recipe failure. # Delete rule output on recipe failure.
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
...@@ -38,10 +38,9 @@ ...@@ -38,10 +38,9 @@
# Command-line flag to silence nested $(MAKE). # Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s $(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands. #Suppress display of executed commands.
$(VERBOSE).SILENT: $(VERBOSE).SILENT:
# A target that is always out of date. # A target that is always out of date.
cmake_force: cmake_force:
...@@ -54,19 +53,19 @@ cmake_force: ...@@ -54,19 +53,19 @@ cmake_force:
SHELL = /bin/sh SHELL = /bin/sh
# The CMake executable. # The CMake executable.
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.3/bin/cmake CMAKE_COMMAND = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake
# The command to remove a file. # The command to remove a file.
RM = /usr/local/Cellar/cmake/3.17.3/bin/cmake -E rm -f RM = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters. # Escaping for special characters.
EQUALS = = EQUALS = =
# The top-level source directory on which CMake was run. # The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/edz/xlearn CMAKE_SOURCE_DIR = /srv/apps/gm-xlearn
# The top-level build directory on which CMake was run. # The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/edz/xlearn/build CMAKE_BINARY_DIR = /srv/apps/gm-xlearn/build
# Include any dependencies generated for this target. # Include any dependencies generated for this target.
include gtest/CMakeFiles/gtest_main.dir/depend.make include gtest/CMakeFiles/gtest_main.dir/depend.make
...@@ -79,16 +78,16 @@ include gtest/CMakeFiles/gtest_main.dir/flags.make ...@@ -79,16 +78,16 @@ include gtest/CMakeFiles/gtest_main.dir/flags.make
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: gtest/CMakeFiles/gtest_main.dir/flags.make gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: gtest/CMakeFiles/gtest_main.dir/flags.make
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/src/gtest_main.cc gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/src/gtest_main.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/edz/xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/srv/apps/gm-xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /Users/edz/xlearn/gtest/src/gtest_main.cc cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /srv/apps/gm-xlearn/gtest/src/gtest_main.cc
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.i: cmake_force gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest_main.dir/src/gtest_main.cc.i" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest_main.dir/src/gtest_main.cc.i"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/edz/xlearn/gtest/src/gtest_main.cc > CMakeFiles/gtest_main.dir/src/gtest_main.cc.i cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /srv/apps/gm-xlearn/gtest/src/gtest_main.cc > CMakeFiles/gtest_main.dir/src/gtest_main.cc.i
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.s: cmake_force gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest_main.dir/src/gtest_main.cc.s" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest_main.dir/src/gtest_main.cc.s"
cd /Users/edz/xlearn/build/gtest && /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/edz/xlearn/gtest/src/gtest_main.cc -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.s cd /srv/apps/gm-xlearn/build/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /srv/apps/gm-xlearn/gtest/src/gtest_main.cc -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.s
# Object files for target gtest_main # Object files for target gtest_main
gtest_main_OBJECTS = \ gtest_main_OBJECTS = \
...@@ -100,9 +99,9 @@ gtest_main_EXTERNAL_OBJECTS = ...@@ -100,9 +99,9 @@ gtest_main_EXTERNAL_OBJECTS =
gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/build.make gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/build.make
gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/link.txt gtest/libgtest_main.a: gtest/CMakeFiles/gtest_main.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/edz/xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest_main.a" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/srv/apps/gm-xlearn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest_main.a"
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean_target.cmake cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean_target.cmake
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest_main.dir/link.txt --verbose=$(VERBOSE) cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest_main.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target. # Rule to build all files generated by this target.
gtest/CMakeFiles/gtest_main.dir/build: gtest/libgtest_main.a gtest/CMakeFiles/gtest_main.dir/build: gtest/libgtest_main.a
...@@ -110,10 +109,10 @@ gtest/CMakeFiles/gtest_main.dir/build: gtest/libgtest_main.a ...@@ -110,10 +109,10 @@ gtest/CMakeFiles/gtest_main.dir/build: gtest/libgtest_main.a
.PHONY : gtest/CMakeFiles/gtest_main.dir/build .PHONY : gtest/CMakeFiles/gtest_main.dir/build
gtest/CMakeFiles/gtest_main.dir/clean: gtest/CMakeFiles/gtest_main.dir/clean:
cd /Users/edz/xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean.cmake cd /srv/apps/gm-xlearn/build/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean.cmake
.PHONY : gtest/CMakeFiles/gtest_main.dir/clean .PHONY : gtest/CMakeFiles/gtest_main.dir/clean
gtest/CMakeFiles/gtest_main.dir/depend: gtest/CMakeFiles/gtest_main.dir/depend:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/edz/xlearn /Users/edz/xlearn/gtest /Users/edz/xlearn/build /Users/edz/xlearn/build/gtest /Users/edz/xlearn/build/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color=$(COLOR) cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /srv/apps/gm-xlearn /srv/apps/gm-xlearn/gtest /srv/apps/gm-xlearn/build /srv/apps/gm-xlearn/build/gtest /srv/apps/gm-xlearn/build/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : gtest/CMakeFiles/gtest_main.dir/depend .PHONY : gtest/CMakeFiles/gtest_main.dir/depend
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
../gtest/include/gtest/gtest-death-test.h ../gtest/include/gtest/gtest-death-test.h
...@@ -21,4 +21,4 @@ gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o ...@@ -21,4 +21,4 @@ gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
../gtest/include/gtest/internal/gtest-string.h ../gtest/include/gtest/internal/gtest-string.h
../gtest/include/gtest/internal/gtest-tuple.h ../gtest/include/gtest/internal/gtest-tuple.h
../gtest/include/gtest/internal/gtest-type-util.h ../gtest/include/gtest/internal/gtest-type-util.h
/Users/edz/xlearn/gtest/src/gtest_main.cc /srv/apps/gm-xlearn/gtest/src/gtest_main.cc
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/include/gtest/gtest-death-test.h gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/include/gtest/gtest-death-test.h
gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/include/gtest/gtest-message.h gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../gtest/include/gtest/gtest-message.h
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment -DGTEST_HAS_PTHREAD=1
# compile CXX with /usr/bin/c++
CXX_DEFINES = CXX_DEFINES =
CXX_INCLUDES = -I/Users/edz/xlearn -I/Users/edz/xlearn/build -I/Users/edz/xlearn/gtest/include -I/Users/edz/xlearn/gtest CXX_INCLUDES = -I/srv/apps/gm-xlearn -I/srv/apps/gm-xlearn/build -I/srv/apps/gm-xlearn/gtest/include -I/srv/apps/gm-xlearn/gtest
CXX_FLAGS = -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
/Library/Developer/CommandLineTools/usr/bin/ar qc libgtest_main.a CMakeFiles/gtest_main.dir/src/gtest_main.cc.o /usr/bin/ar qc libgtest_main.a CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
/Library/Developer/CommandLineTools/usr/bin/ranlib libgtest_main.a /usr/bin/ranlib libgtest_main.a
This diff is collapsed.
# Install script for directory: /Users/edz/xlearn/gtest # Install script for directory: /srv/apps/gm-xlearn/gtest
# Set the install prefix # Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX) if(NOT DEFINED CMAKE_INSTALL_PREFIX)
...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT) ...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT)
endif() endif()
endif() endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile? # Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING) if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
endif() endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
No preview for this file type
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Default target executed when no arguments are given to make. # Default target executed when no arguments are given to make.
default_target: all default_target: all
...@@ -43,10 +43,9 @@ default_target: all ...@@ -43,10 +43,9 @@ default_target: all
# Command-line flag to silence nested $(MAKE). # Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s $(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands. #Suppress display of executed commands.
$(VERBOSE).SILENT: $(VERBOSE).SILENT:
# A target that is always out of date. # A target that is always out of date.
cmake_force: cmake_force:
...@@ -59,57 +58,57 @@ cmake_force: ...@@ -59,57 +58,57 @@ cmake_force:
SHELL = /bin/sh SHELL = /bin/sh
# The CMake executable. # The CMake executable.
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.3/bin/cmake CMAKE_COMMAND = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake
# The command to remove a file. # The command to remove a file.
RM = /usr/local/Cellar/cmake/3.17.3/bin/cmake -E rm -f RM = /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters. # Escaping for special characters.
EQUALS = = EQUALS = =
# The top-level source directory on which CMake was run. # The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/edz/xlearn CMAKE_SOURCE_DIR = /srv/apps/gm-xlearn
# The top-level build directory on which CMake was run. # The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/edz/xlearn/build CMAKE_BINARY_DIR = /srv/apps/gm-xlearn/build
#============================================================================= #=============================================================================
# Targets provided globally by CMake. # Targets provided globally by CMake.
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install/strip # Special rule for the target install/strip
install/strip: preinstall install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip .PHONY : install/strip
# Special rule for the target install/strip # Special rule for the target install/strip
install/strip/fast: preinstall/fast install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast .PHONY : install/strip/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install # Special rule for the target install
install: preinstall install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install .PHONY : install
# Special rule for the target install # Special rule for the target install
install/fast: preinstall/fast install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake -P cmake_install.cmake /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install/fast .PHONY : install/fast
# Special rule for the target list_install_components # Special rule for the target list_install_components
...@@ -125,7 +124,7 @@ list_install_components/fast: list_install_components ...@@ -125,7 +124,7 @@ list_install_components/fast: list_install_components
# Special rule for the target rebuild_cache # Special rule for the target rebuild_cache
rebuild_cache: rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/local/Cellar/cmake/3.17.3/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache .PHONY : rebuild_cache
# Special rule for the target rebuild_cache # Special rule for the target rebuild_cache
...@@ -135,8 +134,8 @@ rebuild_cache/fast: rebuild_cache ...@@ -135,8 +134,8 @@ rebuild_cache/fast: rebuild_cache
# Special rule for the target edit_cache # Special rule for the target edit_cache
edit_cache: edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/local/Cellar/cmake/3.17.3/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) /srv/envs/esmm/lib/python3.5/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache .PHONY : edit_cache
# Special rule for the target edit_cache # Special rule for the target edit_cache
...@@ -146,14 +145,14 @@ edit_cache/fast: edit_cache ...@@ -146,14 +145,14 @@ edit_cache/fast: edit_cache
# The main all target # The main all target
all: cmake_check_build_system all: cmake_check_build_system
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -E cmake_progress_start /Users/edz/xlearn/build/CMakeFiles /Users/edz/xlearn/build/python-package/CMakeFiles/progress.marks cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -E cmake_progress_start /srv/apps/gm-xlearn/build/CMakeFiles /srv/apps/gm-xlearn/build/python-package//CMakeFiles/progress.marks
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/all cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/edz/xlearn/build/CMakeFiles 0 $(CMAKE_COMMAND) -E cmake_progress_start /srv/apps/gm-xlearn/build/CMakeFiles 0
.PHONY : all .PHONY : all
# The main clean target # The main clean target
clean: clean:
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/clean cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/clean
.PHONY : clean .PHONY : clean
# The main clean target # The main clean target
...@@ -163,17 +162,17 @@ clean/fast: clean ...@@ -163,17 +162,17 @@ clean/fast: clean
# Prepare targets for installation. # Prepare targets for installation.
preinstall: all preinstall: all
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/preinstall cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/preinstall
.PHONY : preinstall .PHONY : preinstall
# Prepare targets for installation. # Prepare targets for installation.
preinstall/fast: preinstall/fast:
cd /Users/edz/xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/preinstall cd /srv/apps/gm-xlearn/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 python-package/preinstall
.PHONY : preinstall/fast .PHONY : preinstall/fast
# clear depends # clear depends
depend: depend:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend .PHONY : depend
# Help Target # Help Target
...@@ -199,6 +198,6 @@ help: ...@@ -199,6 +198,6 @@ help:
# No rule that depends on this can have commands that come from listfiles # No rule that depends on this can have commands that come from listfiles
# because they might be regenerated. # because they might be regenerated.
cmake_check_build_system: cmake_check_build_system:
cd /Users/edz/xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 cd /srv/apps/gm-xlearn/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system .PHONY : cmake_check_build_system
# Copyright (c) 2018 by contributors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# coding: utf-8
from __future__ import absolute_import
import os
from .xlearn import *
VERSION_FILE = os.path.join(os.path.dirname(__file__), 'VERSION')
with open(VERSION_FILE) as f:
__version__ = f.read().strip()
try:
import numpy
from sklearn.base import BaseEstimator
from sklearn.datasets import dump_svmlight_file
SKLEARN_INSTALLED = True
except ImportError:
SKLEARN_INSTALLED = False
if SKLEARN_INSTALLED:
from ._sklearn import FMModel, \
LRModel, \
FFMModel, \
write_data_to_xlearn_format
\ No newline at end of file
This diff is collapsed.
# Copyright (c) 2018 by contributors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# coding: utf-8
import sys
import os
import ctypes
from .libpath import find_lib_path
class XLearnError(Exception):
"""Error thrown by xlearn trainer"""
pass
def _load_lib():
"""Load xlearn shared library"""
lib_path = find_lib_path()
if len(lib_path) == 0:
return None
lib = ctypes.cdll.LoadLibrary(lib_path[0])
return lib
# load the xlearn library globally
_LIB = _load_lib()
def _check_call(ret):
"""Check the return value of C API call
This function will raise exception when error occurs.
Wrap every API call with this function
Parameters
----------
ret : int
return value from API calls
"""
if ret != 0:
msg = ""
# raise XLearnError()
_LIB.XLearnGetLastError.restype = ctypes.POINTER(ctypes.c_ubyte)
ptr = _LIB.XLearnGetLastError()
idx = 0
while(ptr[idx] != 0):
msg += chr(ptr[idx])
idx += 1
raise XLearnError(msg)
# type definitions
XLearnHandle = ctypes.c_void_p
if sys.version_info[0] < 3:
def c_str(string):
"""Create ctypes char * from a Python string.
Parameters
----------
string : string type
Pyrhon string.
Returns
-------
str : c_char_p
A char pointer that can be passed to C API.
Examples
--------
>>> x = c_str("Hello, world!")
>>> print x.value
Hello, world!
"""
return ctypes.c_char_p(string)
else:
def c_str(string):
"""Create ctypes char * from a Python string.
Parameters
----------
string : string type
Pyrhon string.
Returns
-------
str : c_char_p
A char pointer that can be passed to C API.
Examples
--------
>>> x = c_str("Hello, world!")
>>> print(x.value)
Hello, world!
"""
return ctypes.c_char_p(string.encode('utf-8'))
"""pandas"""
try:
from pandas import Series, DataFrame
except ImportError:
class Series(object):
"""Dummy class for pandas.Series."""
pass
class DataFrame(object):
"""Dummy class for pandas.DataFrame."""
pass
# Copyright (c) 2018 by contributors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# coding: utf-8
import os, ctypes
from numpy import ndarray
from .base import DataFrame, Series
import numpy as np
from .base import _LIB, XLearnHandle
from .base import _check_call, c_str
# This class is the xLearn core data
class DMatrix(object):
def __init__(self, data, label=None, field_map=None):
"""
Initial function.
Parameters:
data: NumPy 2D or pandas DataFrame of features data.
label: one-dimensional array, it presents samples label.
field_map: one-dimensional array, it presents the features'field respectively.
This field_map like, [1, 2, 1, 3] means, the first and third features belong to field one, and the second belongs to field two, and so on.
this parameter only useful for ffm model.
Note: we only do roughly check, and do detail check in true work function.
"""
self.__handle = ctypes.c_void_p()
if (isinstance(data, ndarray) or isinstance(data, DataFrame)):
self._init_from_npy2d(data, label, field_map)
else:
raise ValueError('Input data must be numpy.ndarray or pandas.DataFrame')
# TODO(etveritas): support init DMatrix from other data type in memory,
# and unite init DMatrix from file.
# we now, only define the function for init DMatrix from NumPy 2D and pandas DataFrame.
def _init_from_npy2d(self, mat, label, field_map):
"""
This function do initialize DMatrix from numpy 2D and pandas DataFrame.
Parameters
"""
if len(mat.shape) != 2:
raise ValueError('Input numpy.ndarray must be 2 dimensional')
if isinstance(mat, DataFrame):
mat = mat.values
data = np.array(mat.reshape(mat.size), copy=False, dtype=np.float32)
data_ptr = data.ctypes.data_as(ctypes.POINTER(ctypes.c_float))
label_ptr = None
field_ptr = None
if label is not None:
if isinstance(label, DataFrame):
label = label.values
if isinstance(label, Series):
label = label.values
if isinstance(label, list):
label = np.array(label)
if isinstance(label, ndarray):
if (len(label.shape) > 2):
raise ValueError('Input numpy.ndarray of label must be 1 dimensional or 2 dimensional with one dimensional is 1')
if (len(label.shape) == 2) and (label.shape[0] != 1) and (label.shape[1] != 1):
print(len(label.shape))
raise ValueError('Input numpy.ndarray of label must be 1 dimensional or 2 dimensional with one dimensional is 1')
if (label.size != mat.shape[0]):
raise ValueError('Input label must has same elements as the data lines')
labels = np.array(label.reshape(label.size), copy=False, dtype=np.float32)
label_ptr = labels.ctypes.data_as(ctypes.POINTER(ctypes.c_float))
else:
raise ValueError('Input label must be numpy.ndarray')
if field_map is not None:
if isinstance(field_map, DataFrame):
field_map = field_map.values
if isinstance(field_map, Series):
field_map = field_map.values
if isinstance(field_map, list):
field_map = np.array(field_map)
if isinstance(field_map, ndarray):
if (len(field_map.shape) > 2):
raise ValueError('Input numpy.ndarray of label must be 1 dimensional or 2 dimensional with one dimensional is 1')
if (len(field_map.shape) == 2) and (field_map.shape[0] != 1) and (label.shape[1] != 1):
raise ValueError('Input numpy.ndarray of field_map must be 1 dimensional or 2 dimensional with the one dimensional is 1')
if (field_map.size != mat.shape[1]):
raise ValueError('Input field_map must has same elements as the data columns')
fields = np.array(field_map.reshape(field_map.size), copy=False, dtype=np.int32)
field_ptr = fields.ctypes.data_as(ctypes.POINTER(ctypes.c_uint))
else:
raise ValueError('Input of field_map must numpy.ndarray')
_check_call(_LIB.XlearnCreateDataFromMat(data_ptr,
ctypes.c_uint64(mat.shape[0]),
ctypes.c_uint64(mat.shape[1]),
label_ptr,
field_ptr,
ctypes.byref(self.__handle)))
@property
def handle(self):
return self.__handle
# release the resource of DMatrix
def __del__(self):
_check_call(_LIB.XlearnDataFree(ctypes.byref(self.__handle)))
self.__handle = None
\ No newline at end of file
# Copyright (c) 2018 by contributors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# coding: utf-8
"""Find the path to xlearn dynamic library files."""
import os
import platform
import sys
class XLearnLibraryNotFound(Exception):
"""Error thrown by when xlearn is not found"""
pass
def find_lib_path():
"""Find the path to xlearn dynamic library files.
Returns
-------
lib_path: list(string)
List of all found library path to xlearn
"""
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
# make pythonpack hack: copy this directory one level upper for setup.py
dll_path = [curr_path, os.path.join(curr_path, '../../lib/'),
os.path.join(curr_path, '../../build/lib/'),
os.path.join(curr_path, './lib/'),
os.path.join(sys.prefix, 'xlearn')]
if sys.platform == 'win32':
if platform.architecture()[0] == '64bit':
dll_path.append(os.path.join(curr_path, '../../windows/x64/Release/'))
# hack for pip installation when copy all parent source directory here
dll_path.append(os.path.join(curr_path, './windows/x64/Release/'))
# for windows install
dll_path.append(os.path.join(curr_path, '../../test/c_api/Release/'))
else:
dll_path.append(os.path.join(curr_path, '../../windows/Release/'))
# hack for pip installation when copy all parent source directory here
dll_path.append(os.path.join(curr_path, './windows/Release/'))
# for windows install
dll_path.append(os.path.join(curr_path, '../../test/c_api/Release/'))
dll_path = [os.path.join(p, 'xlearn_api.dll') for p in dll_path]
elif sys.platform.startswith('linux'):
dll_path = [os.path.join(p, 'libxlearn_api.so') for p in dll_path]
elif sys.platform == 'darwin':
dll_path = [os.path.join(p, 'libxlearn_api.dylib') for p in dll_path]
lib_path = [p for p in dll_path if os.path.exists(p) and os.path.isfile(p)]
# From github issues, most of installation errors come from machines w/o compilers
if not lib_path:
raise XLearnLibraryNotFound(
'Cannot find xlearn Library in the candidate path'
)
return lib_path
This diff is collapsed.
# Install script for directory: /Users/edz/xlearn/python-package # Install script for directory: /srv/apps/gm-xlearn/python-package
# Set the install prefix # Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX) if(NOT DEFINED CMAKE_INSTALL_PREFIX)
...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT) ...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT)
endif() endif()
endif() endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile? # Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING) if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
endif() endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
Metadata-Version: 1.2
Name: xlearn
Version: 0.4.4
Summary: xLearn Python Package
Home-page: https://github.com/aksnzhy/xlearn
Maintainer: Chao Ma
Maintainer-email: mctt90@gmail.com
License: Apache-2.0
Description: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
MANIFEST.in
setup.py
../lib/libxlearn_api.dylib
test/test_data_conversion.py
test/test_python.py
xlearn/VERSION
xlearn/__init__.py
xlearn/_sklearn.py
xlearn/base.py
xlearn/data.py
xlearn/libpath.py
xlearn/xlearn.py
xlearn.egg-info/PKG-INFO
xlearn.egg-info/SOURCES.txt
xlearn.egg-info/dependency_links.txt
xlearn.egg-info/not-zip-safe
xlearn.egg-info/requires.txt
xlearn.egg-info/top_level.txt
\ No newline at end of file
numpy
[:python_version < "3"]
scipy<1.3.0
[:python_version >= "3"]
scipy>=1.3.0
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
This diff is collapsed.
# Install script for directory: /Users/edz/xlearn/scripts # Install script for directory: /srv/apps/gm-xlearn/scripts
# Set the install prefix # Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX) if(NOT DEFINED CMAKE_INSTALL_PREFIX)
...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT) ...@@ -27,8 +27,18 @@ if(NOT CMAKE_INSTALL_COMPONENT)
endif() endif()
endif() endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile? # Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING) if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE") set(CMAKE_CROSSCOMPILING "FALSE")
endif() endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Relative path conversion top directories. # Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/edz/xlearn") set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/srv/apps/gm-xlearn")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/edz/xlearn/build") set(CMAKE_RELATIVE_PATH_TOP_BINARY "/srv/apps/gm-xlearn/build")
# Force unix paths in dependencies. # Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1) set(CMAKE_FORCE_UNIX_PATHS 1)
......
...@@ -66,19 +66,19 @@ chrono ...@@ -66,19 +66,19 @@ chrono
src/base/common.h src/base/common.h
../src/base/src/base/common.h ../src/base/src/base/common.h
/Users/edz/xlearn/src/base/format_print.cc /srv/apps/gm-xlearn/src/base/format_print.cc
src/base/format_print.h src/base/format_print.h
/Users/edz/xlearn/src/base/src/base/format_print.h /srv/apps/gm-xlearn/src/base/src/base/format_print.h
/Users/edz/xlearn/src/base/levenshtein_distance.cc /srv/apps/gm-xlearn/src/base/levenshtein_distance.cc
algorithm algorithm
- -
src/base/levenshtein_distance.h src/base/levenshtein_distance.h
/Users/edz/xlearn/src/base/src/base/levenshtein_distance.h /srv/apps/gm-xlearn/src/base/src/base/levenshtein_distance.h
/Users/edz/xlearn/src/base/logging.cc /srv/apps/gm-xlearn/src/base/logging.cc
src/base/logging.h src/base/logging.h
/Users/edz/xlearn/src/base/src/base/logging.h /srv/apps/gm-xlearn/src/base/src/base/logging.h
stdlib.h stdlib.h
- -
time.h time.h
...@@ -86,21 +86,21 @@ time.h ...@@ -86,21 +86,21 @@ time.h
string.h string.h
- -
/Users/edz/xlearn/src/base/split_string.cc /srv/apps/gm-xlearn/src/base/split_string.cc
src/base/split_string.h src/base/split_string.h
/Users/edz/xlearn/src/base/src/base/split_string.h /srv/apps/gm-xlearn/src/base/src/base/split_string.h
src/base/common.h src/base/common.h
/Users/edz/xlearn/src/base/src/base/common.h /srv/apps/gm-xlearn/src/base/src/base/common.h
/Users/edz/xlearn/src/base/stringprintf.cc /srv/apps/gm-xlearn/src/base/stringprintf.cc
src/base/stringprintf.h src/base/stringprintf.h
/Users/edz/xlearn/src/base/src/base/stringprintf.h /srv/apps/gm-xlearn/src/base/src/base/stringprintf.h
stdarg.h stdarg.h
- -
stdio.h stdio.h
- -
/Users/edz/xlearn/src/base/timer.cc /srv/apps/gm-xlearn/src/base/timer.cc
src/base/timer.h src/base/timer.h
/Users/edz/xlearn/src/base/src/base/timer.h /srv/apps/gm-xlearn/src/base/src/base/timer.h
...@@ -4,14 +4,14 @@ set(CMAKE_DEPENDS_LANGUAGES ...@@ -4,14 +4,14 @@ set(CMAKE_DEPENDS_LANGUAGES
) )
# The set of files for implicit dependencies of each language: # The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX set(CMAKE_DEPENDS_CHECK_CXX
"/Users/edz/xlearn/src/base/format_print.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/format_print.cc.o" "/srv/apps/gm-xlearn/src/base/format_print.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/format_print.cc.o"
"/Users/edz/xlearn/src/base/levenshtein_distance.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/levenshtein_distance.cc.o" "/srv/apps/gm-xlearn/src/base/levenshtein_distance.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/levenshtein_distance.cc.o"
"/Users/edz/xlearn/src/base/logging.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/logging.cc.o" "/srv/apps/gm-xlearn/src/base/logging.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/logging.cc.o"
"/Users/edz/xlearn/src/base/split_string.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/split_string.cc.o" "/srv/apps/gm-xlearn/src/base/split_string.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/split_string.cc.o"
"/Users/edz/xlearn/src/base/stringprintf.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/stringprintf.cc.o" "/srv/apps/gm-xlearn/src/base/stringprintf.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/stringprintf.cc.o"
"/Users/edz/xlearn/src/base/timer.cc" "/Users/edz/xlearn/build/src/base/CMakeFiles/base.dir/timer.cc.o" "/srv/apps/gm-xlearn/src/base/timer.cc" "/srv/apps/gm-xlearn/build/src/base/CMakeFiles/base.dir/timer.cc.o"
) )
set(CMAKE_CXX_COMPILER_ID "Clang") set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths: # The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH set(CMAKE_CXX_TARGET_INCLUDE_PATH
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
src/base/CMakeFiles/base.dir/format_print.cc.o: ../src/base/common.h src/base/CMakeFiles/base.dir/format_print.cc.o: ../src/base/common.h
src/base/CMakeFiles/base.dir/format_print.cc.o: ../src/base/format_print.h src/base/CMakeFiles/base.dir/format_print.cc.o: ../src/base/format_print.h
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Generated by "Unix Makefiles" Generator, CMake Version 3.18
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment
# compile CXX with /usr/bin/c++
CXX_DEFINES = CXX_DEFINES =
CXX_INCLUDES = -I/Users/edz/xlearn -I/Users/edz/xlearn/build -I/Users/edz/xlearn/gtest/include CXX_INCLUDES = -I/srv/apps/gm-xlearn -I/srv/apps/gm-xlearn/build -I/srv/apps/gm-xlearn/gtest/include
CXX_FLAGS = -Wall -Wno-sign-compare -O3 -std=c++11 -march=native -Wno-strict-aliasing -Wno-comment
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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