> We don't have any officially supported (or unsupported) compilers other than 
> the C99 requirement. gcc and clang are of course by far the most used ones, 
> so if those are covered by just testing for the availability, the platforms 
> that matter most are covered and everybody else (including ancient gcc/clang) 
> maybe gets a slightly degraded experience but that's life.

Ok. Is it ok to perform this check in the preprocessor (e.g. `#if 
defined(__has_builtin) && __has_builtin(__builtin_cpu_supports)`) or does it 
have to be done in CMakeLists? If the latter, it'll be a bit annoying without 
`check_source_compiles` which is only in 3.19+.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2508#issuecomment-1560891244
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2508/c1560891...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to