Skip to content

Fix Cmake distribution detection#901

Merged
azonenberg merged 5 commits intongscopeclient:masterfrom
mastensg:master
Sep 23, 2025
Merged

Fix Cmake distribution detection#901
azonenberg merged 5 commits intongscopeclient:masterfrom
mastensg:master

Conversation

@mastensg
Copy link
Copy Markdown
Contributor

@mastensg mastensg commented Sep 23, 2025

Install lsb-release. See #896.

It seems that Github Action's Ubuntu comes with lsb-release already installed, but containers used for other distributions don't. This installs lsb-release on Arch, Debian and Fedora.

Cmake's execute_process does not run command lines in a shell, so redirections like 2>&1 will not work.

@mastensg mastensg changed the title .github/workflows/build-debian: install lsb-release for cmake Fix Cmake distribution detection Sep 23, 2025
@azonenberg
Copy link
Copy Markdown
Collaborator

Can you send a companion PR to scopehal-docs to update the list of dependencies in the build instructions?

@mastensg
Copy link
Copy Markdown
Contributor Author

Sent: ngscopeclient/scopehal-docs#107

@azonenberg azonenberg merged commit f871b0e into ngscopeclient:master Sep 23, 2025
22 of 23 checks passed
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