Skip to content

Commit da50e52

Browse files
authored
Merge pull request #109 from apache/download_dependency
download datasketches-cpp instead of using submodule
2 parents 562d693 + 08b23d1 commit da50e52

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "datasketches-cpp"]
2-
path = datasketches-cpp
3-
url = https://github.com/apache/datasketches-cpp

Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,17 @@ MODULES := theta tuple cpc hll kll fi tdigest req
2020
$(MODULES):
2121
$(MAKE) -C $@
2222

23-
.PHONY: all clean init $(MODULES)
23+
.PHONY: all clean init test unittest readme $(MODULES)
2424
.DEFAULT_GOAL := all
2525

26-
all: $(MODULES)
26+
all: datasketches-cpp $(MODULES)
27+
28+
DATASKETCHES_CPP_VERSION = 5.1.0
29+
datasketches-cpp:
30+
wget https://github.com/apache/datasketches-cpp/archive/refs/tags/$(DATASKETCHES_CPP_VERSION).zip
31+
mv $(DATASKETCHES_CPP_VERSION).zip datasketches-cpp-$(DATASKETCHES_CPP_VERSION).zip
32+
unzip datasketches-cpp-$(DATASKETCHES_CPP_VERSION).zip
33+
ln -s datasketches-cpp-$(DATASKETCHES_CPP_VERSION) datasketches-cpp
2734

2835
MODCLEAN = $(addsuffix .clean, $(MODULES))
2936

datasketches-cpp

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)