mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Build in release mode.
This commit is contained in:
parent
a51a8368aa
commit
5066424758
@ -15,7 +15,7 @@ defaults:
|
||||
mkdir -p build
|
||||
cd build
|
||||
[ -n "$COVERAGE" -a "$CIRCLE_BRANCH" != release -a -z "$CIRCLE_TAG" ] && CMAKE_OPTIONS="$CMAKE_OPTIONS -DCOVERAGE=ON"
|
||||
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo $CMAKE_OPTIONS
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release $CMAKE_OPTIONS
|
||||
make -j4
|
||||
- run_tests: &run_tests
|
||||
name: Tests
|
||||
|
@ -32,7 +32,7 @@ branches:
|
||||
- release
|
||||
- develop
|
||||
configuration:
|
||||
- RelWithDebInfo
|
||||
- Release
|
||||
environment:
|
||||
matrix:
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||
|
@ -83,8 +83,8 @@ internally.
|
||||
|
||||
.. note ::
|
||||
|
||||
Those working in a Windows environment wanting to run the above basic sets without aleth or libz3 in Git Bash, you would have to do: ``./build/test/RelWithDebInfo/soltest.exe -- --no-ipc --no-smt``.
|
||||
If you're running this in plain Command Prompt, use ``.\build\test\RelWithDebInfo\soltest.exe -- --no-ipc --no-smt``.
|
||||
Those working in a Windows environment wanting to run the above basic sets without aleth or libz3 in Git Bash, you would have to do: ``./build/test/Release/soltest.exe -- --no-ipc --no-smt``.
|
||||
If you're running this in plain Command Prompt, use ``.\build\test\Release\soltest.exe -- --no-ipc --no-smt``.
|
||||
|
||||
The option ``--no-smt`` disables the tests that require ``libz3`` and
|
||||
``--no-ipc`` disables those that require ``aleth``.
|
||||
|
@ -296,13 +296,13 @@ And for Windows:
|
||||
This latter set of instructions should result in the creation of
|
||||
**solidity.sln** in that build directory. Double-clicking on that file
|
||||
should result in Visual Studio firing up. We suggest building
|
||||
**RelWithDebugInfo** configuration, but all others work.
|
||||
**Release** configuration, but all others work.
|
||||
|
||||
Alternatively, you can build for Windows on the command-line, like so:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cmake --build . --config RelWithDebInfo
|
||||
cmake --build . --config Release
|
||||
|
||||
CMake options
|
||||
=============
|
||||
|
Loading…
Reference in New Issue
Block a user