-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build on debian buster * fix url * clang version on debian buster * fix debian/rules for debian buster * checkout before build * fix typo * Jenkinsfile: formatting
- Loading branch information
Showing
6 changed files
with
137 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM debian:buster | ||
|
||
ENV TZ=America/Chicago | ||
RUN ln --symbolic --no-dereference --force /usr/share/zoneinfo/$TZ /etc/localtime \ | ||
&& echo $TZ > /etc/timezone | ||
|
||
RUN apt-get update \ | ||
&& apt-get upgrade --yes \ | ||
&& apt-get install --yes clang-7 cmake curl dh-make git libcrypto++-dev \ | ||
libjemalloc-dev libprocps-dev libprotobuf-dev libsecp256k1-dev \ | ||
libssl-dev pandoc pkg-config protobuf-compiler sudo | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | ||
RUN apt-get install --yes nodejs | ||
RUN npm install -g npx | ||
|
||
ARG USER_ID=1000 | ||
ARG GROUP_ID=1000 | ||
RUN groupadd -g $GROUP_ID user \ | ||
&& useradd --create-home --uid $USER_ID --shell /bin/sh --gid $GROUP_ID user \ | ||
&& echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ Source: kevm | |
Section: devel | ||
Priority: optional | ||
Maintainer: Everett Hildenbrandt <[email protected]> | ||
Build-Depends: kframework, protobuf-compiler, pandoc, clang-8, cmake, pkg-config, libjemalloc-dev, libssl-dev, libprocps-dev, libprotobuf-dev, libcrypto++-dev, libsecp256k1-dev | ||
Build-Depends: kframework, protobuf-compiler, pandoc, clang-7, cmake, pkg-config, libjemalloc-dev, libssl-dev, libprocps-dev, libprotobuf-dev, libcrypto++-dev, libsecp256k1-dev | ||
Standards-Version: 3.9.6 | ||
Homepage: https://github.com/kframework/evm-semantics | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Source: kevm | ||
Section: devel | ||
Priority: optional | ||
Maintainer: Everett Hildenbrandt <[email protected]> | ||
Build-Depends: kframework, protobuf-compiler, pandoc, clang-8, cmake, pkg-config, libjemalloc-dev, libssl-dev, libprocps-dev, libprotobuf-dev, libcrypto++-dev, libsecp256k1-dev | ||
Standards-Version: 3.9.6 | ||
Homepage: https://github.com/kframework/evm-semantics | ||
|
||
Package: kevm | ||
Architecture: any | ||
Section: devel | ||
Priority: optional | ||
Depends: libjemalloc-dev, libprotobuf-dev, libcrypto++-dev, libsecp256k1-dev | ||
Description: K Semantics of EVM | ||
Implementation of Ethereum Virtual Machine (EVM) in K. | ||
kevm-vm executable communicates over protobuf to run EVM transactions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/make -f | ||
# See debhelper(7) (uncomment to enable) | ||
# output every command that modifies files on the build system. | ||
#export DH_VERBOSE = 1 | ||
|
||
|
||
# see FEATURE AREAS in dpkg-buildflags(1) | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# see ENVIRONMENT in dpkg-buildflags(1) | ||
# package maintainers to append CFLAGS | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# package maintainers to append LDFLAGS | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_build: | ||
git submodule update --init --recursive | ||
make K_RELEASE="/usr/lib/kframework" build-node | ||
|
||
override_dh_auto_install: | ||
make K_RELEASE="/usr/lib/kframework" DESTDIR="debian/kevm" INSTALL_PREFIX="/usr" install | ||
|
||
override_dh_auto_test: | ||
true | ||
|
||
# dh_make generated override targets | ||
# This is example for Cmake (See https://bugs.debian.org/641051 ) | ||
#override_dh_auto_configure: | ||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) | ||
|