1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/utils
Nico Weber f4821b445c Make paths in generated llvm-lit relative as well.
This builds on top of D77184. With this, I can rename my build directory
to a different name and `bin/llvm-lit ../llvm-project/clang/test
../llvm-project/llvm/test` still succeeds.

I haven't tried copying the build dir to a different machine to run
tests there yet, but I tried something like it a few months ago and it
worked back then.

Changes:
- Make configure_lit_site_cfg() store the main / generated config pair
  interleaved in the LLVM_LIT_CONFIG_FILES list and postpone converting
  it to python code to llvm-lit's CMakeList.
- Pull the relpath code into a new function make_paths_relative() and
  call that in llvm-lit's CMakeList, prior to converting the list to
  python code.
- Pull the path() function into a variable and use that in llvm-lit's
  CMakeList too.

Differential Revision: https://reviews.llvm.org/D77496
2020-04-06 09:18:23 -04:00
..
benchmark Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
bugpoint [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
count
crosstool
docker Continue removing llgo. 2020-02-10 10:33:58 -08:00
emacs [TableGen] Update editor modes for new keywords. 2020-01-14 13:39:00 +00:00
FileCheck Improve error message of FileCheck when stdin is empty 2020-02-04 11:14:55 +00:00
fpcmp
gdb-scripts Change to individual pretty printer classes, remove generic make_printer. 2020-03-11 15:04:03 +01:00
git-svn Continue removing llgo. 2020-02-10 10:33:58 -08:00
gn [gn build] Port 1d42c0db9a2 2020-04-04 00:07:07 +00:00
jedit
kate [TableGen] Update editor modes for new keywords. 2020-01-14 13:39:00 +00:00
KillTheDoctor Revert "Use InitLLVM to setup a pretty stack printer" 2019-11-25 21:06:56 -05:00
lint
lit [ORC] Add MachO universal binary support to StaticLibraryDefinitionGenerator. 2020-04-05 20:21:05 -07:00
llvm-build
llvm-lit Make paths in generated llvm-lit relative as well. 2020-04-06 09:18:23 -04:00
llvm-locstats [llvm-locstats] Fix labels on x-axis of comparison chart 2020-04-01 10:04:01 -07:00
LLVMVisualizers
Misc
not
PerfectShuffle revert parts of d7888149aa813f that several bots do not like 2020-03-25 14:05:07 -04:00
release build_llvm_package.bat: Produce zip files in addition to the installers 2020-02-25 12:14:07 +01:00
Reviewing [find_interesting_reviews.py] Add git blame output cache 2019-12-23 12:08:16 +00:00
sanitizers
TableGen [Alignment][NFC] Transitionning more getMachineMemOperand call sites 2020-03-31 08:36:18 +00:00
Target/ARM
testgen
textmate
unittest Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
UpdateTestChecks [NFC][update_llc_test_checks] Remove the redundant SCRUB_LOOP_COMMENT_RE in asm.py 2020-04-02 09:46:45 +00:00
valgrind
vim [lit] Add builtin support for flaky tests in lit 2020-03-18 18:04:01 -04:00
vscode [lit] Add builtin support for flaky tests in lit 2020-03-18 18:04:01 -04:00
yaml-bench
abtest.py
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check-each-file
chunk-print-before-all.py [NFC] Fix minor python issues. 2020-02-28 14:17:43 -08:00
clang-parse-diagnostics-file utils: Tweak clang-parse-diagnostics-file for modules includes 2020-04-02 14:16:26 -07:00
codegen-diff
collect_and_build_with_pgo.py
countloc.sh
create_ladder_graph.py [Utils] Make some scripts directly executable 2020-02-28 13:39:54 +00:00
demangle_tree.py
DSAclean.py
DSAextract.py [Utils] Make some scripts directly executable 2020-02-28 13:39:54 +00:00
extract_symbols.py
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py Fix a null dereference in the LLDB data formatters. 2020-02-25 16:43:55 -08:00
llvm-compilers-check
llvm-gisel-cov.py [NFC] Fix minor python issues. 2020-02-28 14:17:43 -08:00
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
prepare-code-coverage-artifact.py
schedcover.py [Utils] Make some scripts directly executable 2020-02-28 13:39:54 +00:00
shuffle_fuzz.py
shuffle_select_fuzz_tester.py [Utils] Make some scripts directly executable 2020-02-28 13:39:54 +00:00
sort_includes.py
unicode-case-fold.py
update_analyze_test_checks.py [UpdateTestChecks] Use common ir function name matcher and extend to accept periods in names (PR37586) 2020-03-24 10:59:30 +00:00
update_cc_test_checks.py Fix line endings produced by update_cc_test_checks.py 2020-02-14 15:17:27 +00:00
update_llc_test_checks.py [Utils][x86] add an option to reduce scrubbing of shuffles with memops 2020-02-20 09:33:05 -05:00
update_mca_test_checks.py [UpdateTestChecks] Change shebang from python to python3 2019-12-03 13:50:07 -08:00
update_mir_test_checks.py [UpdateTestChecks] Change shebang from python to python3 2019-12-03 13:50:07 -08:00
update_test_checks.py [UpdateTestChecks] Use common ir function name matcher and extend to accept periods in names (PR37586) 2020-03-24 10:59:30 +00:00
UpdateCMakeLists.pl
wciia.py