~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/54/54bdd647118a057a8727dd5c1d8b54fa9d0e3f34.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
arch_binaries  := $(arch_binaries) spu spu-cxx spu-fortran
 
2
 
 
3
p_spugcc  = gcc$(pkg_ver)-spu
 
4
p_spucxx  = g++$(pkg_ver)-spu
 
5
p_spuf95  = gfortran$(pkg_ver)-spu
 
6
 
 
7
d_spugcc  = debian/$(p_spugcc)
 
8
d_spucxx  = debian/$(p_spucxx)
 
9
d_spuf95  = debian/$(p_spuf95)
 
10
 
 
11
dirs_spugcc = \
 
12
        $(PF)/bin \
 
13
        $(gcc_spu_lexec_dir) \
 
14
        $(gcc_spu_lib_dir) \
 
15
 
 
16
files_spugcc = \
 
17
        $(PF)/bin/spu-{cpp,gcc}$(pkg_ver) \
 
18
        $(PF)/bin/spu-{gcc-ar,gcc-ranlib,gcc-nm}$(pkg_ver) \
 
19
        $(gcc_spu_lexec_dir)/{cc1,collect2,lto1,lto-wrapper} \
 
20
        $(gcc_spu_lexec_dir)/liblto_plugin.so{,.0,.0.0.0} \
 
21
        $(gcc_spu_lib_dir)/{include,include-fixed} \
 
22
        $(gcc_spu_lib_dir)/{libgcc.a,libgcov.a,crtbegin.o,crtend.o} \
 
23
 
 
24
ifeq ($(with_spucache),yes)
 
25
    files_spugcc += \
 
26
        $(gcc_spu_lib_dir)/libgcc_cache*.a
 
27
  ifeq ($(with_spumea64),yes)
 
28
    files_spugcc += \
 
29
        $(gcc_spu_lib_dir)/mea64/libgcc_cache*.a
 
30
  endif
 
31
endif
 
32
ifeq ($(with_spumea64),yes)
 
33
    files_spugcc += \
 
34
        $(gcc_spu_lib_dir)/mea64/{libgcc.a,libgcov.a,crtbegin.o,crtend.o}
 
35
endif
 
36
 
 
37
ifneq ($(GFDL_INVARIANT_FREE),yes)
 
38
    files_spugcc += \
 
39
        $(PF)/share/man/man1/spu-{cpp,gcc}$(pkg_ver).1
 
40
endif
 
41
 
 
42
dirs_spucxx = \
 
43
        $(PF)/bin \
 
44
        $(gcc_spu_lexec_dir) \
 
45
        $(gcc_spu_lib_dir) \
 
46
 
 
47
files_spucxx = \
 
48
        $(PF)/bin/spu-g++$(pkg_ver) \
 
49
        $(gcc_spu_lexec_dir)/cc1plus \
 
50
        $(PF)/spu/include/c++ \
 
51
        $(gcc_spu_lib_dir)/lib{sup,std}c++.a
 
52
 
 
53
ifeq ($(with_spumea64),yes)
 
54
    files_spucxx += \
 
55
        $(gcc_spu_lib_dir)/mea64/lib{sup,std}c++.a
 
56
endif
 
57
 
 
58
ifneq ($(GFDL_INVARIANT_FREE),yes)
 
59
    files_spucxx += \
 
60
        $(PF)/share/man/man1/spu-g++$(pkg_ver).1
 
61
endif
 
62
 
 
63
dirs_spuf95 = \
 
64
        $(PF)/bin \
 
65
        $(gcc_spu_lexec_dir) \
 
66
        $(gcc_spu_lib_dir) \
 
67
 
 
68
files_spuf95 = \
 
69
        $(PF)/bin/spu-gfortran$(pkg_ver) \
 
70
        $(gcc_spu_lexec_dir)/f951 \
 
71
        $(gcc_spu_lib_dir)/finclude \
 
72
        $(gcc_spu_lib_dir)/libcaf_single.a \
 
73
        $(gcc_spu_lib_dir)/libgfortran.spec \
 
74
        $(gcc_spu_lib_dir)/libgfortran{,begin}.a
 
75
 
 
76
ifeq ($(with_spumea64),yes)
 
77
    files_spuf95 += \
 
78
        $(gcc_spu_lib_dir)/mea64/libcaf_single.a \
 
79
        $(gcc_spu_lib_dir)/mea64/libgfortranbegin.a \
 
80
        $(gcc_spu_lib_dir)/mea64/libgfortran{,begin}.a
 
81
endif
 
82
 
 
83
ifneq ($(GFDL_INVARIANT_FREE),yes)
 
84
    files_spuf95 += \
 
85
        $(PF)/share/man/man1/spu-gfortran$(pkg_ver).1
 
