Skip to content

Commit c7ca116

Browse files
committed
use cmake for zstd build
1 parent 569f344 commit c7ca116

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

config.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,15 @@ function build_zstd {
8888
local tar_name=zstd-${root_name}.tar.gz
8989
fetch_unpack https://github.com/facebook/zstd/releases/download/${root_name}/zstd-${ZSTD_VERSION}.tar.gz
9090
(cd zstd-${ZSTD_VERSION} \
91+
&& cd build \
92+
&& mkdir build \
93+
&& cd build \
94+
&& cmake ../cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX \
9195
&& make \
92-
&& make install prefix=$BUILD_PREFIX )
96+
&& make install )
97+
#(cd zstd-${ZSTD_VERSION} \
98+
# && make \
99+
# && make install prefix=$BUILD_PREFIX )
93100
touch zstd-stamp
94101
}
95102

0 commit comments

Comments
 (0)