On Saturday, 26 January 2019 at 02:20, Luya Tshimbalanga wrote:
On 2019-01-25 9:02 a.m., Jonathan Wakely wrote:
>
>> Upstream reason. Trying to build with gcc will fail. See the attacked
>> CMakeLists.txt from ispc-1.10.0
>
> That says it wants to build with clang, but doesn't say why building
> with GCC will fail. Is it due to a GCC bug? Is it something we can
> fix?
My bad as I quickly wrote before leaving to work. Here is the updated
spec file and the result scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=32250196
Well, obviously existing CMakeLists file enforces the use of clang.
The developers seem to have a strong preference for clang. The issue
tracker has a couple of closed issues around this topic:
https://github.com/ispc/ispc/issues/1355
https://github.com/ispc/ispc/issues/1352
I would try patching out the clang requirement from CMakeLists
and building with system gcc.
Regards,
Dominik
--
Fedora
https://getfedora.org | RPM Fusion
http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan