Paweł Bylica
3f2539de04
Add codecov config
2018-08-07 12:54:05 +02:00
Paweł Bylica
f31989c022
Do not include single-header boost_unit_test
...
Do not mix 2 different usage variants of boost_unit_test. If you link with static libs do not include the single-header variant.
See https://www.boost.org/doc/libs/1_67_0/libs/test/doc/html/boost_test/usage_variants.html#boost_test.usage_variants.single_header
2018-07-25 09:17:53 +02:00
Paweł Bylica
a1d3e72bb5
Circle CI: Upload coverage data
2018-07-24 17:12:42 +02:00
Paweł Bylica
807f7533d9
CMake: Add option COVERAGE
...
This also removed PROFILE option that also adds --coverage flag. Instead you can use -DCMAKE_EXE_LINKER_FLAGS=-lprofiler. The profiling options can be added back when better investigated (e.g. -lprofiler vs -pg options).
2018-07-24 17:12:41 +02:00
Paweł Bylica
1a64dd1d71
CMake: Better policy availability checking
...
It's better to use if(POLICY ...) and we don't have to check for CMake 3.0 because this is the minimal required version.
2018-07-24 17:07:11 +02:00
Paweł Bylica
cfef5ec6b2
CMake: Set CMP0043 to NEW
...
This avoids warning in CMake 3.0.2
2018-07-24 17:04:44 +02:00
Paweł Bylica
7cd00e3630
CMake: Set CMP0042 to NEW
...
This should not affect solidity, but with this setting all supported CMake version will use NEW policy are will be allowed to use RPATH on macOS.
2018-07-24 17:01:25 +02:00
Paweł Bylica
33e22dc8bb
CMake: Do not set CMP0020 because it's about Qt
2018-07-24 16:57:57 +02:00
Paweł Bylica
9b5d713c28
CMake: Do not use non-existing sanitizer blacklist
2018-07-24 16:53:33 +02:00
Paweł Bylica
47eede069f
CMake: Drop policy CMP0028 OLD
2018-07-24 16:51:32 +02:00
Paweł Bylica
721b7bbf70
Circle CI: Add full build dir to the workspace on Linux
2018-07-24 16:51:09 +02:00
Paweł Bylica
56096e9ce8
Merge pull request #4516 from guidovranken/propagate_CMAKE_CXX_FLAGS
...
Do not ignore CMAKE_CXX_FLAGS defined on the command line
2018-07-17 10:39:51 +02:00
Paweł Bylica
7db058074b
CMake: Fix libdir for jsoncpp external project in special case
...
When building on Debian/Ubuntu with install prefix /usr (e.g. in PPA builds) the CMAKE_INSTALL_LIBDIR is resolved to lib/x86_64-linux-gnu. For jsoncpp external project this is never the case because the install prefix is not /usr. Remove multiarch part from libdir if there.
2018-05-17 14:44:09 +02:00
Paweł Bylica
1ca8aebf8e
CMake: Clean up devcore dependencies
2018-04-16 12:16:04 +02:00
Paweł Bylica
cdb0bbb5ec
CMake: Do no search for ctest
2018-04-16 12:02:38 +02:00
Paweł Bylica
9a8b0d5726
Fix install_deps.sh for Debian without lsb_release
2018-02-27 14:34:57 +01:00
Paweł Bylica
931c0bcce3
Refactor Exception::what()
2017-10-02 16:49:45 +02:00
Paweł Bylica
ffd440ccff
CMake: Cleanup include paths
2017-09-26 22:44:57 +02:00
Paweł Bylica
5722f3083c
CMake: Add compiler warning about implicit fallthough
2017-09-26 14:21:01 +02:00
Paweł Bylica
ab8b1bcc72
Merge pull request #2938 from ethereum/cmake-ccache
...
CMake: Better ccache configuration
2017-09-21 10:52:41 +02:00
Paweł Bylica
49c98bbc34
CMake: Better ccache configuration
...
EthCcache module taken from cpp-ethereum.
2017-09-20 16:39:41 +02:00
Paweł Bylica
b9e4d5b6c8
Windows: Copy install_deps.cmake from cpp-dependencies repo
2017-09-19 20:55:47 +02:00
Paweł Bylica
4a499a38ea
jsoncpp: Restore download dir in source tree
2017-09-19 20:41:28 +02:00
Paweł Bylica
d59ec0b9ab
Remove deps git submodule
2017-09-19 15:23:40 +02:00
Paweł Bylica
39d7faa476
Merge pull request #2926 from ethereum/deps
...
deps: Move and fix jsoncpp.cmake from deps submodule
2017-09-19 15:19:06 +02:00
Paweł Bylica
5706508332
deps: Move and fix jsoncpp.cmake from deps submodule
...
This copies jsoncpp.cmake from ethereum/cpp-dependencies repo and adds BUILD_BYPRODUCT information to ExternalProject configuration (required by Ninja).
2017-09-19 11:55:55 +02:00
Paweł Bylica
48e0e3b97f
Circle CI: Emscripten build
2017-09-15 16:06:05 +02:00
Paweł Bylica
622a2d8251
Travis CI: Fix Emscripten build
2017-09-12 22:11:21 +02:00
Paweł Bylica
dc8754b595
Travis CI: Do not cache build dir
2017-09-12 20:58:10 +01:00
Paweł Bylica
6e9f93e043
Emscripten, CI: Use CMake toolchain file
2017-08-25 15:43:00 +02:00
Paweł Bylica
e088f48c55
Travis CI: Cleanup emscripten build script
2017-08-25 15:43:00 +02:00
Paweł Bylica
d223b1361b
CMake: Better handle -fstack-protector flag support
2017-08-24 12:26:37 +02:00
Paweł Bylica
5831b048c0
CMake: Fix FindZ3
2017-08-24 08:31:51 +02:00
Paweł Bylica
b0c78eaee8
Merge pull request #2784 from ethereum/cmake-3.0
...
Fix CMake 3.0 compatibility
2017-08-23 22:09:07 +02:00
Paweł Bylica
d57e3d7f72
CMake: Explicitly ask for Boost.System library
2017-08-23 17:59:48 +02:00
Paweł Bylica
ee09a06647
CMake: Add back compatibility with CMake 3.0
2017-08-23 17:54:53 +02:00
Paweł Bylica
b9015f0fb6
CMake: Remove unused scripts
2017-08-23 17:25:29 +02:00
Paweł Bylica
09628dee8c
docs: Add a note about CMake options
2017-08-22 22:50:25 +02:00
Paweł Bylica
388fc983fa
CMake: Cleanup "local" include path
2017-08-22 22:50:25 +02:00
Paweł Bylica
4974ff3962
CMake: Add option to static link solc
2017-08-22 22:50:25 +02:00
Paweł Bylica
15fd43f035
CMake: Fix linking with pthread
2017-08-22 16:45:57 +02:00
Paweł Bylica
0dc73913e1
CMake: Allow linking Boost dynamically
...
Make Boost_USE_STATIC_LIBS an CMake option, ON by default.
2017-08-21 20:42:06 +02:00
Paweł Bylica
fa53494626
CMake: Remove libsolidity <- boost::regex dependency
2017-08-21 12:37:55 +02:00
Paweł Bylica
99d198ffb0
CMake: Make libs dependencies explicit
2017-08-21 12:27:06 +02:00
Paweł Bylica
0712e6302e
Boost: Use static libs
2017-08-18 13:32:36 +02:00
Paweł Bylica
397a72107a
CMake: Simplify test tools config
2017-08-18 13:32:36 +02:00
Paweł Bylica
6f72025ee7
CMake: Simplify solc config
2017-08-18 13:32:36 +02:00
Paweł Bylica
a874bd3f04
CMake: Simplify lllc config
2017-08-18 13:32:36 +02:00
Paweł Bylica
8404e2b6d7
CMake: Simplify libsolidity config
2017-08-18 13:32:35 +02:00
Paweł Bylica
7337054d8e
CMake: Simplify liblll config
2017-08-18 13:32:35 +02:00
Paweł Bylica
63372e4a85
CMake: Simplify libevmasm config
2017-08-18 13:32:35 +02:00
Paweł Bylica
d1f4d110fb
CMake: Build static libs by default
2017-08-18 13:32:35 +02:00
Paweł Bylica
2a1b6b2e92
CMake: Simplify libdevcore config
2017-08-17 13:48:34 +02:00
Paweł Bylica
c1ddc791ff
Disable Circle CI builds for now
2017-08-16 21:20:46 +02:00
Paweł Bylica
fc3f40febe
Add warning about SAR in docs
2017-04-28 14:35:25 +01:00
Paweł Bylica
ee0bf07487
Travis CI: Install latest CMake
2017-01-12 14:14:19 +01:00
Paweł Bylica
69556666db
Update jsoncpp.cmake from cpp-dependencies repo
...
This change will keep the downloaded jsoncpp archive in the source dir and allow PPA builds from tarballs.
2016-11-08 14:28:59 +01:00
Paweł Bylica
598154ed17
Drop CryptoPP leftovers
...
Especially, do not compile CryptoPP for Emscripten.
2016-11-08 01:16:31 +01:00
Paweł Bylica
10019d4a5e
Update jsoncpp.cmake from cpp-dependencies repo
2016-11-08 00:57:30 +01:00
Paweł Bylica
4bde0a2d36
Build jsoncpp from source using jsoncpp.cmake script
2016-10-20 22:18:13 +01:00
Paweł Bylica
008c4111d7
Merge pull request #1254 from ethereum/appveyor
...
AppVeyor: build only pushes to master and develop branch
2016-10-20 17:04:04 +02:00
Paweł Bylica
21eef6aa89
AppVeyor: build only pushes to master and develop branch
...
This fixes the issue when PRs from a branch in main repo are built twice.
2016-10-20 14:22:38 +02:00
Paweł Bylica
77f3a85441
Merge pull request #566 from ethereum/msvc2015
...
Suppress a warning in LLL parser on MSVC 2015
2016-05-17 14:27:39 +02:00
Paweł Bylica
ca6a21bcd3
Suppress a warning in LLL parser on MSVC 2015
2016-05-13 15:38:23 +02:00
Paweł Bylica
31863528a4
Remove unnecesary std::move
2016-01-15 14:04:18 +01:00
Paweł Bylica
e4858023be
Fix "add_sources" cmake macro.
2015-08-25 15:38:41 +02:00
Paweł Bylica
035a93a356
Merge remote-tracking branch 'upstream/develop' into evmjit_stack
...
Conflicts:
evmjit/libevmjit/BasicBlock.cpp
evmjit/libevmjit/BasicBlock.h
2015-08-11 10:01:31 +02:00
Paweł Bylica
a75158129f
Fix EVM JIT stack limit checking.
...
Tests inlcuded.
2015-07-29 15:10:41 +02:00
Paweł Bylica
bc00b64684
Merge remote-tracking branch 'upstream/develop' into evmjit_stack
2015-07-27 19:10:23 +02:00
Paweł Bylica
e9e6bc6780
Add test for global stack underflow.
2015-07-27 18:48:58 +02:00
Paweł Bylica
2fb9eafc9d
Test dynamic jumps.
2015-07-27 14:25:28 +02:00
Paweł Bylica
befbeba512
Fix up rvalue references. Avoid a copy of an EVM code in ExtVM.
2015-07-06 09:23:21 +02:00
Paweł Bylica
09f0e7f644
Make --vm command line option syntax consistent with other options.
2015-07-03 15:16:51 +02:00
Paweł Bylica
f32f142e91
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
...
Conflicts:
alethzero/Main.ui
eth/main.cpp
2015-07-03 14:24:56 +02:00
Paweł Bylica
953e392ad2
--vm command line option replacing --jit.
2015-07-03 14:04:04 +02:00
Paweł Bylica
7ce128e322
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
2015-07-01 15:29:32 +02:00
Paweł Bylica
209e16e211
Do not compute code hash twice in VM test engine.
2015-06-24 17:43:47 +02:00
Paweł Bylica
79e7325e3f
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
...
Conflicts:
evmjit/CMakeLists.txt
evmjit/libevmjit/Arith256.cpp
2015-06-24 17:28:56 +02:00
Paweł Bylica
3d3734d95b
Merge branch 'develop' into evmjit-develop
2015-06-16 16:15:40 +02:00
Paweł Bylica
477550c611
Set code hash in FakeExtVM.
2015-06-16 10:38:10 +02:00
Paweł Bylica
0deb3ea9c9
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
...
Conflicts:
evmjit/libevmjit/Cache.cpp
2015-06-11 09:42:40 +02:00
Paweł Bylica
7272785f92
Add code hash to VM tester.
2015-06-10 18:18:38 +02:00
Paweł Bylica
5d534416b1
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
...
Conflicts:
evmjit/libevmjit-cpp/JitVM.cpp
evmjit/libevmjit-cpp/JitVM.h
2015-06-10 18:01:03 +02:00
Paweł Bylica
8061002b9c
Add missing override specifiers.
2015-06-08 12:13:44 +02:00
Paweł Bylica
87a56b2bfe
Remove pessimising moves.
2015-06-08 12:09:24 +02:00
Paweł Bylica
9425cfacf8
Remove pessimising moves.
2015-06-08 12:09:24 +02:00
Paweł Bylica
cddceb2b4f
Remove pessimising moves.
2015-06-08 12:09:24 +02:00
Paweł Bylica
8c66813683
Rename Executive::collectResult -> setResultRecipient.
2015-06-08 10:45:42 +02:00
Paweł Bylica
3bacb6f377
Merge remote-tracking branch 'upstream/develop' into refactor_executive
...
Conflicts:
test/libsolidity/solidityExecutionFramework.h
2015-06-03 17:16:33 +02:00
Paweł Bylica
6a64d18780
Merge remote-tracking branch 'upstream/develop' into feature/vm_gas_counter_refactor
...
Conflicts:
libethereum/Executive.h
2015-06-02 11:57:13 +02:00
Paweł Bylica
711933ab79
Merge remote-tracking branch 'upstream/develop' into evmjit-develop
2015-05-19 14:11:06 +02:00
Paweł Bylica
c7facd6d37
Little improved base64 implementation.
...
Global variable type changed from dynamic constructed std::string to constant char array.
Truncating conversion eliminated (no MSVC warning).
Unit tests added.
2015-05-17 23:03:39 +02:00
Paweł Bylica
0785602ad5
Ping buildbot
2015-05-12 16:14:18 +02:00
Paweł Bylica
fc3ea6aa6c
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-04-03 12:23:58 +02:00
Paweł Bylica
3ba2d4195f
Merge remote-tracking branch 'origin/vm' into develop-evmcc
...
Conflicts:
libethereum/Executive.cpp
libethereum/Executive.h
libethereum/State.cpp
libevm/VM.cpp
libevm/VM.h
libevm/VMFace.h
test/createRandomTest.cpp
test/vm.cpp
windows/LibEthereum.vcxproj.filters
2014-12-10 23:42:01 +01:00
Paweł Bylica
1d85b074c8
Merge remote-tracking branch 'upstream/develop' into vm
2014-12-10 17:44:10 +01:00
Paweł Bylica
c1ffbbe797
VMFactory - a new way of creating VMs
2014-12-10 17:41:53 +01:00
Paweł Bylica
475ce376eb
Merge branch 'develop-evmcc' into pr-jit
2014-11-26 20:21:41 +01:00
Paweł Bylica
a5d0496ea4
Merge branch 'develop' into develop-evmcc
...
Conflicts:
libevm/VM.h
test/vm.cpp
2014-11-26 20:20:52 +01:00