Re: [Bf-committers] Buildbot cuda-hack

2016-08-26 Thread Francesc Juhe
But the cuda-hack commit was for CUDA 7.5 initially, I just ask about it now 
because I am creating a new build environment with el capitan and wanted to 
know more of what this “hack” did to better understand the build process and be 
prepared if I had the same issue.

About the openmp, I have been using clang 3.5 from blender libs  to get openmp 
support without finding any issues but since the change from scons to cmake on 
osx buildbot is no longer using it (scons buildbot config pointed to that clang 
from blender libs but cmake doesn't) and so it is missing openmp support but as 
the release build has openmp I wanted to know if release builders were using 
this clang from blender libs or a different one. In my build I added an osx 
config file to point to clang 3.5 and I think it could be better if official 
buildbot had openmp back like before when it used scons so that buildbot builds 
are more similar to releases, otherwise there could be issues not present on 
buildbot but affecting release. Don’t know, just my opinion.

Also, there is another thing missing since scons was removed in favor of cmake, 
osx buildbot does not include the blenderplayer binary inside 
blenderplayer.app, I fix it in my build with this diff:

diff --git a/source/blenderplayer/CMakeLists.txt 
b/source/blenderplayer/CMakeLists.txt
index ca84195..0da6e70 100644 (file)
--- a/source/blenderplayer/CMakeLists.txt
+++ b/source/blenderplayer/CMakeLists.txt
@@ -76,6 +76,11 @@ elseif(APPLE)
MACOSX_BUNDLE_SHORT_VERSION_STRING ${BLENDER_VERSION}
MACOSX_BUNDLE_LONG_VERSION_STRING "${BLENDER_VERSION} 
${BLENDER_DATE}")
 
+   install(
+   TARGETS blenderplayer
+   DESTINATION "."
+   )
+
 else()
add_executable(blenderplayer bad_level_call_stubs/stubs.c)

Thanks,
Francesc

On 26 Aug 2016, at 19:08, Jens Verwiebe  wrote:

> I'd say cuda8 is pointless for you right now, cause pascal gpu is not 
> yet supported by the NV/OSX (Quadro-) drivers.
> 
> You would definitely loose openmp capability unless you compile and use 
> a vanilla clang 3.7 which supports it.
> 
> 
> Jens
> 
> 
> Am 26.08.2016 um 18:11 schrieb Francesc Juhe:
>> Hi,
>> 
>> Some time ago noticed this commit 
>> https://developer.blender.org/rB3a24e6320f31a790ea9d3c912a35db2186140b71 
>> changing the nvcc compiler on builbot but I did not give it much though as I 
>> was having no issues compiling with cuda 7.5 and clang 3.5 from libs folder 
>> on OSX 10.9. But now with CUDA 8 it seems I have to update to OSX 10.11 and 
>> Xcode 7.3.
>> 
>> So, how does this cuda-hack work?
>> Also, OSX buildbot builds seem to be compiled without OpenMP but release 
>> builds are compiled with it. What are the appropriate steps for building a 
>> release build?
>> 
>> Thank you,
>> Francesc
>> 
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> https://lists.blender.org/mailman/listinfo/bf-committers
>> 
> 
> -- 
> 
> Jens Verwiebe
> Allerskehre 44 - 22309 Hamburg
> 
> Tel.: +49 40 68 78 50
> mobile: +49 172 400 49 07
> mailto: i...@jensverwiebe.de
> web: http://www.jensverwiebe.de
> 
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Buildbot cuda-hack

2016-08-26 Thread Jens Verwiebe
I'd say cuda8 is pointless for you right now, cause pascal gpu is not 
yet supported by the NV/OSX (Quadro-) drivers.

You would definitely loose openmp capability unless you compile and use 
a vanilla clang 3.7 which supports it.


Jens


Am 26.08.2016 um 18:11 schrieb Francesc Juhe:
> Hi,
>
> Some time ago noticed this commit 
> https://developer.blender.org/rB3a24e6320f31a790ea9d3c912a35db2186140b71 
> changing the nvcc compiler on builbot but I did not give it much though as I 
> was having no issues compiling with cuda 7.5 and clang 3.5 from libs folder 
> on OSX 10.9. But now with CUDA 8 it seems I have to update to OSX 10.11 and 
> Xcode 7.3.
>
> So, how does this cuda-hack work?
> Also, OSX buildbot builds seem to be compiled without OpenMP but release 
> builds are compiled with it. What are the appropriate steps for building a 
> release build?
>
> Thank you,
> Francesc
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>

-- 

Jens Verwiebe
Allerskehre 44 - 22309 Hamburg

Tel.: +49 40 68 78 50
mobile: +49 172 400 49 07
mailto: i...@jensverwiebe.de
web: http://www.jensverwiebe.de

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Blender 2.78 tetsbuild2 AHOY

2016-08-26 Thread Sybren A . Stüvel
I'll keep that in mind, thanks!

On Fri, Aug 26, 2016 at 06:21:26PM +0200, Sergey Sharybin wrote:
> Sybren, several things:
> 
> - Check with the current builds, not reference some release in the past. We
> do update libraries every so often, so referencing state of the art from
> lots of months ago is not totally a time saver.
> - If you need specific version of the library, please do an explicit mail
> to the list, so maintainers can pic it up and properly update [1].
> - From a quick glance OSX and windows are using 2.10.0, Linux uses 2.8.1.
> Surely i'll make sure Linux is the same as other platforms, but in any case
> it's not nearly as close to 2.5 as you mention.
> 
> [1]
> https://wiki.blender.org/index.php/Dev:Doc/Building_Blender#Library_Versions
> 
> On Fri, Aug 26, 2016 at 6:10 PM, Sybren A. Stüvel  wrote:
> 
> > On Tue, Aug 23, 2016 at 05:10:31PM +0200, Sergey Sharybin wrote:
> > > Notes (they didn't change since last AHOY actually):
> > > - Make sure OpenSubdiv is version 3.0.5
> > > - Make sure you compile sm_60 and sm_61 CUDA kernels
> > > - Make sure pre-sm_60 kernels are compiled with CUDA toolkit 7.5, and
> > sm_6x
> > >   kernels are compiled with toolkit 8.
> >
> > More notes: make sure that you build with a recent version of the Python
> > library Requests. That will make the Blender ID add-on very happy. On some
> > platforms 2.77a was build with a too old version (2.5 I believe, whereas
> > 2.9.x
> > should be new enough, 2.10.x certainly is new enough, and 2.11.x is
> > current).
> >
> > Thanks!
> > --
> > Sybren A. Stüvel
> >
> > https://cloud.blender.org/
> >
> > ___
> > Bf-committers mailing list
> > Bf-committers@blender.org
> > https://lists.blender.org/mailman/listinfo/bf-committers
> >
> >
> 
> 
> -- 
> With best regards, Sergey Sharybin
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

-- 
Sybren A. Stüvel

https://cloud.blender.org/
https://stuvelfoto.nl/
https://stuvel.eu/


signature.asc
Description: Digital signature
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Blender 2.78 tetsbuild2 AHOY

2016-08-26 Thread Sergey Sharybin
Sybren, several things:

- Check with the current builds, not reference some release in the past. We
do update libraries every so often, so referencing state of the art from
lots of months ago is not totally a time saver.
- If you need specific version of the library, please do an explicit mail
to the list, so maintainers can pic it up and properly update [1].
- From a quick glance OSX and windows are using 2.10.0, Linux uses 2.8.1.
Surely i'll make sure Linux is the same as other platforms, but in any case
it's not nearly as close to 2.5 as you mention.

[1]
https://wiki.blender.org/index.php/Dev:Doc/Building_Blender#Library_Versions

On Fri, Aug 26, 2016 at 6:10 PM, Sybren A. Stüvel  wrote:

> On Tue, Aug 23, 2016 at 05:10:31PM +0200, Sergey Sharybin wrote:
> > Notes (they didn't change since last AHOY actually):
> > - Make sure OpenSubdiv is version 3.0.5
> > - Make sure you compile sm_60 and sm_61 CUDA kernels
> > - Make sure pre-sm_60 kernels are compiled with CUDA toolkit 7.5, and
> sm_6x
> >   kernels are compiled with toolkit 8.
>
> More notes: make sure that you build with a recent version of the Python
> library Requests. That will make the Blender ID add-on very happy. On some
> platforms 2.77a was build with a too old version (2.5 I believe, whereas
> 2.9.x
> should be new enough, 2.10.x certainly is new enough, and 2.11.x is
> current).
>
> Thanks!
> --
> Sybren A. Stüvel
>
> https://cloud.blender.org/
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
>


-- 
With best regards, Sergey Sharybin
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] Buildbot cuda-hack

2016-08-26 Thread Francesc Juhe
Hi,

Some time ago noticed this commit 
https://developer.blender.org/rB3a24e6320f31a790ea9d3c912a35db2186140b71 
changing the nvcc compiler on builbot but I did not give it much though as I 
was having no issues compiling with cuda 7.5 and clang 3.5 from libs folder on 
OSX 10.9. But now with CUDA 8 it seems I have to update to OSX 10.11 and Xcode 
7.3.

So, how does this cuda-hack work?
Also, OSX buildbot builds seem to be compiled without OpenMP but release builds 
are compiled with it. What are the appropriate steps for building a release 
build?

Thank you,
Francesc

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Blender 2.78 tetsbuild2 AHOY

2016-08-26 Thread Sybren A . Stüvel
On Tue, Aug 23, 2016 at 05:10:31PM +0200, Sergey Sharybin wrote:
> Notes (they didn't change since last AHOY actually):
> - Make sure OpenSubdiv is version 3.0.5
> - Make sure you compile sm_60 and sm_61 CUDA kernels
> - Make sure pre-sm_60 kernels are compiled with CUDA toolkit 7.5, and sm_6x
>   kernels are compiled with toolkit 8.

More notes: make sure that you build with a recent version of the Python
library Requests. That will make the Blender ID add-on very happy. On some
platforms 2.77a was build with a too old version (2.5 I believe, whereas 2.9.x
should be new enough, 2.10.x certainly is new enough, and 2.11.x is current).

Thanks!
-- 
Sybren A. Stüvel

https://cloud.blender.org/


signature.asc
Description: Digital signature
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Error in compilation for "updateDepgraph"

2016-08-26 Thread Sergey Sharybin
For now seems it is, but we'll try to solve this ASAP.

On Fri, Aug 26, 2016 at 5:33 PM, Jefferson Rausseo <
jeffersonraus...@gmail.com> wrote:

> Is obligatory to compile with "WITH_LEGACY_DEPSGRAPH = ON"?
>
> 2016-08-25 11:49 GMT-04:00 Jefferson Rausseo :
>
> > Yes, I am building with "WITH_LEGACY_DEPSGRAPH = OFF"
> >
> > 2016-08-25 11:25 GMT-04:00 Sergey Sharybin :
> >
> >> Hi,
> >>
> >> Are you building with WITH_LEGACY_DEPSGRAPH set to OFF?
> >>
> >> On Thu, Aug 25, 2016 at 5:20 PM, Jefferson Rausseo <
> >> jeffersonraus...@gmail.com> wrote:
> >>
> >> > My system:
> >> > - Manjaro 64bits
> >> > - Nvidia 8600 GT
> >> >
> >> > Blender commit: 50a44edca4838d6589f1072a2af4bff3dad02873
> >> >
> >> > Error in console:
> >> > http://pasteall.org/76072/bash
> >> > ___
> >> > Bf-committers mailing list
> >> > Bf-committers@blender.org
> >> > https://lists.blender.org/mailman/listinfo/bf-committers
> >> >
> >>
> >>
> >>
> >> --
> >> With best regards, Sergey Sharybin
> >> ___
> >> Bf-committers mailing list
> >> Bf-committers@blender.org
> >> https://lists.blender.org/mailman/listinfo/bf-committers
> >>
> >
> >
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
With best regards, Sergey Sharybin
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Error in compilation for "updateDepgraph"

2016-08-26 Thread Jefferson Rausseo
Is obligatory to compile with "WITH_LEGACY_DEPSGRAPH = ON"?

2016-08-25 11:49 GMT-04:00 Jefferson Rausseo :

> Yes, I am building with "WITH_LEGACY_DEPSGRAPH = OFF"
>
> 2016-08-25 11:25 GMT-04:00 Sergey Sharybin :
>
>> Hi,
>>
>> Are you building with WITH_LEGACY_DEPSGRAPH set to OFF?
>>
>> On Thu, Aug 25, 2016 at 5:20 PM, Jefferson Rausseo <
>> jeffersonraus...@gmail.com> wrote:
>>
>> > My system:
>> > - Manjaro 64bits
>> > - Nvidia 8600 GT
>> >
>> > Blender commit: 50a44edca4838d6589f1072a2af4bff3dad02873
>> >
>> > Error in console:
>> > http://pasteall.org/76072/bash
>> > ___
>> > Bf-committers mailing list
>> > Bf-committers@blender.org
>> > https://lists.blender.org/mailman/listinfo/bf-committers
>> >
>>
>>
>>
>> --
>> With best regards, Sergey Sharybin
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> https://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers