Skip to content

Commit

Permalink
mv llvm & rapidjson to 3rd_patry
Browse files Browse the repository at this point in the history
  • Loading branch information
MOON-CLJ committed Jan 25, 2019
1 parent 8564a87 commit 1c9c377
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ set(CMAKE_INSTALL_INCLUDE include CACHE PATH "Output directory for header files"
set(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")

include_directories(include)
include_directories(3rd_party)

FILE(
GLOB mc_HEADERS
include/*.h
include/hashkit/*.h
include/llvm/*.h
include/rapidjson/*.h
3rd_party/rapidjson/*.h
)
FILE(
GLOB mc_SOURCES
Expand Down
12 changes: 0 additions & 12 deletions misc/.cppcheck-supp
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
*:include/llvm/SmallVector.h:55
*:include/llvm/SmallVector.h:88
*:include/llvm/SmallVector.h:134
*:include/llvm/SmallVector.h:162
*:include/llvm/SmallVector.h:214
*:include/llvm/SmallVector.h:515
*:include/llvm/SmallVector.h:516
*:include/llvm/SmallVector.h:715
*:include/llvm/SmallVector.h:718
*:include/llvm/SmallVector.h:726
*:include/llvm/SmallVector.h:735
*:include/llvm/SmallVector.h:796
unusedFunction:src/Client.cpp:216
unusedFunction:src/c_client.cpp:90
unusedFunction:src/c_client.cpp:92
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

sources = (glob("src/*.cpp") +
["libmc/_client.pyx"])
include_dirs = ["include"]
include_dirs = ["include", "3rd_party"]

COMPILER_FLAGS = ["-fno-strict-aliasing", "-fno-exceptions", "-fno-rtti",
"-Wall", "-DMC_USE_SMALL_VECTOR", "-O3", "-DNDEBUG"]
Expand Down
4 changes: 2 additions & 2 deletions src/golibmc.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package golibmc

/*
#cgo CFLAGS: -I ./../include
#cgo CXXFLAGS: -I ./../include
#cgo CFLAGS: -I ./../include -I ./../3rd_party
#cgo CXXFLAGS: -I ./../include -I ./../3rd_party
#include "c_client.h"
*/
import "C"
Expand Down

0 comments on commit 1c9c377

Please sign in to comment.