Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add mention of available Ubuntu and Arch Linux packages + add BUILD_TESTING to the list of CMake options #221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simoneee9
Copy link

Hi, today I was updating the AUR package and I noticed that tests were always being built and there is no option to disable them. I have never used CTest so when I looked at the root CMakeLists.txt file, i thought there was a mistake and I wanted to add something like a SAIL_BUILD_TESTS option. Thankfully I checked closed PRs and saw a pull request that tried to do the same thing.

I know that the option is probably not listed in the CMake options overview in BUILDING.md, because it's a built-in CMake option and not specific to this project, however I still think it's worth mentioning.

I also listed available Ubuntu and AUR packages of this project. I also checked Debian, Fedora and NixOS repositories, but could not find any related packages there.

@HappySeaFox
Copy link
Owner

Thanks for the PR! Please see comments inline


- Ubuntu 24.04 - `sudo apt-get install sail-codecs libsail-dev libsail-common-dev libsail-manip-dev libsail-c++-dev`
- Arch User Repository - [`sail-img`](https://aur.archlinux.org/packages/sail-img)

Copy link
Owner

Choose a reason for hiding this comment

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

Debian packages are also available: https://packages.debian.org/search?keywords=libsail

@@ -27,6 +27,8 @@ vcpkg install sail
- `SAIL_ONLY_CODECS="a;b;c"` - Forcefully enable only the codecs specified in this ';'-separated list and disable the rest. If an enabled codec fails to find its dependencies, the configuration process fails. One can also specify not just individual codecs but codec groups by their priority like that: highest-priority;xbm. Default: empty list
- `SAIL_OPENMP_SCHEDULE="dynamic"` - OpenMP scheduling algorithm. Default: dynamic

- `BUILD_TESTING=ON|OFF` - Enable generation of tests using CTest. Default: `ON`
Copy link
Owner

Choose a reason for hiding this comment

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

Keep the list of the options sorted, i.e. move the BUILD_TESTING option to keep the list sorted

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants