mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[RFC][debuginfo-test] Rename debug-info lit tests for general purposes
Discussion thread: https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html Move debuginfo-test into a subdirectory of a new top-level directory, called cross-project-tests. The new name replaces "debuginfo-test" as an LLVM project enabled via LLVM_ENABLE_PROJECTS. Differential Revision: https://reviews.llvm.org/D95339 Reviewed by: aprantl
This commit is contained in:
parent
b00f0df573
commit
7ca17cf43a
@ -64,7 +64,7 @@ endif()
|
||||
# LLVM_EXTERNAL_${project}_SOURCE_DIR using LLVM_ALL_PROJECTS
|
||||
# This allows an easy way of setting up a build directory for llvm and another
|
||||
# one for llvm+clang+... using the same sources.
|
||||
set(LLVM_ALL_PROJECTS "clang;clang-tools-extra;compiler-rt;debuginfo-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl")
|
||||
set(LLVM_ALL_PROJECTS "clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl")
|
||||
# The flang project is not yet part of "all" projects (see C++ requirements)
|
||||
set(LLVM_EXTRA_PROJECTS "flang")
|
||||
# List of all known projects in the mono repo
|
||||
|
@ -434,7 +434,7 @@ LLVM-specific variables
|
||||
This feature allows to have one build for only LLVM and another for clang+llvm
|
||||
using the same source checkout.
|
||||
The full list is:
|
||||
``clang;clang-tools-extra;compiler-rt;debuginfo-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;openmp;parallel-libs;polly;pstl``
|
||||
``clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;openmp;parallel-libs;polly;pstl``
|
||||
|
||||
**LLVM_ENABLE_RTTI**:BOOL
|
||||
Build LLVM with run-time type information. Defaults to OFF.
|
||||
|
@ -64,7 +64,7 @@ This is an example workflow and configuration to get and build the LLVM source:
|
||||
* ``-DLLVM_ENABLE_PROJECTS='...'`` --- semicolon-separated list of the LLVM
|
||||
subprojects you'd like to additionally build. Can include any of: clang,
|
||||
clang-tools-extra, libcxx, libcxxabi, libunwind, lldb, compiler-rt, lld,
|
||||
polly, or debuginfo-tests.
|
||||
polly, or cross-project-tests.
|
||||
|
||||
For example, to build LLVM, Clang, libcxx, and libcxxabi, use
|
||||
``-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi"``.
|
||||
|
@ -107,7 +107,7 @@ The test are written in C based languages or in LLVM assembly language.
|
||||
These tests are compiled and run under a debugger. The debugger output
|
||||
is checked to validate of debugging information. See README.txt in the
|
||||
test suite for more information. This test suite is located in the
|
||||
``debuginfo-tests`` Subversion module.
|
||||
``cross-project-tests/debuginfo-tests`` directory.
|
||||
|
||||
Quick start
|
||||
===========
|
||||
|
@ -12,7 +12,7 @@ foreach(entry ${entries})
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/test-suite) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests))
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/cross-project-tests))
|
||||
get_filename_component(entry_name "${entry}" NAME)
|
||||
add_llvm_external_project(${entry_name})
|
||||
endif()
|
||||
@ -45,5 +45,5 @@ add_llvm_external_project(parallel-libs)
|
||||
add_llvm_external_project(openmp)
|
||||
|
||||
if(LLVM_INCLUDE_TESTS)
|
||||
add_llvm_external_project(debuginfo-tests)
|
||||
add_llvm_external_project(cross-project-tests)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user