Skip to content

Address cmake warnings#119

Merged
lsf37 merged 2 commits into
masterfrom
lsf37/warnings
May 31, 2026
Merged

Address cmake warnings#119
lsf37 merged 2 commits into
masterfrom
lsf37/warnings

Conversation

@lsf37
Copy link
Copy Markdown
Member

@lsf37 lsf37 commented May 29, 2026

Address cmake warnings so the tutorials aren't full of scary warnings on first contact:

  • bump minimum cmake version to 3.10

  • fix package name in FIND_PACKAGE_HANDLE_STANDARD_ARGS. The package being searched for is not cmake-tool, but sel4-tutorials (hence the warning).

This unfortunately contains some trailing whitespace stripping that should have been done ages ago, but that is included in my editor. If it's too annoying to review, I can try to remove it, but it should just be 2 or 3 lines.

There is still a warning "Ignoring extra path from command line" that I don't quite understand yet. Have left that untouched for now.

@lsf37 lsf37 requested review from Indanz and Ivan-Velickovic and removed request for Ivan-Velickovic May 29, 2026 01:05
@lsf37
Copy link
Copy Markdown
Member Author

lsf37 commented May 29, 2026

(I'll add a cmake style update commit after review, so the diff isn't completely messed up).

@Indanz
Copy link
Copy Markdown

Indanz commented May 29, 2026

Tutorial Solution (threads) fails.

@lsf37
Copy link
Copy Markdown
Member Author

lsf37 commented May 31, 2026

Tutorial Solution (threads) fails.

Unrelated, but it does, yes. I'll take a closer look later. It's a bit weird: it works fine for me when I generated the failing task in isolation, but fails when I run it with the test script.

lsf37 added 2 commits May 31, 2026 15:34
- bump minimum cmake version to 3.10

- fix package name in FIND_PACKAGE_HANDLE_STANDARD_ARGS. The package
  being searched for is not cmake-tool, but sel4-tutorials (hence the
  warning).

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Update all .cmake and CMakeLists.txt files in this repo to the new style
settings.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
@lsf37 lsf37 force-pushed the lsf37/warnings branch from 4af2393 to b095679 Compare May 31, 2026 05:36
@lsf37 lsf37 merged commit 4f7c5ca into master May 31, 2026
26 of 27 checks passed
@lsf37 lsf37 deleted the lsf37/warnings branch May 31, 2026 05:43
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.

2 participants