search for: lit_config

Displaying 14 results from an estimated 14 matches for "lit_config".

Did you mean: get_config
2017 Sep 11
5
Different ways of running lit
What are all the different ways people run lit? I'm doing some refactoring and want to make sure I have all the based covered. Obviously you can use check-llvm. And you can also run llvm-lit.py in your bin directory and point it to your source tree. What else? Both of the aforementioned methods require running cmake first, is there any use case where someone runs lit without having run
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...H']) + +tool_dirs = [config.llvm_tools_dir] + +tools = [ + ToolSubst('%test_debuginfo', command=os.path.join( + config.debuginfo_tests_src_root, 'test_debuginfo.pl')), +] + +llvm_config.add_tool_substitutions(tools, tool_dirs) + +lit.util.usePlatformSdkOnDarwin(config, lit_config) diff --git a/lit.site.cfg.py.in b/lit.site.cfg.py.in new file mode 100644 index 0000000..8c4481a --- /dev/null +++ b/lit.site.cfg.py.in @@ -0,0 +1,25 @@ + at LIT_SITE_CFG_IN_HEADER@ + +import lit.util + +config.test_exec_root = "@CMAKE_BINARY_DIR@" + +config.llvm_src_root = "@LLVM_S...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...ebuginfo', command=os.path.join( >> + config.debuginfo_tests_src_root, 'test_debuginfo.pl <http://test_debuginfo.pl/>')), >> +] >> + >> +llvm_config.add_tool_substitutions(tools, tool_dirs) >> + >> +lit.util.usePlatformSdkOnDarwin(config, lit_config) >> diff --git a/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> >> new file mode 100644 >> index 0000000..8c4481a >> --- /dev/null >> +++ b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> >> @@...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...ToolSubst('%test_debuginfo', command=os.path.join( > + config.debuginfo_tests_src_root, 'test_debuginfo.pl <http://test_debuginfo.pl/>')), > +] > + > +llvm_config.add_tool_substitutions(tools, tool_dirs) > + > +lit.util.usePlatformSdkOnDarwin(config, lit_config) > diff --git a/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> > new file mode 100644 > index 0000000..8c4481a > --- /dev/null > +++ b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> > @@ -0,0 +1,25 @@ > + at...
2017 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
...rner <zturner at google.com> >>>>> wrote: >>>>> >>>>> Yea I also just found it. Try adding this code in the bottom of >>>>> debuginfo-tests/lit.cfg.py >>>>> >>>>> lit.util.usePlatformSdkOnDarwin(config, lit_config) >>>>> >>>>> >>>>> On Mon, Nov 13, 2017 at 4:38 PM Adrian Prantl <aprantl at apple.com> >>>>> wrote: >>>>> >>>>>> Ha! Found it. *Somebody* is setting an SDKROOT variable in the >>>>>&gt...
2015 Oct 01
4
lld and thread over-subscription
...********* TEST 'lld-Unit :: CoreTests/CoreTests/Range.user1' FAILED ******************** Exception during script execution: Traceback (most recent call last): File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test result = test.config.test_format.execute(test, self.lit_config) File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in execute cmd, env=test.config.environment) File "/src/llvm/utils/lit/lit/util.py", line 166, in executeCommand env=env, close_fds=kUseCloseFDs) File "/install/ppc64/Python-2.7/lib/python2.7/sub...
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
Yea I also just found it. Try adding this code in the bottom of debuginfo-tests/lit.cfg.py lit.util.usePlatformSdkOnDarwin(config, lit_config) On Mon, Nov 13, 2017 at 4:38 PM Adrian Prantl <aprantl at apple.com> wrote: > Ha! Found it. *Somebody* is setting an SDKROOT variable in the > environment. Can you find the code that would do this? > > — adrian > > > On Nov 13, 2017, at 4:30 PM, Adrian Prantl via llvm...
2015 Oct 01
2
lld and thread over-subscription
...;lld-Unit :: > CoreTests/CoreTests/Range.user1' FAILED ******************** > Exception during script execution: > Traceback (most recent call last): > File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test > result = test.config.test_format.execute(test, self.lit_config) > File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in > execute > cmd, env=test.config.environment) > File "/src/llvm/utils/lit/lit/util.py", line 166, in executeCommand > env=env, close_fds=kUseCloseFDs) > File "/install/ppc64/Python-2.7/l...
2020 Jun 25
2
[libcxx-dev] How to include abi and unwind tests in libcxx test suite in standalone mode
I just landed these patches: commit c55051eea5d3cd57abfd9727f519b670517704d9 Author: Louis Dionne <ldionne at apple.com> Date: Thu Jun 25 12:02:43 2020 -0400 [libunwind] Allow specifying custom Lit config files This is the libunwind counterpart of 0c66af970c80. commit 33c9c10d183371edc95fa936705bef56f55ab611 Author: Louis Dionne <ldionne at
2015 Oct 03
2
lld and thread over-subscription
...eTests/Range.user1' >> FAILED ******************** >> Exception during script execution: >> Traceback (most recent call last): >> File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test >> result = test.config.test_format.execute(test, self.lit_config) >> File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in >> execute >> cmd, env=test.config.environment) >> File "/src/llvm/utils/lit/lit/util.py", line 166, in executeCommand >> env=env, close_fds=kUseCloseFDs) >>...
2017 Nov 14
3
PSA: debuginfo-tests workflow changing slightly
...that that fixes the issue! > > — adrian > > > On Nov 13, 2017, at 4:38 PM, Zachary Turner <zturner at google.com> wrote: > > Yea I also just found it. Try adding this code in the bottom of > debuginfo-tests/lit.cfg.py > > lit.util.usePlatformSdkOnDarwin(config, lit_config) > > > On Mon, Nov 13, 2017 at 4:38 PM Adrian Prantl <aprantl at apple.com> wrote: > >> Ha! Found it. *Somebody* is setting an SDKROOT variable in the >> environment. Can you find the code that would do this? >> >> — adrian >> >> > On Nov 13,...
2017 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
...>> >>> On Nov 13, 2017, at 4:38 PM, Zachary Turner <zturner at google.com> wrote: >>> >>> Yea I also just found it. Try adding this code in the bottom of >>> debuginfo-tests/lit.cfg.py >>> >>> lit.util.usePlatformSdkOnDarwin(config, lit_config) >>> >>> >>> On Mon, Nov 13, 2017 at 4:38 PM Adrian Prantl <aprantl at apple.com> wrote: >>> >>>> Ha! Found it. *Somebody* is setting an SDKROOT variable in the >>>> environment. Can you find the code that would do this? >>>...
2015 Oct 01
2
lld and thread over-subscription
Hi Rui, et al., I was experimenting yesterday with building lld on my POWER7 PPC64/Linux machine, and ran into an unfortunate problem. When running the regressions tests under lit, almost all of the tests fail like this: terminate called after throwing an instance of 'std::system_error' what(): Resource temporarily unavailable ... 5 libc.so.6 0x00000080b7847238 abort +
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
Yes I can reproduce this locally. It looks like we are not passing an -isysroot (pointing to the SDK) to clang but it isn’t clear what lit magic would expand this. -- adrian > On Nov 13, 2017, at 3:30 PM, Zachary Turner <zturner at google.com> wrote: > > Yea I'm preparing a revert right now. Does it happen for you when you run debuginfo-tests locally? > > On Mon, Nov