Re: RFS: viennacl-1.2.0
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
Reply to: