Skip to content

Update GitHub workflow to (hopefully) work#4812

Merged
llvm-beanz merged 1 commit intomainfrom
cbieneman/silly-typo
Nov 28, 2022
Merged

Update GitHub workflow to (hopefully) work#4812
llvm-beanz merged 1 commit intomainfrom
cbieneman/silly-typo

Conversation

@llvm-beanz
Copy link
Copy Markdown
Collaborator

There were a few things missing in the initial attempt at this workflow. I left off the file extension for the CMake cache file, and also forgot to initialize the submodules.

Additionally using make is... slow. Using make -j causes the VM to run out of memory. To resolve those issues I'm installing ninja and using ninja instead. I'm also setting LLVM_USE_LINKER=lld to reduce linker memory usage and LLVM_PARALLEL_LINK_JOBS=1 to only run one link at a time.

I've also added --rerun-failed and --output-on-failure to the ctest invocation so that if it fails we get some hopefully helpful output.

There were a few things missing in the initial attempt at this workflow. I left off the file extension for the CMake cache file, and also forgot to initialize the submodules.

Additionally using make is... slow. Using make `-j` causes the VM to run out of memory. To resolve those issues I'm installing ninja and using ninja instead. I'm also setting `LLVM_USE_LINKER=lld` to reduce linker memory usage and `LLVM_PARALLEL_LINK_JOBS=1` to only run one link at a time.

I've also added `--rerun-failed` and `--output-on-failure` to the ctest invocation so that if it fails we get some hopefully helpful output.
@llvm-beanz llvm-beanz requested review from hekota and pow2clk November 22, 2022 21:31
@AppVeyorBot
Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

It all looks like goodness to me

@llvm-beanz llvm-beanz merged commit d0e0aa9 into main Nov 28, 2022
@llvm-beanz llvm-beanz deleted the cbieneman/silly-typo branch December 12, 2022 21:54
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.

3 participants