181 Commits

Author SHA1 Message Date
Hans Wennborg
97fba78647 Fix copy-pasto in r374759
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374796 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-14 17:52:31 +00:00
Hans Wennborg
3645acebbc build_llvm_package.bat: Run check-clang-tools and check-clangd tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374759 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-14 09:08:57 +00:00
Simon Atanasyan
eab724c63f merge-request.sh: Update 9.0 metabug for 9.0.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374741 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-13 22:10:06 +00:00
Hans Wennborg
d2ecaa204c build_llvm_package.bat: Bootstrap with VS 2019
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372984 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-26 14:57:55 +00:00
Rainer Orth
6dfd00e174 test-release.sh: Don't use chrpath on Solaris
When trying to run test-release.sh on Solaris 11.4 for 9.0.0 rc4, I failed initially
because Solaris lacks chrpath.  This patch accounts for that and allowed the run to
continue.

Tested on amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.

Differential Revision: https://reviews.llvm.org/D67484


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371741 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-12 14:50:32 +00:00
Jonas Devlieghere
a9c1e3400a [utils] Update shebang to use the environment.
This changes the shebang to launch bash through /usr/bin/env.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369717 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-22 23:42:31 +00:00
Simon Atanasyan
314553397b Add 9.0 release bug to merge request script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369526 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-21 13:42:10 +00:00
Hans Wennborg
f936bae3be test-release.sh: Reorder sed commands for the binary comparison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368004 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-06 09:30:10 +00:00
Hans Wennborg
8ff20addbc test-release.sh: Perform the sed substitution on both files (PR42739)
The comparison would otherwise fail if Phase2 occurrs naturally in the
object file. It would get replaced with Phase3 in the one .o, but not
in the other.

We were already running both files through sed to have them processed in
this same way; this is a logical extension of that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367847 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-05 13:04:12 +00:00
Hans Wennborg
4228dc25c7 build_llvm_package.bat: Set PYTHON_EXECUTABLE (PR42724)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367815 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-05 08:51:45 +00:00
Tom Stellard
1435e8ada9 github-upload-release.py: Fix script name in examples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366978 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-25 01:49:49 +00:00
Tom Stellard
296db90e75 Add github-release.py script
Summary:
This script can be used for uploading relases sources and binaries
to github.

Reviewers: hans

Reviewed By: hans

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64841

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366977 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-25 01:43:36 +00:00
Hans Wennborg
7e5ae86c18 Bump the trunk version to 10.0.0svn
and clear the release notes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366427 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-18 11:51:05 +00:00
Tom Stellard
08e5a72001 merge-request.sh: Update 8.0 metabug for 8.0.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356924 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-25 17:01:29 +00:00
Serge Guelton
1f6df780ec Use response file when generating LLVM-C.dll
As discovered in D56774 the command line gets to long, so use a response file
to give the script the libs. This change has been tested and is confirmed
working for me.

