Commit Graph

16 Commits

Author SHA1 Message Date
buttaface
c4c48c0e84 [android] Update to LTS NDK 25b (#60938)
Also, remove `SWIFT_ANDROID_NDK_CLANG_VERSION` and just extract the
resource directory from the NDK using `file(GLOB)`.
2022-09-21 10:46:29 -07:00
Alastair Houghton
0cf687aa2b [Build][Runtime] Replace SWIFT_STDLIB_SINGLE_THREADED_RUNTIME.
SWIFT_STDLIB_SINGLE_THREADED_RUNTIME is too much of a blunt instrument here.
It covers both the Concurrency runtime and the rest of the runtime, but we'd
like to be able to have e.g. a single-threaded Concurrency runtime while
the rest of the runtime is still thread safe (for instance).

So: rename it to SWIFT_STDLIB_SINGLE_THREADED_CONCURRENCY and make it just
control the Concurrency runtime, then add a SWIFT_STDLIB_THREADING_PACKAGE
setting at the CMake/build-script level, which defines
SWIFT_STDLIB_THREADING_xxx where xxx depends on the chosen threading package.

This is especially useful on systems where there may be a choice of threading
package that you could use.

rdar://90776105
2022-06-07 07:39:51 +01:00
Saleem Abdulrasool
b739394344 cmake: add android runtime build caches
These cache files allow building the runtime via cross-compilation for
Android ARMv7 and AArch64.
2022-05-31 08:17:30 -07:00
Saleem Abdulrasool
699202656a caches: tweak the Windows toolchain build
Update the toolchain configuration to disable the python home embedding.
This should allow us to be more freestanding of the python location and
give us better control of the python library being used.
2022-04-10 21:39:11 -07:00
Saleem Abdulrasool
6b42b73df7 cmake: add some caches for Linux
This adds a set of cmake caches to build a toolchain and runtime for
Linux x86_64.  It is derived from the Windows configuration, but works
for Linux.
2021-11-27 14:00:05 -08:00
Saleem Abdulrasool
7d112270b5 caches: add a Windows ARM64 cache file
This is useful for restoring the Windows ARM64 port of the runtime.
This currently does not build due to issues in the module.map
definitions causing a build failure.  However, adding the file enables
others to reproduce the build and help.
2021-10-31 11:53:37 -07:00
Saleem Abdulrasool
1e6e71c7dc cmake: add a cache for Windows ARM64 toolchains
This adds a CMake cache for the Windows ARM64 toolchain.  It is possible
to build and run the toolchain on ARM64, though we have not had regular
releases of the toolchain.  This adds the cache used to generate the
toolchain in the hopes that it is useful for others and that we can soon
get more regular ARM64 toolchain builds.
2021-10-24 11:22:59 -07:00
Max Desiatov
3f68ccade3 CMake: add Runtime-WASI-wasm32.cmake cache file (#39651)
This cache file is used when building runtime for WebAssembly/WASI.

Related to SR-9307.
2021-10-11 10:13:22 +01:00
Saleem Abdulrasool
db6cec96ed caches: add a cache for a i686 build of the runtime on Windows
This adds a cache for a configuration of the standard library for
Windows x86 configurations.  This should help restore the x86 builds of
the SDK for Windows.
2021-08-30 13:13:01 -07:00
Saleem Abdulrasool
0a8da95fb4 caches: add LLVM_DEFAULT_TARGET_TRIPLE to Windows-x86_64
Add the default target triple to match the target for the Windows
toolchain.  This avoids the need for an additional parameter, and
it makes sense for the target to be the host by default. Explicit
parameters can change the target when desired.
2021-07-15 09:50:53 -07:00
Saleem Abdulrasool
b05c1e9ca0 Windows: enable the profiling library on Windows
The official builds include the profiling library, so we should enable
it on the CI to ensure that the path is tested.  This should only add
~1m to the total build time.
2021-06-02 12:51:35 -07:00
Saleem Abdulrasool
3aababb46c Windows: re-organise toolchain cache (NFC)
Make a few more options more explicit and re-group a few options. This
is merely for ease of human processing.
2021-06-01 18:30:09 -07:00
Saleem Abdulrasool
47e7991005 Windows: remove duplicated entry in distribution
This removes the duplicated `llvm-mt` from the toolchain distribution
list.
2021-06-01 18:30:09 -07:00
Saleem Abdulrasool
5f9eba2cb3 build: build parser-lib by default on Windows
Add parser-lib to the default build configuration on Windows.  This is
useful for building additional tooling.
2021-03-19 08:22:28 -07:00
Saleem Abdulrasool
a6a1f8f2c1 caches: add a cache for building just the runtime on Windows
This allows configuration of a build for just the runtime/SDK components
rather than a complete toolchain.  It allows for more effective
iteration when working on just the runtime aspect of the toolchain.
2020-09-07 14:19:19 -07:00
Saleem Abdulrasool
b8d9e3b9c7 docs: make Windows build instructions fully self-contained
Remove the extra repository dependency for the single cache file.
Update the build examples to simplify the cmake invocation
appropriately.
2020-07-06 23:14:00 +00:00