-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Clang CI #124
Fix Clang CI #124
Conversation
LLVM_ENABLE_RUNTIMES
5d46b2a
to
c1ad403
Compare
descriptionとドキュメントよく読んだら |
@@ -20,8 +20,16 @@ if compare_version "$VERSION" ">=" "14.0.0"; then | |||
pushd build | |||
export CC=clang | |||
export CXX=clang++ | |||
LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" | |||
LLVM_ENABLE_RUNTIMES="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これらの初期値は <16 としても >=16 としても間違ってる値だし、LLVM_ENABLE_RUNTIMES だけ -DLLVM_ENABLE_RUNTIMES=
が付いてるのも分かりにくいので、
LLVM_ENABLE_PROJECTS="-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;libcxx;libcxxabi"
LLVM_ENABLE_RUNTIMES=""
とした上で、>=16 だった場合に両方を書き換えたほうが分かりやすいです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応しました
ga-build/clang/run.sh
Outdated
@@ -20,8 +20,16 @@ if compare_version "$VERSION" ">=" "14.0.0"; then | |||
pushd build | |||
export CC=clang | |||
export CXX=clang++ | |||
LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
何でこういう分岐をしてるのかのコメントを残しておいて貰えると(この PR へのリンクでも良いです)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応しました
良さそう。修正ありがとうございます。 |
llvm-project
16.0.0以降はlibcxx
やlibcxxabi
をLLVM_ENABLE_PROJECTS
として指定できないようです… 🙇