Format and simplify intergration test (#245)
This commit is contained in:
@@ -28,7 +28,7 @@ A more extreme case is non-self-contained header files, for example:
|
||||
|
||||
```cpp
|
||||
// a.h
|
||||
struct Y {
|
||||
struct Y {
|
||||
X x;
|
||||
};
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ This section introduces the prerequisites for compiling clice.
|
||||
- clang >= 19
|
||||
- c++23 compatible standard library
|
||||
- MSVC STL >= 19.44(VS 2022 17.4)
|
||||
- GCC libstdc++ >= 14
|
||||
- GCC libstdc++ >= 14
|
||||
- Clang libc++ >= 20
|
||||
|
||||
|
||||
clice uses C++23 as the language standard. Please ensure you have an available clang 19 or above compiler, as well as a standard library compatible with C++23.
|
||||
|
||||
> clice can currently only be compiled with clang. In the future, we will improve this to allow compilation with gcc and msvc.
|
||||
@@ -31,7 +31,7 @@ Due to the complexity of C++ syntax, writing a new parser from scratch is unreal
|
||||
If you can find the llvm commit corresponding to your system's llvm package, copy the following three files from that commit:
|
||||
|
||||
- `clang/lib/Sema/CoroutineStmtBuilder.h`
|
||||
- `clang/lib/Sema/TypeLocBuilder.h`
|
||||
- `clang/lib/Sema/TypeLocBuilder.h`
|
||||
- `clang/lib/Sema/TreeTransform.h`
|
||||
|
||||
Copy them to `LLVM_INSTALL_PATH/include/clang/Sema/`.
|
||||
@@ -59,7 +59,7 @@ $ 7z x x64-windows-msvc-release.7z "-o.llvm"
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> For debug versions of llvm libs, we enabled address sanitizer during build, and address sanitizer depends on compiler rt, which is very sensitive to compiler versions. So if using debug versions, please ensure your clang's compiler rt version is **strictly consistent** with what we used during build.
|
||||
>
|
||||
>
|
||||
> - Windows currently has no debug build of llvm libs because it doesn't support building clang as a dynamic library. Related progress can be found [here](https://discourse.llvm.org/t/llvm-is-buildable-as-a-windows-dll/87748)
|
||||
> - Linux uses clang20
|
||||
> - MacOS uses homebrew llvm@20, definitely don't use apple clang
|
||||
|
||||
@@ -32,4 +32,4 @@ features:
|
||||
- icon: I
|
||||
title: Better Performance
|
||||
details: Excellent asynchronous task scheduling, support for compilation task cancellation, caching necessary information, avoiding meaningless CPU waste
|
||||
---
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user