Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #736984

Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP]

From Ghislain Vaillant <ghisvail@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP]
Date 2016-05-07 11:10 +0200
Message-ID <rw6pj-7ak-5@gated-at.bofh.it> (permalink)
References <ruD61-3HL-1@gated-at.bofh.it> <ruDz3-4jj-3@gated-at.bofh.it> <rvZnR-ss-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/05/16 02:35, lumin wrote:
> Hi,
>
> I've split the caffe-cpu package and the caffe-cuda package,
> and I'd like to first handle the cpu version, leaving the CUDA
> version pending at debian/science/caffe-contrib.
> The updated cpu version has been uploaded to mentors:
>
> https://mentors.debian.net/package/caffe
>
> This update involves fix on multiarch, removal of caffe-cuda,
> and removal of libproto.a .
>
> However I found that hardening-no-fortify-functions is still
> unsolved, and the upstream CMakeFiles.txt seems not to be
> the trouble maker, as it contains this line
> ```
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall")
> ```
> and I really see the -D_FORTIFY_SOURCE=2 option added in the
> verbose gcc command line.
>
> On Tue, 2016-05-03 at 08:03 +0000, Gianfranco Costamagna wrote:
>> Hi,
>>
>>> set(CFLAGS ...) which should be replaced by set(CFLAGS $(CFLAGS) ...)
>>>
>>> An upstream classic unfortunately.
>>
>>
>> as upstream I did this once, and the side effect was something weird.
>>
>> when you run multiple times cmake .. the cflags gets appended multiple times, so you might
>> end up in a really weird CMakeCache.txt and with really long build lines.
>>
>> I'm not sure which way is the best one, but cmake should provide something different from CFLAGS.
>>
>> e.g.
>> CMAKE_C_FLAGS
>> CMAKE_C_FLAGS_RELEASE
>> CMAKE_C_FLAGS_DEBUG
>> CMAKE_EXE_LINKER_FLAGS
>> CMAKE_MODULE_LINKER_FLAGS
>>
>> and so on.
>> that way they will be appended to current CFLAGS without having to override them manually.
>>
>> (thanks again for your nice reviews!)
>>
>> g.

s/DEB_CPPFLAGS_MAINT_APPEND/DEB_CXXFLAGS_MAINT_APPEND in your d/rules.

Ghis

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-01 13:50 +0200
  Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Ghislain Vaillant <ghisvail@gmail.com> - 2016-05-02 15:20 +0200
    Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Gianfranco Costamagna <costamagnagianfranco@yahoo.it> - 2016-05-02 15:30 +0200
    Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-03 04:20 +0200
      Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Ghislain Vaillant <ghisvail@gmail.com> - 2016-05-03 09:40 +0200
        Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Gianfranco Costamagna <locutusofborg@debian.org> - 2016-05-03 10:10 +0200
          Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-07 03:40 +0200
            Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Ghislain Vaillant <ghisvail@gmail.com> - 2016-05-07 11:10 +0200
              Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-12 11:30 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Gianfranco Costamagna <locutusofborg@debian.org> - 2016-05-16 17:00 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Ghislain Vaillant <ghisvail@gmail.com> - 2016-05-17 16:00 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-17 16:50 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Ghislain Vaillant <ghisvail@gmail.com> - 2016-05-17 18:00 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-18 14:50 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] James Clarke <jrtc27@jrtc27.com> - 2016-05-18 15:20 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] James Clarke <jrtc27@jrtc27.com> - 2016-05-18 15:30 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-18 16:20 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Gianfranco Costamagna <locutusofborg@debian.org> - 2016-05-18 23:20 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-19 07:30 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Gianfranco Costamagna <costamagnagianfranco@yahoo.it> - 2016-05-19 08:40 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-19 12:10 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-19 08:00 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] Jakub Wilk <jwilk@debian.org> - 2016-05-18 16:20 +0200
                Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-18 15:10 +0200
    Bug#823140: RFS: caffe/1.0.0~rc3-1 -- a deep learning framework [ITP] lumin <cdluminate@gmail.com> - 2016-05-03 07:10 +0200

csiph-web