Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Add optimizing flag ``WITH_COMPUTED_GOTOS`` to support such builds using
clang-cl on Windows. Patch by Chris Eibl.
:prog:`clang-cl` on Windows. Patch by Chris Eibl.
Comment thread
picnixz marked this conversation as resolved.
Outdated
17 changes: 12 additions & 5 deletions PCbuild/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,21 @@ for more on this topic.

Optimization flags
------------------
Comment thread
chris-eibl marked this conversation as resolved.

You can set optimization flags either via
* environment variables, e.g.
set WITH_COMPUTED_GOTOS=true
* or pass them as parameters to `build.bat`, e.g.
build.bat "/p:WITH_COMPUTED_GOTOS=true"
* or put them in `msbuild.rsp` in the `PCbuild` directory, one flag per line

* environment variables, for example:
Comment thread
picnixz marked this conversation as resolved.
Outdated

set WITH_COMPUTED_GOTOS=true

* or pass them as parameters to `build.bat`, for example:

build.bat "/p:WITH_COMPUTED_GOTOS=true"

* or put them in `msbuild.rsp` in the `PCbuild` directory, one flag per line.

Supported flags are:

* WITH_COMPUTED_GOTOS: build the interpreter using "computed gotos".
Currently only supported by clang-cl.

Expand Down