File tree Expand file tree Collapse file tree 13 files changed +43
-82
lines changed
jbmc-generics/type_erasure Expand file tree Collapse file tree 13 files changed +43
-82
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "jbmc/lib/java-models-library "]
2
+ path = jbmc/lib/java-models-library
3
+ url = https://github.com/diffblue/java-models-library.git
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ jobs:
328
328
name : " diffblue/cbmc"
329
329
description : " Travis build of ${TRAVIS_COMMIT}"
330
330
notification_email : " coverity-scan@diffblue.com"
331
- build_command_prepend : " make -C jbmc/src java-models-library-download "
331
+ build_command_prepend : " make -C jbmc/src setup-submodules "
332
332
build_command_prepend : " make -C src minisat2-download"
333
333
build_command : " make -C src -j2; make -C jbmc/src -j2"
334
334
branch_pattern : " develop"
@@ -349,7 +349,7 @@ jobs:
349
349
install :
350
350
- ccache -z
351
351
- ccache --max-size=1G
352
- - make -C jbmc/src java-models-library-download
352
+ - make -C jbmc/src setup-submodules
353
353
- make -C src minisat2-download
354
354
- make -C src/ansi-c library_check
355
355
- make -C src/cpp library_check
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ set_target_properties(
123
123
xml
124
124
125
125
java_bytecode
126
+ java-models-library
126
127
jbmc
127
128
jbmc-lib
128
129
janalyzer
Original file line number Diff line number Diff line change @@ -43,17 +43,13 @@ install:
43
43
& 7z x minisat2_2.2.1.orig.tar.gz
44
44
&7z x minisat2_2.2.1.orig.tar
45
45
}
46
- if (!(Test-Path java-models-library-master\.gitignore)) {
47
- & appveyor downloadfile https://github.com/diffblue/java-models-library/archive/master.zip -FileName jml.zip
48
- & 7z x jml.zip
49
- }
50
46
cd ..
51
47
52
48
cache : deps
53
49
54
50
build_script :
55
51
- cmd : |
56
- cp -r deps/java-models-library-master/src jbmc/src/java_bytecode/library
52
+ make -C jbmc/src setup-submodules
57
53
cp -r deps/minisat2-2.2.1 minisat-2.2.1
58
54
patch -d minisat-2.2.1 -p1 < scripts/minisat-2.2.1-patch
59
55
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ phases:
20
20
21
21
- |
22
22
$env:Path = "C:\tools\cygwin\bin;$env:Path"
23
- cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src" '
23
+ cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make -j4 -C jbmc/src " '
24
24
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/unit all ; exit 0" '
25
25
26
26
post_build :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ phases:
15
15
commands :
16
16
- echo Build started on `date`
17
17
- make -C src minisat2-download
18
- - make -C jbmc/src java-models-library-download
18
+ - make -C jbmc/src setup-submodules
19
19
- make -C src CXX="ccache g++" -j2
20
20
- make -C unit CXX="ccache g++" -j2
21
21
- make -C jbmc/src CXX="ccache g++" -j2
Original file line number Diff line number Diff line change 1
1
add_subdirectory (regression )
2
2
add_subdirectory (src )
3
3
add_subdirectory (unit )
4
+
5
+ add_custom_target (java-models-library ALL
6
+ COMMAND mvn package
7
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /lib/java-models-library
8
+ )
Original file line number Diff line number Diff line change 1
1
CORE
2
2
TestClass.class
3
- --function TestClass.testFunction --classpath ../../../src/java_bytecode/ library/core-models.jar:.
3
+ --function TestClass.testFunction --classpath ../../../lib/java-models- library/target /core-models.jar:.
4
4
EXIT=0
5
5
SIGNAL=0
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
test.class
3
- --show-symbol-table --cp ../../../src/java_bytecode/ library/core-models.jar:.
3
+ --show-symbol-table --cp ../../../lib/java-models- library/target /core-models.jar:.
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
^Symbol\s*\.*\: java\:\:org\.cprover\.CProver\.\<init\>\:\(\)V$
You can’t perform that action at this time.
0 commit comments