Skip to content
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

Merged
merged 2 commits into from Apr 6, 2023
Merged

Fix Clang CI #124

merged 2 commits into from Apr 6, 2023

Conversation

wx257osn2
Copy link
Contributor

@wx257osn2 wx257osn2 commented Apr 6, 2023

@wx257osn2 wx257osn2 marked this pull request as draft April 6, 2023 07:53
@wx257osn2 wx257osn2 marked this pull request as ready for review April 6, 2023 07:56
@wx257osn2
Copy link
Contributor Author

descriptionとドキュメントよく読んだら LLVM_ENABLE_RUNTIMES で指定するっぽいですね 直しました

@@ -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=""
Copy link
Owner

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 だった場合に両方を書き換えたほうが分かりやすいです。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応しました

@@ -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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

何でこういう分岐をしてるのかのコメントを残しておいて貰えると(この PR へのリンクでも良いです)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応しました

@melpon
Copy link
Owner

melpon commented Apr 6, 2023

良さそう。修正ありがとうございます。
今の Actions の実行が終わったらマージします。

@melpon melpon merged commit a4b4f84 into melpon:master Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants