Skip to content

Commit

Permalink
Temporary commentouted fuzz lib because clang is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
motxx committed Jun 16, 2017
1 parent c113519 commit d387ade
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -200,27 +200,27 @@ endif()

# find_package(libFuzz)

if (NOT LIBFUZZER_FOUND)
ExternalProject_Add(libFuzzer
GIT_REPOSITORY "https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer"
GIT_TAG "master"
CONFIGURE_COMMAND ""
BUILD_IN_SOURCE 1
BUILD_ALWAYS 1
BUILD_COMMAND "./build.sh"
INSTALL_COMMAND "" # remove install step
TEST_COMMAND "" # remove test step
UPDATE_COMMAND "" # remove update step
)
ExternalProject_Get_Property(libFuzzer source_dir)
set(LIBFUZZER_LIBRARIES ${source_dir}/libFuzzer.a)
endif()

add_library(fuzzer STATIC IMPORTED)
set_target_properties(fuzzer PROPERTIES
IMPORTED_LOCATION ${LIBFUZZER_LIBRARIES}
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
)
#if (NOT LIBFUZZER_FOUND)
# ExternalProject_Add(libFuzzer
# GIT_REPOSITORY "https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer"
# GIT_TAG "master"
# CONFIGURE_COMMAND ""
# BUILD_IN_SOURCE 1
# BUILD_ALWAYS 1
# BUILD_COMMAND "./build.sh"
# INSTALL_COMMAND "" # remove install step
# TEST_COMMAND "" # remove test step
# UPDATE_COMMAND "" # remove update step
# )
# ExternalProject_Get_Property(libFuzzer source_dir)
# set(LIBFUZZER_LIBRARIES ${source_dir}/libFuzzer.a)
#endif()

#add_library(fuzzer STATIC IMPORTED)
#set_target_properties(fuzzer PROPERTIES
# IMPORTED_LOCATION ${LIBFUZZER_LIBRARIES}
# IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
# )

################################
# protobuf #
Expand Down

0 comments on commit d387ade

Please sign in to comment.