Skip to content

Commit

Permalink
Merge pull request diffblue#1970 from tautschnig/java-bytecode-fixes
Browse files Browse the repository at this point in the history
Java bytecode build fixes
  • Loading branch information
tautschnig authored Mar 24, 2018
2 parents edb8eeb + df1c7e3 commit 8e0f974
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 5 additions & 5 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
The GNU Make needs to be version 3.81 or higher.
On Debian-like distributions, do
```
apt-get install g++ gcc flex bison make git libwww-perl patch
apt-get install g++ gcc flex bison make git libwww-perl patch openjdk-7-jdk
```
On Red Hat/Fedora or derivates, do
```
yum install gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6
yum install gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6 java-1.7.0-openjdk-devel
```
Note that you need g++ version 4.9 or newer.
2. As a user, get the CBMC source via
Expand Down Expand Up @@ -91,7 +91,7 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.

1. As root, get the necessary tools:
```
pkg install bash gmake git www/p5-libwww patch flex bison
pkg install bash gmake git www/p5-libwww patch flex bison openjdk
```
2. As a user, get the CBMC source via
```
Expand Down Expand Up @@ -186,11 +186,11 @@ require manual modification of build files.
--version`. To install all build dependencies:
- On Debian-like distributions, do
```
apt-get install cmake g++ gcc flex bison make git libwww-perl patch
apt-get install cmake g++ gcc flex bison make git libwww-perl patch openjdk-7-jdk
```
- On Red Hat/Fedora or derivates, do
```
yum install cmake gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6
yum install cmake gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6 java-1.7.0-openjdk-devel
```
- On macOS, do
```
Expand Down
4 changes: 2 additions & 2 deletions scripts/perf-test/codebuild-glucose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Resources:
- apt-get install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test
- apt-get update -y
- apt-get install -y libwww-perl g++-5 flex bison git
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
build:
Expand Down Expand Up @@ -109,7 +109,7 @@ Resources:
- apt-get install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test
- apt-get update -y
- apt-get install -y libwww-perl g++-5 flex bison git
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
build:
Expand Down
4 changes: 2 additions & 2 deletions scripts/perf-test/codebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Resources:
- apt-get install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test
- apt-get update -y
- apt-get install -y libwww-perl g++-5 flex bison git
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
build:
Expand Down Expand Up @@ -108,7 +108,7 @@ Resources:
- apt-get install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test
- apt-get update -y
- apt-get install -y libwww-perl g++-5 flex bison git
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
build:
Expand Down
1 change: 1 addition & 0 deletions src/java_bytecode/java_bytecode_parse_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Author: Daniel Kroening, [email protected]
#define CPROVER_JAVA_BYTECODE_JAVA_BYTECODE_PARSE_TREE_H

#include <set>
#include <map>

#include <util/optional.h>
#include <util/std_code.h>
Expand Down
1 change: 1 addition & 0 deletions src/java_bytecode/java_enum_static_init_unwind_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Author: Chris Smowton, [email protected]

#include "java_enum_static_init_unwind_handler.h"

#include <util/invariant.h>
#include <util/suffix.h>

/// Unwind handler that special-cases the clinit (static initializer) functions
Expand Down

0 comments on commit 8e0f974

Please sign in to comment.