Commit Graph

14 Commits

Author SHA1 Message Date
Rintaro Ishizaki
dc6877334f [CMake] Stop some exectuable link with swiftCore
swift-compatibility-symbols, swift-def-to-strings-converter,
and swift-serialize-diagnostics don't use any Swift modules. But when
SWIFT_SWIFT_PARSER was enabled, they are linked with swiftCore. But
these binaries can be executed before the runtime is being built.
We need to stop them linking with swiftCore.
2023-08-28 19:10:01 +00:00
Rintaro Ishizaki
757aaa347d [CMake] Set LD_LIBRARY_PATH to builder's runtime when building stdlib
In Linux. Instead of setting temporary "fallback" RUNPATH, Set
LD_LIBRARY_PATH to builder's runtime when building standard library.
So we don't need to strip the temporary RUNPATH when installing.
2023-08-28 01:16:18 +00:00
Rintaro Ishizaki
2a2787b2d0 Avoid adding redundant temporary RUNPATH to builder's stdlib
Many shared libs and executables are only run after stdlib/runtime are
built. They don't need to link with builders stdlib at all.
2023-08-24 23:10:20 +00:00
Pavel Yaskevich
10b609caec [Localization] Remove YAML format and tool 2022-08-22 10:53:51 -07:00
Pavel Yaskevich
5a164c5f8a [Frontend] Switch from YAML to .strings based localization 2022-08-22 10:23:06 -07:00
Josh Soref
c0775196ec spelling: serialized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-30 23:33:05 -04:00
Josh Soref
36b6faa287 spelling: available
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-30 23:33:05 -04:00
Saleem Abdulrasool
fe0a945898 AST: split out diagnostics serialization
Create a new diagnostics serialization library, splitting out of
swiftAST to reduce the overheads for building the tooling for
cross-compiling the toolchain.  This should reduce the build time for
swift-serialize-diagnostics to enable cross-compilation.
2020-08-24 09:21:55 -07:00
HassanElDesouky
a3b801408b [Localization] Make the serialization tool print the removed diagnostics 2020-08-09 23:18:17 +02:00
Pavel Yaskevich
5e13a539aa [Localization] Make return type of the serialization main cross platform 2020-08-05 17:07:08 -07:00
Pavel Yaskevich
3a4d1569aa [Localization] Switch serialization format to use DiagID as a key 2020-08-05 17:05:35 -07:00
Pavel Yaskevich
67dbef5aeb [Localization] NFC: Include all of the headers based on the types used 2020-08-05 17:05:22 -07:00
Pavel Yaskevich
8ee4e93f97 [Localization] Simplify implementation of iterator over YAML 2020-08-05 15:52:46 -07:00
HassanElDesouky
a84cf7f9e8 [Locale] Serialize YAML to an OnDiskHashTable format and create a tool for serialization 2020-08-05 15:52:46 -07:00