Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Premake build system on Windows has been replaced with WAF, and the only dependency (other than Visual Studio and the Windows SDK) is Python.
The system depends on pre-built libraries for LLVM, LibreSSL and PCRE2 currently located at https://github.com/kulibali/ponyc-windows-libs/releases (these are created by an appveyor build; replaces the manual ponyc-windows-llvm releases).
Building on Windows requires the following:
In a command prompt in the
ponyc
source directory, run the following:(You only need to run this the first time you build the project.)
This will automatically perform the following steps:
build-<config>-<llvm-version>
directory.You can provide the following options to
make.bat
when running thebuild
ortest
commands:--config debug|release
: whether or not to build a debug or release build (debug is the default).--llvm <version>
: the LLVM version to build against (3.9.1 is the default).e.g:
Note that you need to provide these options each time you run make.bat; the system will not remember your last choice.
Other commands include
clean
, which will clean a specified configuration; anddistclean
, which will wipe out the entire build directory. You will need to runmake configure
after a distclean.