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

Re: RFS: viennacl-1.2.0



On 02/25/2012 12:37 PM, Michael Wild wrote:
> On 02/25/2012 12:22 PM, Michael Wild wrote:
>> On 02/25/2012 12:03 PM, Sylvestre Ledru wrote:
>>> Le samedi 25 février 2012 à 11:59 +0100, Michael Wild a écrit :
>>>> On 02/24/2012 08:28 AM, Sylvestre Ledru wrote:
>>>>> Hello,
>>>>>
>>>>> Le vendredi 24 février 2012 à 07:46 +0100, Michael Wild a écrit :
>>>>>> Dear Debian Science Developers,
>>>>>>
>>>>>> I already tried mentioning that I am looking for an upload sponsor on
>>>>>> the list (http://lists.debian.org/debian-science/2012/02/msg00023.html),
>>>>>> but so far haven't had any replies. Also, my original sponsor hasn't
>>>>>> replied to my message. This is why I try my luck again with a more
>>>>>> formal RFS.
>>>>>
>>>>> It fails on my system with a cowbuilder chroot:
>>> [...]
>>>
>>>>>
>>>>>
>>>>
>>>> Hi Sylvestre
>>>>
>>>> The problem with running the tests in a chroot is that they need access
>>>> to a NVIDIA graphics card and the proprietary drivers able to handle
>>>> these tests.
>>> You cannot expect build servers to have such capabilities.
>>> In the debian package build process, please add a check if the chroot
>>> has the driver + nvidia and disable the test if it is not the case.
>>>
>>> Thanks
>>> Sylvestre
>>>
>>
>> If I build in the chroot I use DEB_BUILD_OPTIONS=nocheck.
>>
>> Do you have any idea how I would detect this reliably? I'll also ask
>> this the upstream developers, perhaps they have an idea.
>>
>> In particular, once other OpenCL implementations get packaged (e.g. the
>> one from Intel), it might be possible to run the tests on the CPU
>> instead of the GPU, so in that case I would want to run the tests again
>> during the build.
>>
>> Michael
> 
> I think I found a way of detecting compute capability. I will try to
> implement it over the weekend and report back with an updated package.
> 
> Thanks for the review
> 
> 
> Michael


Hi all
Hi Sylvestre

I just uploaded a fixed version to mentors:
http://mentors.debian.net/package/viennacl.

debian/rules now overrides dh_auto_test and first checks whether actual
OpenCL compute capability is available, otherwise it prints a fat
warning and skips the tests.

You can get the package using "dget
http://mentors.debian.net/debian/pool/contrib/v/viennacl/viennacl_1.2.0-1.dsc";

Cheers

Michael


Reply to: