Re: Need assistance to build openshadinglanguage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday, 11 July 2020 18:46:18 CEST Luya Tshimbalanga wrote:
> Hello team,
> 
> I attempt to build openshadinglanguage. For some reasons, cmake keeps on 
> claiming c++14 is required for LLVM10 despite the inclusion of 
> parameter. Can someone investigate it?
> 
> Build result:
> 
> https://download.copr.fedorainfracloud.org/results/luya/openshadinglanguage/
> fedora-rawhide-x86_64/01547329-openshadinglanguage/
 
> Thanks
> 
> -- 
> Luya Tshimbalanga
> Fedora Design Team
> Fedora Design Suite maintainer
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List
> Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List
> Archives:
> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

Hey,

I think the issue is that you run %make_build in the wrong directory: you 
starting cmake to do an out of source build with -B build, but you run 
%make_build in the top source directory. Since the project provide a Makefile 
wrapper around CMake in the top directory, it is trying to reconfigure the 
project with this default Makefile.

Correct way should be passing -C build to both %make_build and %make_install:

%cmake \
   -B build \
   -DUSE_BOOST_WAVE=ON \
   -DUSE_PARTIO=OFF \
   -DCMAKE_CXX_STANDARD=14 \
   -DLLVM_STATIC=0 \
   -DENABLERTTI=ON \
   -DSTOP_ON_WARNING=OFF \
   ..
%make_build -C build

%install
%make_install -C build




_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux