Repository navigation
C の tcs の build が、実行 file ができなかったときにその場で止まるようにする - #676
Merged
Merged
Conversation
C compiler が成功を返したのに実行 file が無いとき、build-native.sh は通り、後の script が「実行 file が無い」で落ちていた。 build-native.sh が実行 file の有無を見て、無ければ compiler の場所と version と出力先の一覧を出して止まる。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEQcu1nJxjeAsG7A2n4QN3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
問題
CI の
kit (windows-arm64)のBuild tcsが、時々次の形で落ちる。C compiler の誤りは出ていない。
通るときは 50 秒から 75 秒かかる step が、落ちるときは 19 秒で終わっていて、C の compile が走っていない。
src/tcs/build-native.shは compiler が成功を返せば通るので、実行 file が無いことは後の script で初めて分かり、原因の手がかりが残らない。変更
build-native.shが、compile の後に実行 file があるかを見る。無ければ、compiler の場所、version、出力先の一覧を標準エラーに出して止まる。
原因はまだ分かっていない。
この変更は、次に起きたときに手がかりを残すためのものである。
検査
src/tcs/build-native.shが通り、実行 file ができる。🤖 Generated with Claude Code
https://claude.ai/code/session_01FEQcu1nJxjeAsG7A2n4QN3