mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
parameterize install capnproto
This commit is contained in:
parent
5e95f04411
commit
f224fb90ef
@ -13,7 +13,7 @@ deps-base:
|
|||||||
deps-capnp:
|
deps-capnp:
|
||||||
FROM +deps-base
|
FROM +deps-base
|
||||||
COPY scripts/earthly/install_capnproto.sh /
|
COPY scripts/earthly/install_capnproto.sh /
|
||||||
RUN /bin/bash /install_capnproto.sh; rm /install_capnproto.sh
|
RUN /bin/bash /install_capnproto.sh; rm /install_capnproto.sh 1
|
||||||
|
|
||||||
# Install protoc
|
# Install protoc
|
||||||
deps-protoc:
|
deps-protoc:
|
||||||
@ -147,4 +147,4 @@ package-linux-arm64:
|
|||||||
|
|
||||||
package-linux:
|
package-linux:
|
||||||
BUILD +package-linux-amd64
|
BUILD +package-linux-amd64
|
||||||
BUILD +package-linux-arm64
|
BUILD +package-linux-arm64
|
||||||
|
@ -5,7 +5,7 @@ curl -O https://capnproto.org/capnproto-c++-0.10.2.tar.gz
|
|||||||
tar zxf capnproto-c++-0.10.2.tar.gz
|
tar zxf capnproto-c++-0.10.2.tar.gz
|
||||||
cd capnproto-c++-0.10.2
|
cd capnproto-c++-0.10.2
|
||||||
./configure --without-openssl
|
./configure --without-openssl
|
||||||
make -j6 check
|
make -j$1 check
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
if command -v checkinstall &> /dev/null; then
|
if command -v checkinstall &> /dev/null; then
|
||||||
sudo checkinstall -y
|
sudo checkinstall -y
|
||||||
|
Loading…
Reference in New Issue
Block a user