Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Nov 12, 2017
1 parent 24d5f3e commit d8a82ca
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@
# vim temp file
*.un~
*.DS_Store

# xlearn output
.bin
.out
.model
14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,26 @@ set(CMAKE_INSTALL_PREFIX "xLearn")
#-------------------------------------------------------------------------------
# Ensure executables are statically linked with libraries.
#-------------------------------------------------------------------------------
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc")
endif()
#if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc")
#endif()

#-------------------------------------------------------------------------------
# Set include paths and library paths.
#-------------------------------------------------------------------------------
include_directories(
"${PROJECT_SOURCE_DIR}"
"${PROJECT_BINARY_DIR}"
"${PROJECT_SOURCE_DIR}/gtest/include"
)

link_directories(
"${PROJECT_BINARY_DIR}"
"${PROJECT_BINARY_DIR}/src/base"
"${PROJECT_BINARY_DIR}/src/data"
"${PROJECT_BINARY_DIR}/src/reader"
"${PROJECT_BINARY_DIR}/src/score"
"${PROJECT_BINARY_DIR}/src/loss"
"${PROJECT_BINARY_DIR}/src/solver"
)

#-------------------------------------------------------------------------------
Expand Down
Binary file removed demo/classification/criteo_ctr/small_train.txt.bin
Binary file not shown.
Binary file removed demo/classification/criteo_ctr/small_train.txt.model
Binary file not shown.

0 comments on commit d8a82ca

Please sign in to comment.