You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/cmake/Platform/Linux
Chris Burel 4392c8963c
[Linux] Prefer higher versioned clang compilers to lower versions (#6824)
If the user does not specify which compiler to use via cache variables in
the CMake invocation, we perform a search for which version to use.
Previously this was done using a glob search on some pre-defined paths, and
then sorting the results using `list(SORT ... COMPARE NATURAL)`. Sorting in
this manner results in lower versions being moved to the head of the list.
The first result in the list was then used. Consequently, if the user has
`clang-11` and `clang-12` installed, `clang-11` was chosen.

This reverses the sort order so that the highest installed version is
chosen.

Signed-off-by: Chris Burel <burelc@amazon.com>
4 years ago
..
Packaging Removes all files from linux install (#6019) 4 years ago
CompilerSettings_linux.cmake [Linux] Prefer higher versioned clang compilers to lower versions (#6824) 4 years ago
Configurations_linux.cmake Ninja compile and link pool CMake settings (#2334) 4 years ago
Install_linux.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
LYTestWrappers_linux.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LYWrappers_linux.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PALDetection_linux.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PAL_linux.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
PackagingCodeSign_linux.cmake Add platform specific codesign script and modifications for Linux and Windows installer packaging (#5893) 4 years ago
PackagingPostBuild_linux.cmake Notices automation install (#6228) 4 years ago
PackagingPreBuild_linux.cmake Add platform specific codesign script and modifications for Linux and Windows installer packaging (#5893) 4 years ago
Packaging_linux.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
RPathChange.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
RuntimeDependencies_linux.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
platform_linux_files.cmake Add platform specific codesign script and modifications for Linux and Windows installer packaging (#5893) 4 years ago
runtime_dependencies_linux.cmake.in Some fixes for paths with spaces (#6757) 4 years ago