Commit Graph

8541 Commits

Author SHA1 Message Date
Dave Abrahams
44322ff2b4 [utils] buildbot-script.sh: remove stray backslash
Swift SVN r10405
2013-11-13 02:52:17 +00:00
Dave Abrahams
80e9cef467 [utils] buildbot-script.sh: support alternate CMake Generators, such as Ninja
Swift SVN r10404
2013-11-13 02:29:41 +00:00
Dave Abrahams
88c77df62b [utils] buildbot-script.sh: remove some flotsam
Swift SVN r10403
2013-11-13 02:19:50 +00:00
Dave Abrahams
7a69441831 [utils] buildbot-script.sh: factor out common configuration options
(I take it back, the original commit was fine)

Swift SVN r10402
2013-11-13 02:19:48 +00:00
Dave Abrahams
d2e153a072 Reverting "[utils] buildbot-script.sh: factor out common configuration options"
The last commit broke the buildbot; fixing.

Swift SVN r10401
2013-11-13 02:13:42 +00:00
Dave Abrahams
2aa72b3acc [utils] buildbot-script.sh: factor out common configuration options
Swift SVN r10400
2013-11-13 01:47:52 +00:00
Argyrios Kyrtzidis
c64ff16030 [utils/buildbot] SWIFT_MODULE_CACHE_PATH is not used when building SourceKit; remove it.
Swift SVN r10366
2013-11-12 04:10:14 +00:00
Dmitri Hrybenko
2f4352e1a7 buildbot script: remove variable exports that are not needed
'make check' sets these variables before executing llvm-lit.


Swift SVN r10363
2013-11-12 02:51:08 +00:00
Dave Abrahams
fd349dec62 [utils] buildbot-script.sh: remove an unused option
Swift SVN r10360
2013-11-12 02:04:55 +00:00
Dave Abrahams
de0b3eabd6 [utils] buildbot-script.sh: add command-line option system
These changes create a viable way for people to build and test Swift
locally with reasonable assurance that the buildbot is testing the
same thing they are.  A number of other changes are planned, but these
are the basics and we need to make sure the 'bot still works before
proceeding.

Along the way, I had Joe change the way the buildbot invokes this
script so that $WORKSPACE is now passed on the command line.  Passing
flags in environment variables is inherently fragile, so the script no
longer uses that configuration method.

Swift SVN r10357
2013-11-12 01:52:06 +00:00
Joe Groff
684f616489 Show the Objective-C version of NS_ENUM usage for comparison.
Swift SVN r10070
2013-11-09 02:39:13 +00:00
Joe Groff
e99b6b3b73 Add an example of the use of NS_ENUMs from Swift.
Swift SVN r10063
2013-11-09 01:34:51 +00:00
Greg Parker
cd619c5237 Don't create a symlink named '*' when macosx-x86_64 was not built.
Swift SVN r10059
2013-11-08 23:05:38 +00:00
Dave Abrahams
2e936ea26d [buildbot-script] make it possible to force the CMake executable and install prefix
If no SWIFT_CMAKE is specified, fall back to the one in PATH, then
/usr/local/bin/cmake.  Presumably these last two are the same on the
buildbot, but if not, we can always set
SWIFT_CMAKE=/usr/local/bin/cmake in the buildbot's environment

Swift SVN r10056
2013-11-08 22:10:43 +00:00
Dave Abrahams
e2981aa09f [buildbot-script] Only check for installation scripts if actually packaging
This will allow ordinary users to run the buildbot script for personal builds

Swift SVN r10053
2013-11-08 21:40:48 +00:00
Dave Abrahams
daefa4ca40 [buildbot-script] re-order assignments in preparation for factoring
Swift SVN r10052
2013-11-08 21:40:46 +00:00
Dave Abrahams
c13b05e426 [buildbot-script] use bash with -o pipefail for improved error detection
Swift SVN r10051
2013-11-08 21:37:45 +00:00
Dmitri Hrybenko
b91e25aec5 Add a long_tests feature for tests. These tests are off by default, but run on
the buildbot.


Swift SVN r10050
2013-11-08 21:26:42 +00:00
Joe Groff
17059403d4 Back-release-note T? to U? conversion.
Swift SVN r10025
2013-11-07 16:50:13 +00:00
Joe Groff
7fa8bbdb87 Include ARM target in the buildbot's LLVM.
We want to be able to write IRGen tests against 'armv7' triples.

Swift SVN r10023
2013-11-07 15:49:32 +00:00
Joe Groff
f402f66063 Release note NS_ENUM import.
Swift SVN r10019
2013-11-07 03:49:44 +00:00
Doug Gregor
9e918e26dc Release notes for optional protocol requirements.
Swift SVN r9998
2013-11-06 19:41:30 +00:00
Chris Lattner
68af974227 Remove 'axle' related code and build machinery. It turns out that we
will not be pursuing this project in the immediate future.



Swift SVN r9901
2013-11-03 16:04:27 +00:00
Dmitri Hrybenko
4bc7549eee Update syntax highlighting scripts for 'func' -> 'def' change
Swift SVN r9891
2013-11-02 01:13:27 +00:00
Dmitri Hrybenko
55ed831393 Add release notes about 'func' -> 'def' change.
Swift SVN r9888
2013-11-02 01:08:17 +00:00
Doug Gregor
147f4b8b7b Allow the type of any variable to be inferred from its initializer.
This eliminates the local-variable restriction on the inference of a
variable's type, e.g., this is now well-formed:

    class MyClass {
      var size = 0 // inferred to Int    
    }

Fixes <rdar://problem/15017440>.


Swift SVN r9681
2013-10-25 22:14:02 +00:00
Doug Gregor
499deabae9 Infer the generic arguments from context in variables, closure parameters.
This allows us to say roughly what generic type we want without having
to specify all of the details, e.g., 

   var dict : Dictionary = ["Hello" : 1, "World" : 2] 
   // infers Dictionary<String, Int>

Fixes <rdar://problem/14238814>.


Swift SVN r9678
2013-10-25 21:53:52 +00:00
Jordan Rose
515fa0bd43 [buildbot] Include the date in release builds to avoid module cache issues.
Clang's "repository string" is part of the version info that gets encoded
into modules to make sure they are valid for the current version of the
compiler. Use the current date to make sure this is unique-ish.

Swift SVN r9649
2013-10-24 19:03:47 +00:00
Argyrios Kyrtzidis
ea251421d4 [utils] Another place to path rpath which I missed.
Swift SVN r9628
2013-10-23 21:08:54 +00:00
Argyrios Kyrtzidis
2b75fc4d40 [utils] Update install-test-script to pass the rpath of the swift libraries to a compiled swift file.
Swift SVN r9627
2013-10-23 21:05:34 +00:00
Dmitri Hrybenko
43fde08940 Move a section in release notes
Swift SVN r9568
2013-10-21 23:16:01 +00:00
Dmitri Hrybenko
e2b0f08f57 Parser: allow an optional trailing comma in array and dictionary literals
rdar://14874038


Swift SVN r9567
2013-10-21 23:13:22 +00:00
Greg Parker
c1eb091fc5 Move CMake toolchain files to a separate directory.
Swift SVN r9558
2013-10-21 21:05:36 +00:00
Joe Groff
e63081f60d Oops, adjust release note example to be fully covered.
Swift SVN r9529
2013-10-20 17:20:54 +00:00
Joe Groff
bdc38a7705 Release note nominal type patterns.
Swift SVN r9528
2013-10-20 17:16:32 +00:00
Greg Parker
5fe7849035 Add CMake toolchain files for non-Xcode cross compilation.
Swift SVN r9514
2013-10-19 01:20:28 +00:00
Greg Parker
fbd1c95292 Add support for iOS builds using cmake.
Swift SVN r9499
2013-10-18 21:52:37 +00:00
Joe Groff
64449f705b Have the buildbot 'make check-swift' instead of just running lit tests.
Swift SVN r9491
2013-10-18 21:04:56 +00:00
Daniel Dunbar
d41538096b [perftests] Fix check for if performance tests passed.
Swift SVN r9461
2013-10-17 19:22:13 +00:00
Daniel Dunbar
e82167c92e [perftests] Always submit performance test results, even with failures.
Swift SVN r9459
2013-10-17 18:55:49 +00:00
Dave Zarzycki
cfd07dd9ac Release notes: Fix a typo
Swift SVN r9450
2013-10-17 17:35:54 +00:00
Dave Zarzycki
08b5998e06 A better release note for Array<T>
Swift SVN r9444
2013-10-17 04:41:30 +00:00
Dave Zarzycki
90eeedaca0 Release note the death of Vector<T> in favor of Array<T>
Swift SVN r9438
2013-10-17 02:02:47 +00:00
Jordan Rose
9a4528c904 Move gyb from tools/ to utils/
For consistency with the vague idea that things that are only useful for
compiler developers should go in utils/, not tools/. Unless they need
build system support.

Swift SVN r9433
2013-10-17 00:08:48 +00:00
Anna Zaks
c103647542 Release note div by zero and missing return diagnostics.
Swift SVN r9426
2013-10-16 22:41:34 +00:00
Howard Hinnant
36e6f363f1 Further Vector -> Array migration. Also updated Array with several good suggestions from Dave A.
Swift SVN r9418
2013-10-16 20:48:24 +00:00
Joe Groff
993da4ca9a Release note dynamic struct layout.
Swift SVN r9376
2013-10-15 20:54:13 +00:00
Anna Zaks
267011191b Release note support for overflow detection in integer constant expressions.
Swift SVN r9372
2013-10-15 20:32:24 +00:00
Chris Lattner
d4ac7b624a tweak release notes.
Swift SVN r9344
2013-10-15 03:30:18 +00:00
Anna Zaks
4eb24f9044 Release note integer literal overflows.
Swift SVN r9341
2013-10-15 00:50:30 +00:00