86
endif
 
87
 
 
88
# ----------------------------------------------------------------------
 
89
$(binary_stamp)-spu: $(install_spu_stamp)
 
90
        dh_testdir
 
91
        dh_testroot
 
92
 
 
93
        mv $(install_spu_stamp) $(install_spu_stamp)-tmp
 
94
 
 
95
        dh_installdirs -p$(p_spugcc) $(dirs_spugcc)
 
96
        DH_COMPAT=2 dh_movefiles --sourcedir=$(d_spu) -p$(p_spugcc) $(files_spugcc)
 
97
 
 
98
        debian/dh_doclink -p$(p_spugcc) $(p_xbase)
 
99
        debian/dh_rmemptydirs -p$(p_spugcc)
 
100
 
 
101
        -dh_strip -p$(p_spugcc) -X.o -Xlibgcc.a -Xlibgcov.a
 
102
        dh_compress -p$(p_spugcc)
 
103
        dh_fixperms -p$(p_spugcc)
 
104
        dh_shlibdeps -p$(p_spugcc)
 
105
        dh_gencontrol -p$(p_spugcc) -- -v$(DEB_VERSION) $(common_substvars)
 
106
        dh_installdeb -p$(p_spugcc)
 
107
        dh_md5sums -p$(p_spugcc)
 
108
        dh_builddeb -p$(p_spugcc)
 
109
 
 
110
        trap '' 1 2 3 15; touch $@; mv $(install_spu_stamp)-tmp $(install_spu_stamp)
 
111
 
 
112
$(binary_stamp)-spu-cxx: $(install_spu_stamp)
 
113
        dh_testdir
 
114
        dh_testroot
 
115
 
 
116
        mv $(install_spu_stamp) $(install_spu_stamp)-tmp
 
117
 
 
118
        dh_installdirs -p$(p_spucxx) $(dirs_spucxx)
 
119
        DH_COMPAT=2 dh_movefiles --sourcedir=$(d_spu) -p$(p_spucxx) $(files_spucxx)
 
120
 
 
121
        ln -sf $(BASE_VERSION) $(d_spucxx)/usr/spu/include/c++/$(GCC_VERSION)
 
122
 
 
123
        debian/dh_doclink -p$(p_spucxx) $(p_xbase)
 
124
        debian/dh_rmemptydirs -p$(p_spucxx)
 
125
 
 
126
        -dh_strip -p$(p_spucxx)
 
127
        dh_compress -p$(p_spucxx)
 
128
        dh_fixperms -p$(p_spucxx)
 
129
        dh_shlibdeps -p$(p_spucxx)
 
130
        dh_gencontrol -p$(p_spucxx) -- -v$(DEB_VERSION) $(common_substvars)
 
131
        dh_installdeb -p$(p_spucxx)
 
132
        dh_md5sums -p$(p_spucxx)
 
133
        dh_builddeb -p$(p_spucxx)
 
134
 
 
135
        trap '' 1 2 3 15; touch $@; mv $(install_spu_stamp)-tmp $(install_spu_stamp)
 
136
 
 
137
$(binary_stamp)-spu-fortran: $(install_spu_stamp)
 
138
        dh_testdir
 
139
        dh_testroot
 
140
 
 
141
        mv $(install_spu_stamp) $(install_spu_stamp)-tmp
 
142
 
 
143
        dh_installdirs -p$(p_spuf95) $(dirs_spuf95)
 
144
        mv $(d_spu)/$(PF)/spu/lib/libgfortran.spec $(d_spu)/$(gcc_spu_lib_dir)/
 
145
 
 
146
        DH_COMPAT=2 dh_movefiles --sourcedir=$(d_spu) -p$(p_spuf95) $(files_spuf95)
 
147
 
 
148
        debian/dh_doclink -p$(p_spuf95) $(p_xbase)
 
149
        debian/dh_rmemptydirs -p$(p_spuf95)
 
150
 
 
151
        -dh_strip -p$(p_spuf95)
 
152
        dh_compress -p$(p_spuf95)
 
153
        dh_fixperms -p$(p_spuf95)
 
154
        dh_shlibdeps -p$(p_spuf95)
 
155
        dh_gencontrol -p$(p_spuf95) -- -v$(DEB_VERSION) $(common_substvars)
 
156
        dh_installdeb -p$(p_spuf95)
 
157
        dh_md5sums -p$(p_spuf95)
 
158
        dh_builddeb -p$(p_spuf95)
 
159
 
 
160
        @echo "Listing installed files not included in any package:"
 
161
        -find $(d_spu) ! -type d
 
162
 
 
163
        trap '' 1 2 3 15; touch $@; mv $(install_spu_stamp)-tmp $(install_spu_stamp)
 
164
        touch $@