30 Commits

Author SHA1 Message Date
Eric Miotto
fa725278e4 Runtimes: add support for Runtime module
* take the chance to rename the containing folder, as in this context it
  should be clear we are talking about the Runtime module and not the
  Swift runtime
* this will fail to build for Apple platforms until we land #84388 -- to
  signal this, comment the invocations that would add the dependency on
  the Darwin overlay
* piggyback a fix to ensure we rebuild always all the external projects
  in the Supplemental superbuild used in macOS PR testing

Addresses rdar://160774902
2025-09-19 05:12:09 -07:00
Eric Miotto
6a09e03420 [Runtimes][CMake] Add Distributed to Supplemental build
Do not enable this yet, as this would relies on a few find modules that
are not available at the moment.

Addresses rdar://151389005
2025-07-15 14:44:37 -07:00
Evan Wilde
d34347876d SwiftCore: Cache computed platform info
Implements a similar caching mechanism to what CMake uses for detecting
the compiler. The file is created based on the computed values and
allows us to avoid calling the compiler if we aren't going to extract
out any platform info.
2025-06-09 18:01:56 -07:00
Saleem Abdulrasool
c5296735f7 git: ignore in files in the Runtimes
We include some template files in the runtime build and we should not
commit those as we currently are using `Resync.cmake` to synchronise the
directory.
2025-02-07 14:26:17 -08:00
Max Desiatov
eeb8412676 Add .index-build to .gitignore (#77977)
The `.index-build` directory is created by SourceKit-LSP when background indexing is enabled, contains auto-generated transient files similar in purpose to `.build`, and it should be ignored.
2024-12-05 10:05:24 -08:00
Evan Wilde
03ba118bf3 Add swiftCore library
This patch hooks up the swiftCore library build and gets it installing.
This means that we have library evolution hooked up and vector types.

Building it dynamically found that we had duplicate symbols, so fixed
the swiftDemanglingCR library.

Needed to hook up the availability macros.

The flag configuration is for macOS, so we'll need to go through and
figure out what it should look like for the other platforms too.
2024-11-06 21:27:53 -08:00
Evan Wilde
96429952bb Build runtime library
Getting the runtime libraries building, while also ironing out more of
the macro definitions and flags.
2024-11-06 21:27:53 -08:00
Evan Wilde
f03d9a01e6 Adding stdlib resync script
Adding a quick script to keep the pieces of the standard library in sync
between the new stdlib build and the old one.
2024-11-04 13:26:31 -08:00
zoecarver
a174e4d3a6 [nfc] Add .swiftpm to .gitignore. 2022-10-30 10:59:26 -07:00
冀卓疌
b8f33bc530 ignore files generated by JetBrains 2022-04-07 14:54:05 +08:00
stevapple
5c56c600cf Add .build to gitignore 2022-03-05 17:24:36 +08:00
Robert Widmann
fe8a1e38c7 Ignore the .vscode Directory 2021-11-17 13:21:49 -08:00
Michael Forster
a11028f27a Update .gitignore for clangd
The clangd cache is now stored in a .cache directory:
https://reviews.llvm.org/D78501
2020-07-17 07:01:31 +02:00
Jeff Kelley
3d5352d3c8 Add Brewfile.lock.json to .gitignore. 2020-03-29 12:59:06 -04:00
Daniel Duan
5d3dafa86a Ignore clangd index
Ignore files generated by clangd when it is launched with the source root as
current working directory.
2019-12-23 13:44:35 -08:00
swift-ci
94da08eec1 Merge pull request #10285 from cheshire/ignore_vim_files 2019-11-11 15:51:31 -08:00
Saleem Abdulrasool
85c95df8c7 git: ignore Visual Studio (2019) metadata
Visual Studio creates a .vs directory for the indexing information and
such.  Ignore this directory.
2018-12-16 22:20:50 -08:00
Pavol Vaskovic
69d5d5e732 [benchmark] Adding tests for BenchmarkDriver
The imports are a bit sketchy because it doesn’t have `.py` extension and they had to be hacked manually. :-/

Extracted `parse_args` from `main` and added test coverage for argument parsing.
2018-08-17 00:32:04 +02:00
George Karpenkov
a95b3204e1 gitignore ctags and vim configuration
Vim users often rely on ctags, which create a "tags" file in the project root.
Additionally, by convention vim project-specific settings are often stored in a `.vimrc` file, also stored in a project root.
2017-06-15 11:29:59 -07:00
Pavol Vaskovic
49ddd96c83 Added documentation and test coverage.
compare_perf_test.py is now covered with unit tests and public methods are documented in the implementation.

Minor refactoring  to better conform to Python conventions:
* classes declared in new style
* proper private method prefix of single underscore
* replacing map with list comprehension where it was clearer

Unit test are executed as part of validation-test.

.gitignore was modified to ignore .coverage and htmlcov artifacts generated by the coverage.py package
2017-06-01 20:05:40 +02:00
Hugh Bellamy
3ad0889847 Add GYB support for Windows 2016-12-22 11:02:59 +00:00
Michael Gottesman
5ce1a46a23 Add the compile db compile_commands.json to .gitignore. 2016-12-18 17:10:00 -08:00
practicalswift
db6890fd26 [gardening] Use consistent capitalization for "Python". 2016-06-14 23:18:00 +02:00
Ted Kremenek
b8bbed8c13 [WIP] Implement SE-0039 (Modernizing Playground Literals) (#2215)
* Implement the majority of parsing support for SE-0039.

* Parse old object literals names using new syntax and provide FixIt.

For example, parse "#Image(imageLiteral:...)" and provide a FixIt to
change it to "#imageLiteral(resourceName:...)".  Now we see something like:

test.swift:4:9: error: '#Image' has been renamed to '#imageLiteral
var y = #Image(imageLiteral: "image.jpg")
        ^~~~~~ ~~~~~~~~~~~~
        #imageLiteral resourceName

Handling the old syntax, and providing a FixIt for that, will be handled in a separate
commit.

Needs tests.  Will be provided in later commit once full parsing support is done.

* Add back pieces of syntax map for object literals.

* Add parsing support for old object literal syntax.

... and provide fixits to new syntax.

Full tests to come in later commit.

* Improve parsing of invalid object literals with old syntax.

* Do not include bracket in code completion results.

* Remove defunct code in SyntaxModel.

* Add tests for migration fixits.

* Add literals to code completion overload tests.

@akyrtzi told me this should be fine.

* Clean up response tests not to include full paths.

* Further adjust offsets.

* Mark initializer for _ColorLiteralConvertible in UIKit as @nonobjc.

* Put attribute in the correct place.
2016-04-25 07:19:26 -07:00
Ben Langmuir
12092587a5 gitignore more vim swap files 2016-03-17 16:57:45 -07:00
Luke Larson
0356ec8ec3 Add Swift Benchmark Suite 2016-02-08 10:47:58 -08:00
Emati Mitame
fa8f4faa78 Ignore Cmake temp files 2015-12-03 19:51:26 +00:00
Slava Pestov
f14079080c Add some stuff to .gitignore
Swift SVN r27586
2015-04-22 17:18:45 +00:00
Dmitri Hrybenko
44c9a5c21c Synchronize Swift's gitignore with Clang's
Swift SVN r23239
2014-11-11 19:02:47 +00:00
Maxwell Swadling
79e9975a3b Added gitignore for pyc files
Swift SVN r23218
2014-11-11 00:24:23 +00:00