You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: Makefile
|
|
|
|
|
--- Makefile.orig 2019-10-03 23:30:22.133521000 +0200
|
|
|
|
|
+++ Makefile 2019-10-03 23:30:52.038937000 +0200
|
|
|
|
|
@@ -16,13 +16,14 @@
|
|
|
|
|
src/hll_sketch_pg_functions.o src/hll_sketch_c_adapter.o
|
|
|
|
|
|
|
|
|
|
# assume a copy or link datasketches-cpp in the current dir
|
|
|
|
|
-CORE = datasketches-cpp
|
|
|
|
|
+CORE = sketches-core-cpp
|
|
|
|
|
|
|
|
|
|
CPC = $(CORE)/cpc/src
|
|
|
|
|
OBJS += $(CPC)/cpc_sketch.o $(CPC)/fm85.o $(CPC)/fm85Compression.o $(CPC)/fm85Confidence.o $(CPC)/fm85Merging.o $(CPC)/fm85Util.o $(CPC)/iconEstimator.o $(CPC)/u32Table.o
|
|
|
|
|
|
|
|
|
|
-PG_CPPFLAGS = -std=c++11 -fPIC -I/usr/local/include -I$(CORE)/kll/include -I$(CORE)/common/include -I$(CORE)/cpc/include -I$(CORE)/theta/include -I$(CORE)/fi/include -I$(CORE)/hll/include
|
|
|
|
|
-SHLIB_LINK = -lstdc++ -L/usr/local/lib
|
|
|
|
|
+CXX = g++
|
|
|
|
|
+PG_CPPFLAGS = -I$(CORE)/kll/include -I$(CORE)/hll/include -I$(CORE)/common/include -I$(CORE)/cpc/include -I$(CORE)/theta/include -I$(CORE)/fi/include
|
|
|
|
|
+SHLIB_LINK = -lstdc++
|
|
|
|
|
|
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|