Re: Need assistance to build LuxCoreRender

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

 



On 2018-11-03 10:49 a.m., Robert-André Mauchin wrote:
>
> As explained in my previous mail this is solved by passing  -DPYTHON_V=3 to 
> cmake. Actually %{python3_pkgversion} would be better:
>
>  - Use BuildRequires:  boost-devel instead of static and add the PYTHON_V=%
> {python3_pkgversion} variable as a cmake parameter. It will now detect Boost 
> correctly
>
> %cmake \
>     -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
>     -DCMAKE_CXX_FLAGS="$CXXFLAGS -DLUXRAYS_DISABLE_OPENCL=0" \
>     -DPYTHON_V=%{python3_pkgversion}

Thanks. The suggestion worked. Another question is how to apply a patch
on this example

Source0:   
https://github.com/%{name}/LuxCore/archive/luxcorerender_v%{version}.tar.gz
Source1:   
https://github.com/%{name}/BlendLuxCore/archive/blendluxcore_v%{version}.tar.gz
Patch0:        %{name}-cmake-python.patch

%prep

%autosetup -Np1 -n LuxCore-%{name}_v%{version}
%autosetup -T -D -a 1 -n LuxCore-%{name}_v%{version}

The build keeps on rejecting the patch in this case. Is there a better
alternative?


Luya


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
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