Commited on behalf of Jakob Bornecrantz.
Differential Revision: https://reviews.llvm.org/D56781



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356443 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-19 09:14:09 +00:00
Paul Hoad
4361ad0ab2 Revert "[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present"
This reverts commit b358cbb9b78389e20f7be36e1a98e26515c3ecce.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356030 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-13 08:15:03 +00:00
Paul Hoad
cb6651ae9d [clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present
Summary:
Addressing: PR25010 - https://bugs.llvm.org/show_bug.cgi?id=25010

Code like:

```
    if(true) var++;
    else  {
        var--;
    }
```

is reformatted to be

```
  if (true)
    var++;
  else {
    var--;
  }
```

Even when `AllowShortIfStatementsOnASingleLine` is true

The following revision comes from a +1'd suggestion in the PR to support AllowShortIfElseStatementsOnASingleLine

This suppresses the clause prevents the merging of the if when there is a compound else

Reviewers: klimek, djasper, JonasToth, alexfh, krasimir, reuk
Reviewed By: reuk
Subscribers: reuk, Higuoxing, jdoerfert, cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D59087

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356029 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-13 08:07:46 +00:00
Diana Picus
2ff2d32b96 test-release.sh: Add option to use ninja
Allow the use of ninja instead of make. This is useful on some
platforms where we'd like to be able to limit the number of link jobs
without slowing down the other steps of the release.

This patch adds a -use-ninja command line option, which sets the
generator to Ninja both for LLVM and the test-suite. It also deals with
some differences between make and ninja:
* DESTDIR handling - ninja doesn't like this to be listed after the
  target, but both make and ninja can handle it before the command
* Verbose mode - ninja uses -v, make uses VERBOSE=1
* Keep going mode - make has a -k mode, which builds as much as possible
  even when failures are encountered; for ninja we need to set a hard
  limit (we use 100 since most people won't look at 100 failures anyway)

I haven't tested with gmake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353685 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-11 10:30:22 +00:00
Matt Arsenault
de0ded95ba Add 8.0 release bug to merge request script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352579 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-30 01:10:47 +00:00
Hans Wennborg
48be38f94b Revert r351833 and r352250.
They were breaking the Windows build when using MSBuild, see the
discussion on D56781.

r351833: "Use response file when generating LLVM-C.dll"

> Use response file when generating LLVM-C.dll
>
> As discovered in D56774 the command line gets to long, so use a response file to give the script the libs. This change has been tested and is confirmed working for me.
>
> Commited on behalf of Jakob Bornecrantz
>
> Differential Revision: https://reviews.llvm.org/D56781

r352250: "Build LLVM-C.dll by default on windows and enable in release package"

>  Build LLVM-C.dll by default on windows and enable in release package
>
>  With the fixes to the building of LLVM-C.dll in D56781 this should now
>  be safe to land. This will greatly simplify dealing with LLVM for people
>  that just want to use the C API on windows. This is a follow up from
>  D35077.
>
>  Patch by Jakob Bornecrantz!
>
>  Differential revision: https://reviews.llvm.org/D56774

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352492 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-29 13:43:22 +00:00
Hans Wennborg
88118fe48c Build LLVM-C.dll by default on windows and enable in release package
With the fixes to the building of LLVM-C.dll in D56781 this should now
be safe to land. This will greatly simplify dealing with LLVM for people
that just want to use the C API on windows. This is a follow up from
D35077.

Patch by Jakob Bornecrantz!

Differential revision: https://reviews.llvm.org/D56774

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352250 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-25 22:45:17 +00:00
Chandler Carruth
6b547686c5 Update the file headers across all of the LLVM projects in the monorepo
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-19 08:50:56 +00:00
Hans Wennborg
04b5a1406e build_llvm_package.bat: Run more tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351436 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-17 13:11:15 +00:00
Hans Wennborg
562a9cf430 Revert r351324 "Build LLVM-C.dll by default on windows and enable in release package"
This broke the build, ending up with too long command-lines when invoking gen-mscv-exports.py.

> As it says in the subject, should have gone long enough now that this
> should be safe. This will greatly simplify dealing with LLVM for people
> that just want to use the C API on windows. This is a follow up from
> D35077.
>
> Patch by Jakob Bornecrantz!
>
> Differential revision: https://reviews.llvm.org/D56774

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351329 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-16 12:36:28 +00:00
Hans Wennborg
afd361d86a Build LLVM-C.dll by default on windows and enable in release package
As it says in the subject, should have gone long enough now that this
should be safe. This will greatly simplify dealing with LLVM for people
that just want to use the C API on windows. This is a follow up from
D35077.

Patch by Jakob Bornecrantz!

Differential revision: https://reviews.llvm.org/D56774

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351324 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-16 11:47:56 +00:00
Hans Wennborg
7875856acd Bump the trunk version to 9.0.0svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351320 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-16 10:57:02 +00:00
Hans Wennborg
ad21d2d0af Include lldb in Win snapshots again (PR37307)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351309 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-16 08:38:28 +00:00
Serge Guelton
ee72f59247 Python compat - has_key vs. in operator
Use portable `in` operator instead of `has_key(...)` method.

Differential Revision: https://reviews.llvm.org/D56260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350314 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-03 14:12:37 +00:00
Serge Guelton
60ccceba74 Python compat - print statement
Make sure all print statements are compatible with Python 2 and Python3 using
the `from __future__ import print_function` statement.

Differential Revision: https://reviews.llvm.org/D56249

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350307 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-03 14:11:33 +00:00
Thomas Lively
0885202520 Revert "Exclude wasm target from Windows packaging due to PR39448"
Summary:
This reverts r346122 now that the failing tests have been
disabled. Depends on D54353.

Reviewers: aheejin, dschuff

Subscribers: fedor.sergeev, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D54354

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346559 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-09 22:05:51 +00:00
James Y Knight
3593f97ffb Branch/tag all projects with a single commit in release-tagging script.
This change updates the release script to use svnmucc to create all
the branches with one commit.

This will ensure that the git tag won't bounce around if the git
migration runs in-between separate commits creating a branch.

Additionally, update the list of projects to include all of the
projects in the monorepo, plus test-suite.

Differential Revision: https://reviews.llvm.org/D53467

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346550 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-09 19:45:13 +00:00
Hans Wennborg
13d535a9c9 Exclude wasm target from Windows packaging due to PR39448
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346122 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-05 09:31:43 +00:00
Tom Stellard
70ae543dfd merge-request.sh: Add 7.0 metabug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343290 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-28 02:30:42 +00:00
Hans Wennborg
1e182a9137 build_llvm_package.bat: Add OpenMP back
After r338721, it builds again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338823 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-03 07:00:08 +00:00
Hans Wennborg
b30285c970 utils/release/tag.sh: add debuginfo-tests to project list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338682 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-02 08:10:34 +00:00
Hans Wennborg
57bb7d2d70 Bump the trunk version to 8.0.0svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338537 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-01 13:25:30 +00:00
Hans Wennborg
cfc7aea7ef build_llvm_package.bat: Re-try the build steps
The build on Windows has been extra flaky recently; retrying helps.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336192 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-03 11:30:01 +00:00
Tom Stellard
d789989d53 utils/release: Add merge-git.sh
Summary:
This script allows you to use git to backport a commit to a stable
branch while generating the exact same commit message (ignoring
whitespace) that you would get from using the merge.sh script with svn.

Reviewers: hansw

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D47760

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334568 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-13 05:14:10 +00:00
Hans Wennborg
dc9a7c0c43 build_llvm_package.bat: Drop LLDB from the package.
I don't think anyone ever got this to work, what with getting exactly
the right Python dependency and so on. Removing it simplifies the
script, removes a number of hairy dependencies, and cuts ~30 MB off the
installer size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327835 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-19 13:05:37 +00:00
Tom Stellard
8019c4f088 merge-request.sh: Update 6.0 metabug for 6.0.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327024 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-08 16:29:08 +00:00
Hans Wennborg
bfb9843817 Update build_llvm_package.bat
I moved to a new machine and had to adjust a few things:

- Use %USERNAME% instead of %USER% (not sure why %USER% didn't work anymore)
- Update paths for using Python 3.6 instead of 3.5
- Skip building OpenMP which seems broken on Windows
- Work around new vsdevcmd.bat changing paths:
  https://developercommunity.visualstudio.com/content/problem/26780/vsdevcmdbat-changes-the-current-working-directory.html
- Build stage-0 compiler with MinSizeRel to work around VS 2017 bug:
  https://developercommunity.visualstudio.com/content/problem/139043/miscompile-in-trivial-c-program-with-155-preview-2.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323427 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-25 14:43:10 +00:00
Dimitry Andric
d05a0b8641 Follow-up to rL322875 by initializing the do_libcxxabi variable properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322879 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-18 19:30:30 +00:00
Dimitry Andric
24f3a274df Add a -no-libcxxabi option to the test-release.sh script.
On FreeBSD, it is currently not possible to build libcxxabi and link
against it, so we have been building releases with -no-libs for quite
some time.

However, libcxx and libunwind should build without problems, so provide
an option to skip just libcxxabi.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322875 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-18 18:39:13 +00:00
Matt Arsenault
bb50152a4a Fix missing release metabug in merge-request.sh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321753 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-03 18:51:22 +00:00
Hans Wennborg
e28b7aabcf The trunk version is now 7.0.0svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321712 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-03 14:52:54 +00:00
Tom Stellard
4d63668031 merge-request.sh: Update to use new "Fixed by Commit(s)" field
Summary:
This will be used instead of the url field to track which commits need
to be merged.

This patch also drops support for version 1.x of the bugzilla CLI tool.

Reviewers: hansw, hans

Reviewed By: hans

Subscribers: hans, llvm-commits

Differential Revision: https://reviews.llvm.org/D37786

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313334 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-15 02:25:22 +00:00
Tom Stellard
1dbfdcc5b5 test-release.sh: Move test-suite setup to beginning of the script
Summary:
We want to catch failures early before do the full 3 stage build.

The goal here is to avoid running through the whole build process and have
it fail at the end (and not create the binary packages), just because
some prerequisites failed to install.

Reviewers: rovka, hans

Reviewed By: hans

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36422

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310939 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-15 18:11:56 +00:00
Tom Stellard
df6678d054 test-release.sh: Fix phase2 and phase3 binary comparision
Summary:
scudo_utils.cpp.o from compiler-rt has one of the host compiler's builtin
include paths stored in the .debug_line section.  So we need to do
sed 's,Phase1,Phase2,g` on the Phase2 object file so it matches Phase3.

Reviewers: hans

Reviewed By: hans

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34989

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308912 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-24 19:28:30 +00:00
Hans Wennborg
89fb1f68e3 Update trunk version to 6.0.0svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308442 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-19 12:19:01 +00:00
Pengxuan Zheng
a4bbfa963d [test-release.sh] Enable Polly by default
Reviewers: grosser, hans, zinob, bollu

Reviewed By: grosser, hans

Subscribers: tstellar, llvm-commits

Differential Revision: https://reviews.llvm.org/D34306

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305763 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-20 01:04:25 +00:00