-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into _update-deps/runti…
…meverification/haskell-backend
- Loading branch information
Showing
7 changed files
with
107 additions
and
71 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 |
---|---|---|
@@ -1 +1 @@ | ||
0.1.61 | ||
0.1.62 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,85 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Install OS packages containing dependencies required to build K. | ||
# | ||
set -Eeuo pipefail | ||
|
||
die() { local ec="$1"; shift; echo "ERROR: $@"; exit $ec; } | ||
|
||
inst_Debian() { | ||
echo '===== Debian packages:' | ||
sudo apt-get install -q \ | ||
bison \ | ||
build-essential \ | ||
clang-15 \ | ||
cmake \ | ||
curl \ | ||
flex \ | ||
g++ \ | ||
gcc \ | ||
libboost-test-dev \ | ||
libfmt-dev \ | ||
libgmp-dev \ | ||
libjemalloc-dev \ | ||
libmpfr-dev \ | ||
libsecp256k1-dev \ | ||
libunwind-dev \ | ||
libyaml-dev \ | ||
libz3-dev \ | ||
lld-15 \ | ||
llvm-15-tools \ | ||
m4 \ | ||
maven \ | ||
openjdk-17-jdk \ | ||
pkg-config \ | ||
python3 \ | ||
python3-dev \ | ||
z3 \ | ||
zlib1g-dev | ||
|
||
if stack --version >/dev/null 2>&1; then | ||
echo 'Using existing Haskell Stack installation.' | ||
else | ||
echo '===== Haskell Stack:' | ||
curl -sSL https://get.haskellstack.org/ | sh | ||
fi | ||
} | ||
|
||
inst_MacOS() { | ||
echo '===== Brew packages' | ||
brew install \ | ||
bison \ | ||
boost \ | ||
cmake \ | ||
flex \ | ||
fmt \ | ||
gcc \ | ||
gmp \ | ||
openjdk \ | ||
jemalloc \ | ||
libyaml \ | ||
llvm \ | ||
make \ | ||
maven \ | ||
mpfr \ | ||
pkg-config \ | ||
python \ | ||
secp256k1 \ | ||
stack \ | ||
zlib \ | ||
z3 | ||
} | ||
|
||
try() { | ||
local command="$1"; shift | ||
local platform="$1"; shift | ||
|
||
echo "===== Checking for $command for platform $platform" | ||
$command --version >/dev/null 2>&1 || return 1 | ||
echo "----- Found platform $platform" | ||
inst_$platform | ||
} | ||
|
||
try apt-get Debian && exit 0 | ||
try brew MacOS && exit 0 | ||
die 1 'Cannot find known platform. Your system appears to be unsupported.' |
Submodule llvm-backend
updated
15 files
+2 −0 | include/kllvm/binary/ProofTraceParser.h | |
+151 −0 | include/kllvm/binary/deserializer.h | |
+66 −0 | include/kllvm/binary/ringbuffer.h | |
+1 −0 | lib/binary/CMakeLists.txt | |
+19 −0 | lib/binary/ProofTraceParser.cpp | |
+82 −0 | lib/binary/ringbuffer.cpp | |
+1 −1 | package/debian/changelog | |
+1 −1 | package/version | |
+26 −0 | test/lit.cfg.py | |
+1 −0 | tools/CMakeLists.txt | |
+12 −0 | tools/kore-proof-trace-shm-writer/CMakeLists.txt | |
+92 −0 | tools/kore-proof-trace-shm-writer/main.cpp | |
+91 −0 | tools/kore-proof-trace/main.cpp | |
+1 −0 | unittests/compiler/CMakeLists.txt | |
+79 −0 | unittests/compiler/ringbuffer.cpp |
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