Skip to content

Commit

Permalink
(feat) install-from-apt
Browse files Browse the repository at this point in the history
  • Loading branch information
rrw-zilliqa committed Jun 26, 2024
1 parent e6c493c commit d16d292
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,22 @@ define patch_rpath
find _build/default/$(1) -type f -name '*.exe' -exec chmod u+w \{} \; -exec $(RPATH_CMD) "$(VCPKG_BASE)/lib" \{} \; -exec chmod u+w \{} \;
endef

.PHONY: default release utop dev clean docker zilliqa-docker
.PHONY: default release utop dev clean docker zilliqa-docker install-from-apt

default: release

APT_REQUIREMENTS= autoconf bison build-essential ca-certificates ccache cmake cron curl dnsutils gawk \
git lcov libcurl4-openssl-dev libev-dev libgmp-dev libpcre3-dev libssl-dev libtool \
libxml2-utils ninja-build nload ocaml ocl-icd-opencl-dev opam openssh-client patchelf pkg-config \
rsync rsyslog tar unzip vim wget zip zlib1g-dev

install-from-apt:
apt-get update -y
apt-get install -y software-properties-common
apt-get update
apt-get install -y --no-install-recommends $(APT_REQUIREMENTS)


# Build one library and one standalone executable that implements
# multiple subcommands and uses the library.
# The library can be loaded in utop for interactive testing.
Expand Down

0 comments on commit d16d292

Please sign in to comment.