mgorny (Michał Górny)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 15 2016, 6:00 AM (69 w, 2 d)

Recent Activity

Mon, Dec 11

mgorny added inline comments to D37326: Fix the OCaml external linking problem.
Mon, Dec 11, 12:09 PM

Thu, Nov 30

mgorny committed rL319461: [cmake] Include project name in Sphinx doctree dir to fix race conditions.
[cmake] Include project name in Sphinx doctree dir to fix race conditions
Thu, Nov 30, 11:09 AM
mgorny closed D40656: [cmake] Include project name in Sphinx doctree dir to fix race conditions by committing rL319461: [cmake] Include project name in Sphinx doctree dir to fix race conditions.
Thu, Nov 30, 11:09 AM
mgorny created D40656: [cmake] Include project name in Sphinx doctree dir to fix race conditions.
Thu, Nov 30, 9:27 AM

Mon, Nov 27

mgorny committed rL319105: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
[cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading
Mon, Nov 27, 2:23 PM
mgorny closed D40459: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading by committing rL319105: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
Mon, Nov 27, 2:23 PM
mgorny reopened D40459: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
Mon, Nov 27, 1:51 PM
mgorny updated the diff for D40459: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.

Updated to fix unittest failure.

Mon, Nov 27, 1:50 PM
mgorny committed rL319076: Revert r319069 - [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
Revert r319069 - [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading
Mon, Nov 27, 11:19 AM
mgorny committed rL319069: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
[cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading
Mon, Nov 27, 10:35 AM
mgorny closed D40459: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading by committing rL319069: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
Mon, Nov 27, 10:35 AM

Sat, Nov 25

mgorny created D40459: [cmake] Pass -Wl,-z,nodelete on Linux to prevent unloading.
Sat, Nov 25, 3:23 PM

Sat, Nov 18

mgorny added a comment to D40217: [LIT] Fix testing out-of-tree Clang builds.

Or even more abstract (if we assume we don't have to check for presence of llvm_tools_dir):

Sat, Nov 18, 2:50 PM
mgorny added a comment to D40217: [LIT] Fix testing out-of-tree Clang builds.

To be honest, as I said before, I'm entirely confused by the logic there, with all the prepending, appending and shuffling around. But if you believe it gives the correct result, I'm all for it.

Sat, Nov 18, 2:49 PM

Fri, Nov 17

mgorny committed rL318562: [cmake] Use llvm-lit directory when provided for stand-alone build.
[cmake] Use llvm-lit directory when provided for stand-alone build
Fri, Nov 17, 2:21 PM
mgorny closed D40142: [cmake] Use llvm-lit directory when provided for stand-alone build by committing rL318562: [cmake] Use llvm-lit directory when provided for stand-alone build.
Fri, Nov 17, 2:21 PM
mgorny added a reviewer for D40142: [cmake] Use llvm-lit directory when provided for stand-alone build: zturner.
Fri, Nov 17, 1:58 PM
mgorny committed rL318532: [CMake] Allow for Solaris ld -V output on stdout.
[CMake] Allow for Solaris ld -V output on stdout
Fri, Nov 17, 9:12 AM
mgorny closed D39601: [CMake] Allow for Solaris ld -V output on stdout by committing rL318532: [CMake] Allow for Solaris ld -V output on stdout.
Fri, Nov 17, 9:12 AM
mgorny accepted D39601: [CMake] Allow for Solaris ld -V output on stdout.

I don't see how this could break anything, and it's a pretty straightforward change.

Fri, Nov 17, 12:17 AM

Thu, Nov 16

mgorny created D40142: [cmake] Use llvm-lit directory when provided for stand-alone build.
Thu, Nov 16, 11:13 AM
mgorny added a comment to D39842: Allow to store precompiled preambles in memory..

Please revert this commit. You've just broken all the stand-alone builds of clang.

Thu, Nov 16, 9:12 AM

Wed, Nov 15

mgorny added a comment to D39939: [cmake] Allow appending a free-form suffix to SOVERSION.

I'm worried that having a different first component of VERSION and SOVERSION could confuse some tools like ldconfig. I'm going to see if we can solve it via different install prefixes with RPATHs first.

Wed, Nov 15, 2:08 PM

Tue, Nov 14

mgorny added a comment to D39939: [cmake] Allow appending a free-form suffix to SOVERSION.

Hmm, that's an interesting option too. I was thinking of using LLVM_VERSION_SUFFIX originally but it obviously did not go to SOVERSION. Can this have any unforeseen consequences? Should VERSION become *major+suffix-0-minor* then?

Tue, Nov 14, 11:15 PM
mgorny added a comment to D39939: [cmake] Allow appending a free-form suffix to SOVERSION.

We = Gentoo. What for is already described = to install libstdc++ and libc++ versions of LLVM simultaneously for rebuild period. How long = for the time being, or until we find a better working solution.

Tue, Nov 14, 12:00 AM

Nov 11 2017

mgorny committed rL317986: [python] [tests] Fix test_linkage for unique external linkage.
[python] [tests] Fix test_linkage for unique external linkage
Nov 11 2017, 12:01 PM
mgorny closed D39810: [python] [tests] Fix test_linkage for unique external linkage by committing rL317986: [python] [tests] Fix test_linkage for unique external linkage.
Nov 11 2017, 12:01 PM
mgorny created D39939: [cmake] Allow appending a free-form suffix to SOVERSION.
Nov 11 2017, 4:54 AM
mgorny updated the diff for D39810: [python] [tests] Fix test_linkage for unique external linkage.

Yay, I've found a way to get the desired linkage! ;-)

Nov 11 2017, 1:47 AM

Nov 10 2017

mgorny added a comment to D39161: [bindings] remove unique_external test failure.

I've rewritten the tests to use unittest, so this patch needs to be updated now. However, you may want to wait a while since @compnerd promised to look at it and he might have a way to get uniqueExternal() linkage.

Nov 10 2017, 8:55 AM
mgorny committed rL317897: [python] [tests] Rewrite to use standard unittest module.
[python] [tests] Rewrite to use standard unittest module
Nov 10 2017, 8:45 AM
mgorny closed D39763: [clang] [python] [tests] Rewrite to use standard unittest module by committing rL317897: [python] [tests] Rewrite to use standard unittest module.
Nov 10 2017, 8:45 AM
mgorny added a comment to D39763: [clang] [python] [tests] Rewrite to use standard unittest module.

Thanks. I'll update it to incorporate the lately committed test fixes, and push it later today.

Nov 10 2017, 8:11 AM

Nov 9 2017

mgorny added reviewers for D39161: [bindings] remove unique_external test failure: jbcoe, aaron.ballman.

Let's try some more reviewers.

Nov 9 2017, 12:30 PM
mgorny committed rL317828: [python] [tests] Update priority values in code completion test.
[python] [tests] Update priority values in code completion test
Nov 9 2017, 12:18 PM
mgorny closed D39838: [clang] [python] [tests] Update priority values in code completion test by committing rL317828: [python] [tests] Update priority values in code completion test.
Nov 9 2017, 12:18 PM
mgorny added a comment to D39838: [clang] [python] [tests] Update priority values in code completion test.

LGTM.

Can we run those tests as part of check-all cmake target or setup a buildbot that runs those? Seems surprising it went unnoticed for so long.

Nov 9 2017, 12:05 PM
mgorny created D39838: [clang] [python] [tests] Update priority values in code completion test.
Nov 9 2017, 5:29 AM

Nov 8 2017

mgorny added a comment to D39804: [clang] [python] [tests] Update TLSKind tests for newer MSVC versions.

I see that you haven't more luck than I did finding a better solution. How about the code completion failure? I suppose I still have to figure that one out on my own ;-).

Nov 8 2017, 11:15 AM
mgorny abandoned D39810: [python] [tests] Fix test_linkage for unique external linkage.

Duplicate of D39161.

Nov 8 2017, 11:13 AM
mgorny created D39810: [python] [tests] Fix test_linkage for unique external linkage.
Nov 8 2017, 10:49 AM
mgorny added a comment to D39804: [clang] [python] [tests] Update TLSKind tests for newer MSVC versions.

@frutiger, do you maybe happen to have fixes for the two other test failures? Maybe I'm tracking them down unnecessarily ;-).

Nov 8 2017, 10:25 AM
mgorny created D39804: [clang] [python] [tests] Update TLSKind tests for newer MSVC versions.
Nov 8 2017, 8:12 AM

Nov 7 2017

mgorny added a comment to D39763: [clang] [python] [tests] Rewrite to use standard unittest module.
======================================================================
FAIL: tests.cindex.test_code_completion.test_code_complete_availability
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/src/llvm/tools/clang/bindings/python/tests/cindex/test_code_completion.py", line 75, in test_code_complete_availability
    check_completion_results(cr, expected)
  File "/usr/src/llvm/tools/clang/bindings/python/tests/cindex/test_code_completion.py", line 10, in check_completion_results
    assert c in completions
AssertionError
Nov 7 2017, 3:07 PM
mgorny added a comment to D39763: [clang] [python] [tests] Rewrite to use standard unittest module.

The diffs aren't very useful since I had to add a class for each test unit and so everything needed reindenting. You can take my word that changes boil down to:

Nov 7 2017, 3:05 PM
mgorny updated the summary of D39763: [clang] [python] [tests] Rewrite to use standard unittest module.
Nov 7 2017, 3:00 PM
mgorny updated the summary of D39763: [clang] [python] [tests] Rewrite to use standard unittest module.
Nov 7 2017, 2:59 PM
mgorny created D39763: [clang] [python] [tests] Rewrite to use standard unittest module.
Nov 7 2017, 2:59 PM

Nov 2 2017

mgorny added inline comments to D39464: Define fs::allocate_file which preallocates disk blocks..
Nov 2 2017, 1:53 PM
mgorny added inline comments to D39464: Define fs::allocate_file which preallocates disk blocks..
Nov 2 2017, 1:37 PM
mgorny added inline comments to D39464: Define fs::allocate_file which preallocates disk blocks..
Nov 2 2017, 12:14 PM

Nov 1 2017

mgorny added inline comments to D39464: Define fs::allocate_file which preallocates disk blocks..
Nov 1 2017, 12:55 AM

Oct 31 2017

mgorny added inline comments to D39464: Define fs::allocate_file which preallocates disk blocks..
Oct 31 2017, 4:15 PM

Oct 25 2017

mgorny requested changes to D37326: Fix the OCaml external linking problem.
Oct 25 2017, 2:29 AM

Oct 17 2017

mgorny added inline comments to D37326: Fix the OCaml external linking problem.
Oct 17 2017, 8:06 AM

Oct 12 2017

mgorny committed rL315620: [cmake] [asan] Remove unnecessary gtest dep from dynamic tests.
[cmake] [asan] Remove unnecessary gtest dep from dynamic tests
Oct 12 2017, 2:07 PM
mgorny closed D38840: [compiler-rt] [cmake] [asan] Remove unnecessary gtest dep from dynamic tests by committing rL315620: [cmake] [asan] Remove unnecessary gtest dep from dynamic tests.
Oct 12 2017, 2:07 PM
mgorny updated the diff for D38840: [compiler-rt] [cmake] [asan] Remove unnecessary gtest dep from dynamic tests.

Ok, here's another idea. Since the objects have been compiled already (and they explicitly depend on gtest via their own deps), let's just remove the extraneous gtest dep.

Oct 12 2017, 12:31 PM
mgorny committed rL315605: [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS.
[cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS
Oct 12 2017, 11:52 AM
mgorny committed rL315604: [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile().
[cmake] Fix skipping DEPS (typo) in sanitizer_test_compile()
Oct 12 2017, 11:52 AM
mgorny closed D38839: [compiler-rt] [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS by committing rL315605: [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS.
Oct 12 2017, 11:51 AM
mgorny closed D38838: [compiler-rt] [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile() by committing rL315604: [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile().
Oct 12 2017, 11:51 AM
mgorny added a comment to D38444: [compiler-rt] [cmake] Create dummy gtest target for stand-alone builds.

D38838 addresses the typo. Now that I know how it's supposed to work, D38839 and D38840 address the issues, and fix it for me.

Oct 12 2017, 1:54 AM
mgorny created D38840: [compiler-rt] [cmake] [asan] Remove unnecessary gtest dep from dynamic tests.
Oct 12 2017, 1:50 AM
mgorny created D38839: [compiler-rt] [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS.
Oct 12 2017, 1:47 AM
mgorny created D38838: [compiler-rt] [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile().
Oct 12 2017, 1:46 AM
mgorny abandoned D38444: [compiler-rt] [cmake] Create dummy gtest target for stand-alone builds.

Ok, I think I've found a better solution. Will start submitting patches soonish.

Oct 12 2017, 1:44 AM
mgorny added a comment to D38444: [compiler-rt] [cmake] Create dummy gtest target for stand-alone builds.

@mgorny I've replied via email, but the message didn't seem to appear here.

From my (maybe limited) understanding, running tests on standalone compiler-rt builds was never something which was supported, as that required a fresh compiler.
I've just tried running them, and for me even check-* targets don't exist.

How do you create the standalone build? I've checked out compiler-rt separately, and ran

cmake -GNinja -DLLVM_CONFIG=/Users/george/code/llvm/release-build/bin/llvm-config  ../.
Oct 12 2017, 12:20 AM

Oct 2 2017

mgorny added a comment to D38471: Allow compiler-rt test targets to work with multi-config CMake generators.

Yes, I did apply it both to the installed CMake files and the external LLVM source tree used by compiler-rt. I can't see where else it could have gotten an old version from, and I don't grep any AddLLVM includes either.

Oct 2 2017, 2:13 PM
mgorny added a comment to D38471: Allow compiler-rt test targets to work with multi-config CMake generators.

Well, I think I did everything right, yet I still get:

Oct 2 2017, 1:19 PM
mgorny added a comment to D38444: [compiler-rt] [cmake] Create dummy gtest target for stand-alone builds.

breaking stand-alone builds as a result

That's a strong statement. Could you clarify? We have a lot of buildbots performing standalone builds, and they are still green.

Oct 2 2017, 12:57 PM
mgorny added a comment to D38471: Allow compiler-rt test targets to work with multi-config CMake generators.

Could you give me a few minutes to test it before merging, please?

Oct 2 2017, 12:55 PM

Oct 1 2017

mgorny committed rL314646: [cmake] Add a separate CMake var to control profile runtime.
[cmake] Add a separate CMake var to control profile runtime
Oct 1 2017, 10:05 PM
mgorny closed D38441: [compiler-rt] [cmake] Add a separate CMake var to control profile runtime by committing rL314646: [cmake] Add a separate CMake var to control profile runtime.
Oct 1 2017, 10:05 PM
mgorny created D38444: [compiler-rt] [cmake] Create dummy gtest target for stand-alone builds.
Oct 1 2017, 4:28 AM
mgorny added reviewers for D38441: [compiler-rt] [cmake] Add a separate CMake var to control profile runtime: chapuni, beanz.
Oct 1 2017, 1:45 AM
mgorny committed rL314620: [lit] Fix running lit tests in unconfigured source dir.
[lit] Fix running lit tests in unconfigured source dir
Oct 1 2017, 12:15 AM
mgorny closed D38442: [lit] Fix running lit tests in unconfigured source dir by committing rL314620: [lit] Fix running lit tests in unconfigured source dir.
Oct 1 2017, 12:15 AM

Sep 30 2017

mgorny created D38442: [lit] Fix running lit tests in unconfigured source dir.
Sep 30 2017, 2:17 PM
mgorny created D38441: [compiler-rt] [cmake] Add a separate CMake var to control profile runtime.
Sep 30 2017, 1:09 AM

Sep 8 2017

mgorny closed D37378: [clang] [python] Move test_exception_specification_kind to correct subdir.

It seems that somebody already moved the file in D37490.

Sep 8 2017, 3:17 AM
mgorny added a reviewer for D37378: [clang] [python] Move test_exception_specification_kind to correct subdir: chapuni.
Sep 8 2017, 2:03 AM
mgorny added a comment to D37378: [clang] [python] Move test_exception_specification_kind to correct subdir.

Ping.

Sep 8 2017, 2:03 AM

Sep 1 2017

mgorny created D37378: [clang] [python] Move test_exception_specification_kind to correct subdir.
Sep 1 2017, 6:47 AM
mgorny added a comment to D34091: Support for querying the exception specification type through libclang.

Nevermind. I found out what's wrong via looking at the older patch versions.

Sep 1 2017, 6:42 AM
mgorny added a comment to D34091: Support for querying the exception specification type through libclang.

@ajbennieston, ping.

Sep 1 2017, 6:36 AM

Aug 31 2017

mgorny added inline comments to D37326: Fix the OCaml external linking problem.
Aug 31 2017, 7:06 AM

Aug 30 2017

mgorny added reviewers for D34365: [FrontEnd] Allow overriding the default C/C++ -std via CMake vars: compnerd, rnk.
Aug 30 2017, 4:09 AM
mgorny added a comment to D34365: [FrontEnd] Allow overriding the default C/C++ -std via CMake vars.

Ping again.

Aug 30 2017, 4:09 AM

Aug 29 2017

mgorny added a comment to D37278: Restore clang_rt library name on i686-android..

Thanks a lot for taking care of this.

Aug 29 2017, 11:22 PM
mgorny added a comment to D26764: [compiler-rt] [cmake] Remove i686 target that is duplicate to i386.

I'm happy to help with whatever needs to be done to keep breakage to the minimum, provided that we determine some clear path forward that doesn't involve regressing to the half-broken state for non-Android Linux systems and it's doable in the free time I can spare. However, I should point out that it was a very bad idea to hardcode paths all over the projects in the first place.

Aug 29 2017, 12:09 PM

Aug 28 2017

mgorny committed rL311983: [cmake] Support running extra clang tool tests without static analyzer.
[cmake] Support running extra clang tool tests without static analyzer
Aug 28 2017, 10:59 PM
mgorny closed D37188: [clang-tools-extra] [cmake] Support running extra clang tool tests without static analyzer by committing rL311983: [cmake] Support running extra clang tool tests without static analyzer.
Aug 28 2017, 10:59 PM
mgorny added a comment to D37188: [clang-tools-extra] [cmake] Support running extra clang tool tests without static analyzer.

Thanks for the clarification.

Aug 28 2017, 10:57 PM
mgorny committed rL311925: [sanitizer] Update i686->i386 to match rename in compiler-rt.
[sanitizer] Update i686->i386 to match rename in compiler-rt
Aug 28 2017, 1:32 PM
mgorny committed rL311926: [sanitizer] Move Android arm comment earlier (requested by eugenis).
[sanitizer] Move Android arm comment earlier (requested by eugenis)
Aug 28 2017, 1:32 PM
mgorny closed D37226: [zorg] [sanitizer] Update i686->i386 to match rename in compiler-rt by committing rL311925: [sanitizer] Update i686->i386 to match rename in compiler-rt.
Aug 28 2017, 1:32 PM · Restricted Project
mgorny committed rL311924: Reland r311842 - [cmake] Remove i686 target that is duplicate to i386.
Reland r311842 - [cmake] Remove i686 target that is duplicate to i386
Aug 28 2017, 1:31 PM
mgorny closed D26764: [compiler-rt] [cmake] Remove i686 target that is duplicate to i386 by committing rL311924: Reland r311842 - [cmake] Remove i686 target that is duplicate to i386.
Aug 28 2017, 1:31 PM
mgorny committed rL311923: Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux).
Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)
Aug 28 2017, 1:31 PM