summaryrefslogtreecommitdiff
path: root/libcxx/appveyor.yml
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2022-07-18 16:34:34 +0200
committerHans Wennborg <hans@chromium.org>2022-07-18 16:57:15 +0200
commit09cebfb978def7fa2a4460bca89690f8d3608216 (patch)
tree85ec471adef7c4582b611ed397126093ef8b0c02 /libcxx/appveyor.yml
parent24ec521cd7bb51447f4ab03460d91c57378d49f7 (diff)
downloadllvm-09cebfb978def7fa2a4460bca89690f8d3608216.tar.gz
Revert "[libc++] Always build c++experimental.a"
This caused build failures when building Clang and libc++ together on Mac: fatal error: 'experimental/memory_resource' file not found See the code review for details. Reverting until the problem and how to solve it is better understood. (Updates to some test files were not reverted, since they seemed unrelated and were later updated by 340b48b267b96.) > This is the first part of a plan to ship experimental features > by default while guarding them behind a compiler flag to avoid > users accidentally depending on them. Subsequent patches will > also encompass incomplete features (such as <format> and <ranges>) > in that categorization. Basically, the idea is that we always > build and ship the c++experimental library, however users can't > use what's in it unless they pass the `-funstable` flag to Clang. > > Note that this patch intentionally does not start guarding > existing <experimental/FOO> content behind the flag, because > that would merely break users that might be relying on such > content being in the headers unconditionally. Instead, we > should start guarding new TSes behind the flag, and get rid > of the existing TSes we have by shipping their Standard > counterpart. > > Also, this patch must jump through a few hoops like defining > _LIBCPP_ENABLE_EXPERIMENTAL because we still support compilers > that do not implement -funstable yet. > > Differential Revision: https://reviews.llvm.org/D128927 This reverts commit bb939931a1adb9a47a2de13c359d6a72aeb277c8.
Diffstat (limited to 'libcxx/appveyor.yml')
-rw-r--r--libcxx/appveyor.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/appveyor.yml b/libcxx/appveyor.yml
index ea2c88e5fda7..ae7c7ad7cf67 100644
--- a/libcxx/appveyor.yml
+++ b/libcxx/appveyor.yml
@@ -45,7 +45,7 @@ build_script:
#############################################################################
- cmake -G "%GENERATOR%" %CMAKE_OPTIONS%
"-DCMAKE_BUILD_TYPE=%configuration%"
- "-DLLVM_PATH=C:\projects\deps\llvm"
+ "-DLLVM_PATH=C:\projects\deps\llvm" -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
-DLLVM_LIT_ARGS="-sv --show-xfail --show-unsupported"
%APPVEYOR_BUILD_FOLDER%