1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
|
#!/bin/bash
#@! -*- buffer-read-only: t -*- vi: set ro:
#@#@#
#@#@# DO NOT EDIT THIS FILE (melt-build-script.sh)
#@#@#
#@#@# It has been AutoGen-ed
#@#@# From the definitions melt-build-script.def
#@#@# and the template file melt-build-script.tpl
# Generated shell script for MELT modules and MELT translator bootstrap
# Copyright (C) 2012-2016 Free Software Foundation
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#@ from melt-build-script.tpl line 20 generated by Autogen 5.18.4 using melt-build-script.def
## melt-build-script.tpl generates melt-build-script.sh which may
## create meltbuild-* files and directories. The invoking makefile
## may clean these meltbuild-* things.
## Ypu may want to set the GCCMELT_BUILD_NOTIFICATION environment variable
## to a shell script called with two arguments (a title, and a message)
## e.g. using notify-send or logger in such a script.
shopt -s nullglob
## set the overallgoal melt-build-script.tpl:36/1
melt_overall_goal=$1
if [ -z "$melt_overall_goal" ]; then
melt_overall_goal=gendoc
fi
## source the builtin settings melt-build-script.tpl:42/2 generated from the MELT runtime
. ./melt-build-settings.sh
## source the parameters melt-build-script.tpl:45/3
. ./melt-build-param.sh
export GAWK=${GAWK:=gawk}
export MD5SUM=${MD5SUM:=md5sum}
## internal variables for this script melt-build-script.tpl:51/4
## GCCMELT_STAGE is an internal variable; it keeps the current MELT stage
export GCCMELT_STAGE=""
## GCCMELT_BASE is an internal variable; it keeps the current MELT base
export GCCMELT_BASE=""
## GCCMELT_SKIPEMITC is an internal variable; it skips the emission of C++ code when non-empty
export GCCMELT_SKIPEMITC=""
date +"/*empty file for MELT build %c*/" > meltbuild-empty-file.c
[ -d meltbuild-workdir ] || mkdir meltbuild-workdir
[ -d meltbuild-tempdir ] || mkdir meltbuild-tempdir
## our error function melt-build-script.tpl:66/5
## we are using printenv and pstree to help debugging.
function meltbuild_error () {
echo MELT BUILD SCRIPT FAILURE: $@ >&2
printf '\n\n\n\n\n\n_________________________________________________\n\n' >&2
date +"MELT BUILD Failure at %c" > _meltbuild_error.log
echo MELT BUILD SCRIPT Failure: $@ >> _meltbuild_error.log
printenv >> _meltbuild_error.log
echo >> _meltbuild_error.log
pstree -a -l -p -s $USER >> _meltbuild_error.log
echo >> _meltbuild_error.log
ls -l _meltbuild_error.log >&2
sleep 1
exit 1
}
## symbolic linking
function meltbuild_symlink () {
ln -svf `realpath $1` $2
}
## our info function
function meltbuild_info () {
echo MELT BUILD SCRIPT INFO: $@ >&2
}
## our notice function - for more important things than info
function meltbuild_notice () {
meltnotititle=$1
shift
(echo; echo; echo MELT BUILD SCRIPT NOTICE "$meltnotititle:" $@ ; echo ) >&2
if [ -n "$GCCMELT_BUILD_NOTIFICATION" ]; then
$GCCMELT_BUILD_NOTIFICATION "$meltnotititle:" "$*"
fi
}
## utility to build MELT specific arguments in meltbuild_emit
function meltbuild_arg () {
local meltarg=$1
if [ -z "$GCCMELT_IS_PLUGIN" ]; then
echo " -fmelt-$meltarg"
else
echo " -fplugin-arg-melt-$meltarg"
fi
}
if [ ! -f "$GCCMELT_RUNTIME_DEPENDENCY" ]; then
meltbuild_error melt-build-script.tpl:114/6 missing MELT runtime dependency "$GCCMELT_RUNTIME_DEPENDENCY"
fi
if [ -z "$GCCMELT_CC1PLUS" ]; then
meltbuild_error melt-build-script.tpl:118/7 missing GCCMELT_CC1PLUS
fi
## dont symlink meltrunsup.h anymore!
GCCMELT_RUNTIME_DEPENDENCY_MD5SUM=$($MD5SUM "$GCCMELT_RUNTIME_DEPENDENCY" | cut -b 1-32)
case $melt_overall_goal in
translator) ;;
library) ;;
applications) ;;
modlists) ;;
checkruntime) ;;
gendoc) ;;
regenerate) ;;
*) meltbuild_error melt-build-script.tpl:133/8 bad MELT overall goal "$melt_overall_goal:" \
expecting translator, library, applications, modlists, checkruntime, gendoc or regenerate
esac
################################################################
################ stage zero
GCCMELT_ZERO_FLAVOR=${GCCMELT_STAGE_ZERO#meltbuild-stage0-}
## The base name of the MELT translator files melt-build-script.tpl:142/9
GCCMELT_TRANSLATOR_BASE=( warmelt-first \
warmelt-base \
warmelt-debug \
warmelt-macro \
warmelt-moremacro \
warmelt-normal \
warmelt-normatch \
warmelt-genobj \
warmelt-outobj \
warmelt-hooks \
warmelt-modes )
case $GCCMELT_ZERO_FLAVOR in
optimized) ;;
dynamic) ;;
debugnoline) ;;
quicklybuilt) ;;
*) meltbuild_error melt-build-script.tpl:150/10 bad zero flavor $GCCMELT_ZERO_FLAVOR ;;
esac
## our stage0 melt-build-script.tpl:154/11
[ -d $GCCMELT_STAGE_ZERO ] || mkdir $GCCMELT_STAGE_ZERO
function meltbuild_do_stage_zero () {
meltbuild_notice STAGE0+ melt-build-script.tpl:160/12 starting stage zero
meltbuild_info making stage0 warmelt-first melt-build-script.tpl:163/13
## stage0 melt-build-script.tpl:165/14 symlink descriptor file warmelt-first
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-first+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-first+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/15 symlink melt/generated source code warmelt-first
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-first.cc" ]; then
meltbuild_info making stage0 warmelt-first symlinking sources melt-build-script.tpl:172/16
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-first.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-first+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/17 symlink stamp warmelt-first
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-first+melttime.h" ]; then
meltbuild_info making stage0 warmelt-first symlinking timestamp melt-build-script.tpl:181/18
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-first+melttime.h $GCCMELT_STAGE_ZERO/warmelt-first+melttime.h
fi
MELT_ZERO_GENERATED_FIRST_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-first+meltdesc.c)
## manually generate the stage0 warmelt-first+meltbuild.mk file melt-build-script.tpl:188/19
MELT_ZERO_GENERATED_FIRST_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-first+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_FIRST_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/20 >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-first" >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_FIRST" >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-first melt-build-script.tpl:196/21' >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-first.$MELT_ZERO_GENERATED_FIRST_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-first+meltdesc.c >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-first.cc $GCCMELT_STAGE_ZERO/warmelt-first+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo '# zerostage module of warmelt-first melt-build-script.tpl:204/22' >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-first.meltmod-$MELT_ZERO_GENERATED_FIRST_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-first.$MELT_ZERO_GENERATED_FIRST_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-first+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-first._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_FIRST=$MELT_ZERO_GENERATED_FIRST_CUMULMD5 >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_FIRST=warmelt-first >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_FIRST_BUILDMK >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_FIRST_BUILDMK
meltbuild_info melt-build-script.tpl:217/23 generated stagezero makedep $MELT_ZERO_GENERATED_FIRST_BUILDMK
ls -l $MELT_ZERO_GENERATED_FIRST_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/24 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-first \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_FIRST_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-first \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/25 stage0 warmelt-first did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/26 stage0 warmelt-first module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-first.meltmod-$MELT_ZERO_GENERATED_FIRST_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/27 stage0 warmelt-first fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-first.meltmod-$MELT_ZERO_GENERATED_FIRST_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/28 successfully build stage0 warmelt-first
# end stage0 melt-build-script.tpl:239/29 base warmelt-first
meltbuild_info making stage0 warmelt-base melt-build-script.tpl:163/30
## stage0 melt-build-script.tpl:165/31 symlink descriptor file warmelt-base
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-base+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-base+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/32 symlink melt/generated source code warmelt-base
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-base.cc" ]; then
meltbuild_info making stage0 warmelt-base symlinking sources melt-build-script.tpl:172/33
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-base.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-base+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/34 symlink stamp warmelt-base
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-base+melttime.h" ]; then
meltbuild_info making stage0 warmelt-base symlinking timestamp melt-build-script.tpl:181/35
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-base+melttime.h $GCCMELT_STAGE_ZERO/warmelt-base+melttime.h
fi
MELT_ZERO_GENERATED_BASE_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-base+meltdesc.c)
## manually generate the stage0 warmelt-base+meltbuild.mk file melt-build-script.tpl:188/36
MELT_ZERO_GENERATED_BASE_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-base+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_BASE_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/37 >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-base" >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_BASE" >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-base melt-build-script.tpl:196/38' >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-base.$MELT_ZERO_GENERATED_BASE_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-base+meltdesc.c >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-base.cc $GCCMELT_STAGE_ZERO/warmelt-base+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo '# zerostage module of warmelt-base melt-build-script.tpl:204/39' >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-base.meltmod-$MELT_ZERO_GENERATED_BASE_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-base.$MELT_ZERO_GENERATED_BASE_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-base+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-base._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_BASE=$MELT_ZERO_GENERATED_BASE_CUMULMD5 >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_BASE=warmelt-base >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_BASE_BUILDMK >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_BASE_BUILDMK
meltbuild_info melt-build-script.tpl:217/40 generated stagezero makedep $MELT_ZERO_GENERATED_BASE_BUILDMK
ls -l $MELT_ZERO_GENERATED_BASE_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/41 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-base \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_BASE_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-base \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/42 stage0 warmelt-base did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/43 stage0 warmelt-base module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-base.meltmod-$MELT_ZERO_GENERATED_BASE_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/44 stage0 warmelt-base fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-base.meltmod-$MELT_ZERO_GENERATED_BASE_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/45 successfully build stage0 warmelt-base
# end stage0 melt-build-script.tpl:239/46 base warmelt-base
meltbuild_info making stage0 warmelt-debug melt-build-script.tpl:163/47
## stage0 melt-build-script.tpl:165/48 symlink descriptor file warmelt-debug
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-debug+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/49 symlink melt/generated source code warmelt-debug
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-debug.cc" ]; then
meltbuild_info making stage0 warmelt-debug symlinking sources melt-build-script.tpl:172/50
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/51 symlink stamp warmelt-debug
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-debug+melttime.h" ]; then
meltbuild_info making stage0 warmelt-debug symlinking timestamp melt-build-script.tpl:181/52
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug+melttime.h $GCCMELT_STAGE_ZERO/warmelt-debug+melttime.h
fi
MELT_ZERO_GENERATED_DEBUG_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug+meltdesc.c)
## manually generate the stage0 warmelt-debug+meltbuild.mk file melt-build-script.tpl:188/53
MELT_ZERO_GENERATED_DEBUG_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-debug+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_DEBUG_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/54 >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-debug" >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_DEBUG" >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-debug melt-build-script.tpl:196/55' >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-debug.$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-debug+meltdesc.c >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-debug.cc $GCCMELT_STAGE_ZERO/warmelt-debug+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo '# zerostage module of warmelt-debug melt-build-script.tpl:204/56' >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-debug.meltmod-$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-debug.$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-debug+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-debug._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_DEBUG=$MELT_ZERO_GENERATED_DEBUG_CUMULMD5 >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_DEBUG=warmelt-debug >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_DEBUG_BUILDMK >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_DEBUG_BUILDMK
meltbuild_info melt-build-script.tpl:217/57 generated stagezero makedep $MELT_ZERO_GENERATED_DEBUG_BUILDMK
ls -l $MELT_ZERO_GENERATED_DEBUG_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/58 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-debug \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_DEBUG_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-debug \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/59 stage0 warmelt-debug did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/60 stage0 warmelt-debug module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-debug.meltmod-$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/61 stage0 warmelt-debug fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-debug.meltmod-$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/62 successfully build stage0 warmelt-debug
# end stage0 melt-build-script.tpl:239/63 base warmelt-debug
meltbuild_info making stage0 warmelt-macro melt-build-script.tpl:163/64
## stage0 melt-build-script.tpl:165/65 symlink descriptor file warmelt-macro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-macro+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/66 symlink melt/generated source code warmelt-macro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-macro.cc" ]; then
meltbuild_info making stage0 warmelt-macro symlinking sources melt-build-script.tpl:172/67
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/68 symlink stamp warmelt-macro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-macro+melttime.h" ]; then
meltbuild_info making stage0 warmelt-macro symlinking timestamp melt-build-script.tpl:181/69
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro+melttime.h $GCCMELT_STAGE_ZERO/warmelt-macro+melttime.h
fi
MELT_ZERO_GENERATED_MACRO_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro+meltdesc.c)
## manually generate the stage0 warmelt-macro+meltbuild.mk file melt-build-script.tpl:188/70
MELT_ZERO_GENERATED_MACRO_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-macro+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_MACRO_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/71 >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-macro" >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_MACRO" >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-macro melt-build-script.tpl:196/72' >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-macro.$MELT_ZERO_GENERATED_MACRO_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-macro+meltdesc.c >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-macro.cc $GCCMELT_STAGE_ZERO/warmelt-macro+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo '# zerostage module of warmelt-macro melt-build-script.tpl:204/73' >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-macro.meltmod-$MELT_ZERO_GENERATED_MACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-macro.$MELT_ZERO_GENERATED_MACRO_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-macro+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-macro._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_MACRO=$MELT_ZERO_GENERATED_MACRO_CUMULMD5 >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_MACRO=warmelt-macro >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_MACRO_BUILDMK >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_MACRO_BUILDMK
meltbuild_info melt-build-script.tpl:217/74 generated stagezero makedep $MELT_ZERO_GENERATED_MACRO_BUILDMK
ls -l $MELT_ZERO_GENERATED_MACRO_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/75 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-macro \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_MACRO_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-macro \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/76 stage0 warmelt-macro did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/77 stage0 warmelt-macro module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-macro.meltmod-$MELT_ZERO_GENERATED_MACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/78 stage0 warmelt-macro fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-macro.meltmod-$MELT_ZERO_GENERATED_MACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/79 successfully build stage0 warmelt-macro
# end stage0 melt-build-script.tpl:239/80 base warmelt-macro
meltbuild_info making stage0 warmelt-moremacro melt-build-script.tpl:163/81
## stage0 melt-build-script.tpl:165/82 symlink descriptor file warmelt-moremacro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-moremacro+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-moremacro+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/83 symlink melt/generated source code warmelt-moremacro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-moremacro.cc" ]; then
meltbuild_info making stage0 warmelt-moremacro symlinking sources melt-build-script.tpl:172/84
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-moremacro.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-moremacro+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/85 symlink stamp warmelt-moremacro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-moremacro+melttime.h" ]; then
meltbuild_info making stage0 warmelt-moremacro symlinking timestamp melt-build-script.tpl:181/86
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-moremacro+melttime.h $GCCMELT_STAGE_ZERO/warmelt-moremacro+melttime.h
fi
MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-moremacro+meltdesc.c)
## manually generate the stage0 warmelt-moremacro+meltbuild.mk file melt-build-script.tpl:188/87
MELT_ZERO_GENERATED_MOREMACRO_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-moremacro+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/88 >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-moremacro" >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_MOREMACRO" >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-moremacro melt-build-script.tpl:196/89' >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-moremacro.$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-moremacro+meltdesc.c >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-moremacro.cc $GCCMELT_STAGE_ZERO/warmelt-moremacro+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo '# zerostage module of warmelt-moremacro melt-build-script.tpl:204/90' >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-moremacro.meltmod-$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-moremacro.$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-moremacro+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-moremacro._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_MOREMACRO=$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5 >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_MOREMACRO=warmelt-moremacro >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK >> $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK
meltbuild_info melt-build-script.tpl:217/91 generated stagezero makedep $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK
ls -l $MELT_ZERO_GENERATED_MOREMACRO_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/92 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-moremacro \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-moremacro \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/93 stage0 warmelt-moremacro did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/94 stage0 warmelt-moremacro module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-moremacro.meltmod-$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/95 stage0 warmelt-moremacro fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-moremacro.meltmod-$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/96 successfully build stage0 warmelt-moremacro
# end stage0 melt-build-script.tpl:239/97 base warmelt-moremacro
meltbuild_info making stage0 warmelt-normal melt-build-script.tpl:163/98
## stage0 melt-build-script.tpl:165/99 symlink descriptor file warmelt-normal
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normal+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/100 symlink melt/generated source code warmelt-normal
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normal.cc" ]; then
meltbuild_info making stage0 warmelt-normal symlinking sources melt-build-script.tpl:172/101
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/102 symlink stamp warmelt-normal
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normal+melttime.h" ]; then
meltbuild_info making stage0 warmelt-normal symlinking timestamp melt-build-script.tpl:181/103
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal+melttime.h $GCCMELT_STAGE_ZERO/warmelt-normal+melttime.h
fi
MELT_ZERO_GENERATED_NORMAL_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal+meltdesc.c)
## manually generate the stage0 warmelt-normal+meltbuild.mk file melt-build-script.tpl:188/104
MELT_ZERO_GENERATED_NORMAL_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-normal+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_NORMAL_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/105 >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-normal" >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_NORMAL" >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-normal melt-build-script.tpl:196/106' >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-normal.$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-normal+meltdesc.c >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-normal.cc $GCCMELT_STAGE_ZERO/warmelt-normal+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo '# zerostage module of warmelt-normal melt-build-script.tpl:204/107' >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-normal.meltmod-$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-normal.$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-normal+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-normal._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_NORMAL=$MELT_ZERO_GENERATED_NORMAL_CUMULMD5 >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_NORMAL=warmelt-normal >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_NORMAL_BUILDMK >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_NORMAL_BUILDMK
meltbuild_info melt-build-script.tpl:217/108 generated stagezero makedep $MELT_ZERO_GENERATED_NORMAL_BUILDMK
ls -l $MELT_ZERO_GENERATED_NORMAL_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/109 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-normal \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_NORMAL_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-normal \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/110 stage0 warmelt-normal did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/111 stage0 warmelt-normal module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-normal.meltmod-$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/112 stage0 warmelt-normal fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-normal.meltmod-$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/113 successfully build stage0 warmelt-normal
# end stage0 melt-build-script.tpl:239/114 base warmelt-normal
meltbuild_info making stage0 warmelt-normatch melt-build-script.tpl:163/115
## stage0 melt-build-script.tpl:165/116 symlink descriptor file warmelt-normatch
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normatch+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/117 symlink melt/generated source code warmelt-normatch
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normatch.cc" ]; then
meltbuild_info making stage0 warmelt-normatch symlinking sources melt-build-script.tpl:172/118
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/119 symlink stamp warmelt-normatch
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normatch+melttime.h" ]; then
meltbuild_info making stage0 warmelt-normatch symlinking timestamp melt-build-script.tpl:181/120
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch+melttime.h $GCCMELT_STAGE_ZERO/warmelt-normatch+melttime.h
fi
MELT_ZERO_GENERATED_NORMATCH_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch+meltdesc.c)
## manually generate the stage0 warmelt-normatch+meltbuild.mk file melt-build-script.tpl:188/121
MELT_ZERO_GENERATED_NORMATCH_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-normatch+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_NORMATCH_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/122 >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-normatch" >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_NORMATCH" >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-normatch melt-build-script.tpl:196/123' >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-normatch.$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-normatch+meltdesc.c >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-normatch.cc $GCCMELT_STAGE_ZERO/warmelt-normatch+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo '# zerostage module of warmelt-normatch melt-build-script.tpl:204/124' >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-normatch.meltmod-$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-normatch.$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-normatch+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-normatch._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_NORMATCH=$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5 >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_NORMATCH=warmelt-normatch >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_NORMATCH_BUILDMK >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_NORMATCH_BUILDMK
meltbuild_info melt-build-script.tpl:217/125 generated stagezero makedep $MELT_ZERO_GENERATED_NORMATCH_BUILDMK
ls -l $MELT_ZERO_GENERATED_NORMATCH_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/126 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-normatch \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-normatch \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/127 stage0 warmelt-normatch did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/128 stage0 warmelt-normatch module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-normatch.meltmod-$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/129 stage0 warmelt-normatch fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-normatch.meltmod-$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/130 successfully build stage0 warmelt-normatch
# end stage0 melt-build-script.tpl:239/131 base warmelt-normatch
meltbuild_info making stage0 warmelt-genobj melt-build-script.tpl:163/132
## stage0 melt-build-script.tpl:165/133 symlink descriptor file warmelt-genobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-genobj+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/134 symlink melt/generated source code warmelt-genobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-genobj.cc" ]; then
meltbuild_info making stage0 warmelt-genobj symlinking sources melt-build-script.tpl:172/135
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/136 symlink stamp warmelt-genobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-genobj+melttime.h" ]; then
meltbuild_info making stage0 warmelt-genobj symlinking timestamp melt-build-script.tpl:181/137
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj+melttime.h $GCCMELT_STAGE_ZERO/warmelt-genobj+melttime.h
fi
MELT_ZERO_GENERATED_GENOBJ_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj+meltdesc.c)
## manually generate the stage0 warmelt-genobj+meltbuild.mk file melt-build-script.tpl:188/138
MELT_ZERO_GENERATED_GENOBJ_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-genobj+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_GENOBJ_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/139 >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-genobj" >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_GENOBJ" >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-genobj melt-build-script.tpl:196/140' >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-genobj.$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-genobj+meltdesc.c >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-genobj.cc $GCCMELT_STAGE_ZERO/warmelt-genobj+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo '# zerostage module of warmelt-genobj melt-build-script.tpl:204/141' >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-genobj.meltmod-$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-genobj.$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-genobj+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-genobj._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_GENOBJ=$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5 >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_GENOBJ=warmelt-genobj >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_GENOBJ_BUILDMK >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_GENOBJ_BUILDMK
meltbuild_info melt-build-script.tpl:217/142 generated stagezero makedep $MELT_ZERO_GENERATED_GENOBJ_BUILDMK
ls -l $MELT_ZERO_GENERATED_GENOBJ_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/143 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-genobj \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-genobj \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/144 stage0 warmelt-genobj did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/145 stage0 warmelt-genobj module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-genobj.meltmod-$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/146 stage0 warmelt-genobj fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-genobj.meltmod-$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/147 successfully build stage0 warmelt-genobj
# end stage0 melt-build-script.tpl:239/148 base warmelt-genobj
meltbuild_info making stage0 warmelt-outobj melt-build-script.tpl:163/149
## stage0 melt-build-script.tpl:165/150 symlink descriptor file warmelt-outobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-outobj+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/151 symlink melt/generated source code warmelt-outobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-outobj.cc" ]; then
meltbuild_info making stage0 warmelt-outobj symlinking sources melt-build-script.tpl:172/152
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/153 symlink stamp warmelt-outobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-outobj+melttime.h" ]; then
meltbuild_info making stage0 warmelt-outobj symlinking timestamp melt-build-script.tpl:181/154
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj+melttime.h $GCCMELT_STAGE_ZERO/warmelt-outobj+melttime.h
fi
MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj+meltdesc.c)
## manually generate the stage0 warmelt-outobj+meltbuild.mk file melt-build-script.tpl:188/155
MELT_ZERO_GENERATED_OUTOBJ_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-outobj+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/156 >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-outobj" >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_OUTOBJ" >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-outobj melt-build-script.tpl:196/157' >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-outobj.$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-outobj+meltdesc.c >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-outobj.cc $GCCMELT_STAGE_ZERO/warmelt-outobj+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo '# zerostage module of warmelt-outobj melt-build-script.tpl:204/158' >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-outobj.meltmod-$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-outobj.$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-outobj+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-outobj._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_OUTOBJ=$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5 >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_OUTOBJ=warmelt-outobj >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK
meltbuild_info melt-build-script.tpl:217/159 generated stagezero makedep $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK
ls -l $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/160 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-outobj \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-outobj \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/161 stage0 warmelt-outobj did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/162 stage0 warmelt-outobj module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-outobj.meltmod-$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/163 stage0 warmelt-outobj fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-outobj.meltmod-$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/164 successfully build stage0 warmelt-outobj
# end stage0 melt-build-script.tpl:239/165 base warmelt-outobj
meltbuild_info making stage0 warmelt-hooks melt-build-script.tpl:163/166
## stage0 melt-build-script.tpl:165/167 symlink descriptor file warmelt-hooks
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-hooks+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-hooks+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/168 symlink melt/generated source code warmelt-hooks
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-hooks.cc" ]; then
meltbuild_info making stage0 warmelt-hooks symlinking sources melt-build-script.tpl:172/169
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-hooks.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-hooks+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/170 symlink stamp warmelt-hooks
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-hooks+melttime.h" ]; then
meltbuild_info making stage0 warmelt-hooks symlinking timestamp melt-build-script.tpl:181/171
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-hooks+melttime.h $GCCMELT_STAGE_ZERO/warmelt-hooks+melttime.h
fi
MELT_ZERO_GENERATED_HOOKS_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-hooks+meltdesc.c)
## manually generate the stage0 warmelt-hooks+meltbuild.mk file melt-build-script.tpl:188/172
MELT_ZERO_GENERATED_HOOKS_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-hooks+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_HOOKS_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/173 >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-hooks" >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_HOOKS" >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-hooks melt-build-script.tpl:196/174' >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-hooks.$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-hooks+meltdesc.c >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-hooks.cc $GCCMELT_STAGE_ZERO/warmelt-hooks+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo '# zerostage module of warmelt-hooks melt-build-script.tpl:204/175' >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-hooks.meltmod-$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-hooks.$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-hooks+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-hooks._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_HOOKS=$MELT_ZERO_GENERATED_HOOKS_CUMULMD5 >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_HOOKS=warmelt-hooks >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_HOOKS_BUILDMK >> $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_HOOKS_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_HOOKS_BUILDMK
meltbuild_info melt-build-script.tpl:217/176 generated stagezero makedep $MELT_ZERO_GENERATED_HOOKS_BUILDMK
ls -l $MELT_ZERO_GENERATED_HOOKS_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/177 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-hooks \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_HOOKS_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-hooks \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/178 stage0 warmelt-hooks did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/179 stage0 warmelt-hooks module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-hooks.meltmod-$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/180 stage0 warmelt-hooks fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-hooks.meltmod-$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/181 successfully build stage0 warmelt-hooks
# end stage0 melt-build-script.tpl:239/182 base warmelt-hooks
meltbuild_info making stage0 warmelt-modes melt-build-script.tpl:163/183
## stage0 melt-build-script.tpl:165/184 symlink descriptor file warmelt-modes
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-modes+meltdesc.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes+meltdesc.c $GCCMELT_STAGE_ZERO/
fi
## stage0 melt-build-script.tpl:170/185 symlink melt/generated source code warmelt-modes
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-modes.cc" ]; then
meltbuild_info making stage0 warmelt-modes symlinking sources melt-build-script.tpl:172/186
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes.cc $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes+[0-9][0-9].cc ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:179/187 symlink stamp warmelt-modes
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-modes+melttime.h" ]; then
meltbuild_info making stage0 warmelt-modes symlinking timestamp melt-build-script.tpl:181/188
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes+melttime.h $GCCMELT_STAGE_ZERO/warmelt-modes+melttime.h
fi
MELT_ZERO_GENERATED_MODES_CUMULMD5=$($GAWK -F\" '/extern/{next} /melt_cumulated_hexmd5/{print $2}' $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes+meltdesc.c)
## manually generate the stage0 warmelt-modes+meltbuild.mk file melt-build-script.tpl:188/189
MELT_ZERO_GENERATED_MODES_BUILDMK=$GCCMELT_STAGE_ZERO/warmelt-modes+meltbuild.mk
date +"# file $MELT_ZERO_GENERATED_MODES_BUILDMK script-generated %c" > $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo "# generated " melt-build-script.tpl:192/190 >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo "MELTGEN_MODULENAME=$GCCMELT_STAGE_ZERO/warmelt-modes" >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo "MELTGEN_MODULEIDENT=melt_stage_zero_MODES" >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo '# zerostage objects of warmelt-modes melt-build-script.tpl:196/191' >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-modes.$MELT_ZERO_GENERATED_MODES_CUMULMD5.descriptor.meltpic.o: $GCCMELT_STAGE_ZERO/warmelt-modes+meltdesc.c >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-modes.cc $GCCMELT_STAGE_ZERO/warmelt-modes+[0-9][0-9].cc; do
echo >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o: $f >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
done
echo >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo '# zerostage module of warmelt-modes melt-build-script.tpl:204/192' >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/warmelt-modes.meltmod-$MELT_ZERO_GENERATED_MODES_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so: \\ >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo " " $GCCMELT_STAGE_ZERO/warmelt-modes.$MELT_ZERO_GENERATED_MODES_CUMULMD5.descriptor.meltpic.o \\ >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
for f in $GCCMELT_STAGE_ZERO/warmelt-modes+[0-9][0-9].cc; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .cc`._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-modes._MELTNOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo MELTGENMOD_CUMULATED_MD5SUM_melt_stage_zero_MODES=$MELT_ZERO_GENERATED_MODES_CUMULMD5 >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo MELTGENMOD_NAKED_NAME_melt_stage_zero_MODES=warmelt-modes >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo '#end of generated file ' $MELT_ZERO_GENERATED_MODES_BUILDMK >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
##
mv $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$ $MELT_ZERO_GENERATED_MODES_BUILDMK
meltbuild_info melt-build-script.tpl:217/193 generated stagezero makedep $MELT_ZERO_GENERATED_MODES_BUILDMK
ls -l $MELT_ZERO_GENERATED_MODES_BUILDMK >&2
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:221/194 \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELTGEN_BUILD=$GCCMELT_STAGE_ZERO/ \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=$GCCMELT_ZERO_FLAVOR \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=$GCCMELT_STAGE_ZERO/warmelt-modes \
GCCMELT_CUMULATED_MD5=$MELT_ZERO_GENERATED_MODES_CUMULMD5 \
GCCMELT_MODULE_BINARYBASE=$GCCMELT_STAGE_ZERO/warmelt-modes \
GCCMELT_MODULE_DEPENDENCIES="$GCCMELT_CC1PLUS_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:231/195 stage0 warmelt-modes did not build "(with $GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER cflags $GCCMELT_COMPILER_FLAGS
meltbuild_info melt-build-script.tpl:233/196 stage0 warmelt-modes module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-modes.meltmod-$MELT_ZERO_GENERATED_MODES_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" >&2 \
|| meltbuild_error melt-build-script.tpl:235/197 stage0 warmelt-modes fail to build \
"$GCCMELT_STAGE_ZERO/warmelt-modes.meltmod-$MELT_ZERO_GENERATED_MODES_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so"
meltbuild_info melt-build-script.tpl:238/198 successfully build stage0 warmelt-modes
# end stage0 melt-build-script.tpl:239/199 base warmelt-modes
} ################ end of function meltbuild_do_stage_zero melt-build-script.tpl:241/200
################################################################
## stage0 stamp file melt-build-script.tpl:244/201
melt_stagezero_stamp=$GCCMELT_STAGE_ZERO/$GCCMELT_STAGE_ZERO.stamp
## test if stage0 should be skipped then do it melt-build-script.tpl:247/202
if [ ! -f "$melt_stagezero_stamp" -o "$melt_stagezero_stamp" -ot "$GCCMELT_RUNTIME_DEPENDENCY" ]; then
meltbuild_do_stage_zero
melt_stagezero_stamptemp=$melt_stagezero_stamp-tmp$$
echo MELT stagezero stampfile $GCCMELT_STAGE_ZERO.stamp for MELT $MELTGCCBUILTIN_VERSION_STRING from melt-build-script.tpl:251/203 > $melt_stagezero_stamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/204 base warmelt-first
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-first.cc $GCCMELT_STAGE_ZERO/warmelt-first+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-first.meltmod-$MELT_ZERO_GENERATED_FIRST_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/205 base warmelt-base
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-base.cc $GCCMELT_STAGE_ZERO/warmelt-base+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-base.meltmod-$MELT_ZERO_GENERATED_BASE_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/206 base warmelt-debug
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-debug.cc $GCCMELT_STAGE_ZERO/warmelt-debug+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-debug.meltmod-$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/207 base warmelt-macro
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-macro.cc $GCCMELT_STAGE_ZERO/warmelt-macro+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-macro.meltmod-$MELT_ZERO_GENERATED_MACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/208 base warmelt-moremacro
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-moremacro.cc $GCCMELT_STAGE_ZERO/warmelt-moremacro+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-moremacro.meltmod-$MELT_ZERO_GENERATED_MOREMACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/209 base warmelt-normal
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normal.cc $GCCMELT_STAGE_ZERO/warmelt-normal+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normal.meltmod-$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/210 base warmelt-normatch
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normatch.cc $GCCMELT_STAGE_ZERO/warmelt-normatch+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normatch.meltmod-$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/211 base warmelt-genobj
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-genobj.cc $GCCMELT_STAGE_ZERO/warmelt-genobj+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-genobj.meltmod-$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/212 base warmelt-outobj
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-outobj.cc $GCCMELT_STAGE_ZERO/warmelt-outobj+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-outobj.meltmod-$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/213 base warmelt-hooks
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-hooks.cc $GCCMELT_STAGE_ZERO/warmelt-hooks+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-hooks.meltmod-$MELT_ZERO_GENERATED_HOOKS_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:254/214 base warmelt-modes
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-modes.cc $GCCMELT_STAGE_ZERO/warmelt-modes+[0-9][0-9].cc >> $melt_stagezero_stamptemp
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-modes.meltmod-$MELT_ZERO_GENERATED_MODES_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so >> $melt_stagezero_stamptemp
$GCCMELT_MOVE_IF_CHANGE $melt_stagezero_stamptemp $melt_stagezero_stamp
else
meltbuild_info melt-build-script.tpl:260/215 skipped stage0 because of stamp file $melt_stagezero_stamp
fi
meltbuild_info melt-build-script.tpl:263/216 times after stagezero at `date '+%x %H:%M:%S'`: ; times >&2
################################################################
## function to run MELT to emit C++ code melt-build-script.tpl:267/217
function meltbuild_emit () {
local meltfrom=$1
local meltmode=$2
local meltbase=$3
local meltstage=$4
local meltprevstage=$5
local meltinit=$6
local meltinclude=$7
local meltbuildoption=$8
local meltargs=$meltstage/$meltbase.args
local meltsrc=$(realpath $GCCMELT_MELTSOURCEDIR/$meltbase.melt)
meltbuild_info meltfrom=$meltfrom meltmode=$meltmode meltbase=$meltbase meltstage=$meltstage meltprevstage=$meltprevstage meltinit=$meltinit meltinclude=$meltinclude meltsrc=$meltsrc
local meltsum
local meltprevf
if [ -z "$meltmode" ]; then
meltbuild_error $meltfrom no MELT mode at stage $meltstage
fi
if [ ! -f "$meltsrc" ]; then
meltbuild_error $meltfrom no MELT file $meltsrc at stage $meltstage base $meltbase
fi
if [ -z "$meltinit" ]; then
meltbuild_error $meltfrom no MELT init at stage $meltstage base $meltbase
fi
meltsum=$($MD5SUM $meltsrc | $GAWK '{print $1}')
meltbuild_info $meltfrom emit C++ code for $meltbase of $meltstage
echo -Wno-shadow -frandom-seed=$meltsum > $meltargs-$$-tmp
## various arguments
echo " -DGCCMELT_FROM_ARG=\"$meltfrom\"" >> $meltargs-$$-tmp
meltbuild_arg mode=$meltmode >> $meltargs-$$-tmp
meltbuild_arg arg=$meltsrc >> $meltargs-$$-tmp
meltbuild_arg output=$meltstage/$meltbase >> $meltargs-$$-tmp
meltbuild_arg "module-make-command='$GCCMELT_MAKE'" >> $meltargs-$$-tmp
meltbuild_arg module-makefile=$GCCMELT_MODULE_MK >> $meltargs-$$-tmp
meltbuild_arg "module-cflags='$GCCMELT_INCLUDES -I. -I$meltstage -I$meltprevstage $GCCMELT_COMPILER_FLAGS'" >> $meltargs-$$-tmp
meltbuild_arg init=$meltinit >> $meltargs-$$-tmp
meltbuild_arg workdir=meltbuild-workdir >> $meltargs-$$-tmp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltargs-$$-tmp
meltbuild_arg source-path=$meltstage:$meltprevstage:. >> $meltargs-$$-tmp
meltbuild_arg module-path=$meltstage:$meltprevstage:. >> $meltargs-$$-tmp
meltbuild_arg bootstrapping >> $meltargs-$$-tmp
meltbuild_arg generate-work-link >> $meltargs-$$-tmp
meltbuild_arg generated-c-file-list=$meltstage/$meltbase.cfilist >> $meltargs-$$-tmp
if [ -n "$meltbuildoption" ]; then
echo "$meltbuildoption" >> $meltargs-$$-tmp
fi
## final empty file
echo meltbuild-empty-file.c >> $meltargs-$$-tmp
mv $meltargs-$$-tmp $meltargs
meltbuild_info $meltfrom argument file $meltargs is
cat $meltargs < /dev/null >&2
if [ -z "$GCCMELT_SKIPEMITC" ]; then
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltargs || meltbuild_error $meltfrom failed with arguments @$meltargs
## remove obsolete secondary C files left previously in $meltstage
for meltcsecfil in $meltstage/$meltbase+[0-9][0-9].cc ; do
if grep -q `basename $meltcsecfil` "$meltstage/$meltbase.cfilist" ; then
: # at melt-build-script.tpl:323/218
else
meltbuild_info $meltfrom removing obsolete $meltcsecfil
rm -f "$meltcsecfil"
fi
done
else
meltbuild_info $meltfrom skips emission of C++ code with @$meltargs stage $meltstage prevstage $meltprevstage skipreason $GCCMELT_SKIPEMITC melt-build-script.tpl:330/219
ls -l $meltprevstage/$meltbase*
meltbuild_info $meltfrom symlinking previous stage $meltprevstage melt-build-script.tpl:332/220
for meltprevf in $meltprevstage/$meltbase.cc $meltprevstage/$meltbase+[0-9][0-9].cc $meltprevstage/$meltbase+meltdesc.c $meltprevstage/$meltbase+melttime.h $meltprevstage/$meltbase+meltbuild.mk ; do
meltbuild_symlink $meltprevf $meltstage/`basename $meltprevf`
done
meltbuild_info $meltfrom symlinked previous stage $meltprevstage/$meltbase melt-build-script.tpl:336/221
fi
GCCMELT_STAGE=$meltstage
GCCMELT_BASE=$meltbase
} ################################ end function meltbuild_emit
################################################################
################################################################
#################@ before our stages melt-build-script.tpl:344/222
### Our stages
### are incrementally built, with the former modules of
### the current stage and the later modules of the previous stages
### used to emit the source of the current module in the current stage.
### This is a kind of "diagonalization".
################################################################
#### function to do a stage melt-build-script.tpl:353/223
function meltbuild_do_stage () {
local meltfrom=$1
local meltcurstagedir=$2
local meltcurflavor=$3
local meltprevstagedir=$4
local meltprevflavor=$5
local meltbuildoption=$6
local meltchecksum_FIRST
local meltchecksum_BASE
local meltchecksum_DEBUG
local meltchecksum_MACRO
local meltchecksum_MOREMACRO
local meltchecksum_NORMAL
local meltchecksum_NORMATCH
local meltchecksum_GENOBJ
local meltchecksum_OUTOBJ
local meltchecksum_HOOKS
local meltchecksum_MODES
local meltstamp
local meltstamptmp
####in meltbuild_do_stage melt-build-script.tpl:366/224
meltbuild_notice "$meltcurstagedir+" starting stage $meltcurstagedir flavor $meltcurflavor from $meltfrom
####in meltbuild_do_stage melt-build-script.tpl:368/225
meltbuild_info $meltfrom starting stage $meltcurstagedir flavor $meltcurflavor previous $meltprevstagedir previous flavor $meltprevflavor
[ -d $meltcurstagedir ] || mkdir $meltcurstagedir
if [ ! -d "$meltprevstagedir" -o ! -f "$meltprevstagedir/$meltprevstagedir.stamp" ]; then
meltbuild_error $meltfrom previous stage "$meltprevstagedir/" without stamp file $meltprevstagedir/$meltprevstagedir.stamp
fi
#in meltbuild_do_stage melt-build-script.tpl:378/226 base warmelt-first
meltbuild_info melt-build-script.tpl:379/227 from $meltfrom generating C++ code of warmelt-first in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/228 emit C++ code for warmelt-first
meltbuild_emit melt-build-script.tpl:382/229-$meltfrom \
translateinit \
warmelt-first \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltprevstagedir/warmelt-first.$meltprevflavor:$meltprevstagedir/warmelt-base.$meltprevflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-moremacro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/230 checksum C++ code for warmelt-first
meltchecksum_cumul_FIRST=$(cat "$meltcurstagedir"/warmelt-first.cc "$meltcurstagedir"/warmelt-first+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/231 perhaps compiling C++ code for warmelt-first
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/232-$meltfrom compiling module warmelt-first in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/233-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-first" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-first" \
|| ( meltbuild_info melt-build-script.tpl:409/234-$meltfrom recompiling bad module warmelt-first in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/235-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-first" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-first" ; \
meltbuild_error melt-build-script.tpl:418/236-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-first compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/237-$meltfrom NOT compiling module warmelt-first "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-first \
checksum $meltchecksum_cumul_FIRST skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-first.meltmod-$meltchecksum_cumul_FIRST.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-first.meltmod-$meltchecksum_cumul_FIRST.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/238 done base warmelt-first
#in meltbuild_do_stage melt-build-script.tpl:378/239 base warmelt-base
meltbuild_info melt-build-script.tpl:379/240 from $meltfrom generating C++ code of warmelt-base in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/241 emit C++ code for warmelt-base
meltbuild_emit melt-build-script.tpl:382/242-$meltfrom \
translatefile \
warmelt-base \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltprevstagedir/warmelt-base.$meltprevflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-moremacro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/243 checksum C++ code for warmelt-base
meltchecksum_cumul_BASE=$(cat "$meltcurstagedir"/warmelt-base.cc "$meltcurstagedir"/warmelt-base+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/244 perhaps compiling C++ code for warmelt-base
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/245-$meltfrom compiling module warmelt-base in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/246-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-base" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-base" \
|| ( meltbuild_info melt-build-script.tpl:409/247-$meltfrom recompiling bad module warmelt-base in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/248-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-base" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-base" ; \
meltbuild_error melt-build-script.tpl:418/249-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-base compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/250-$meltfrom NOT compiling module warmelt-base "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-base \
checksum $meltchecksum_cumul_BASE skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-base.meltmod-$meltchecksum_cumul_BASE.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-base.meltmod-$meltchecksum_cumul_BASE.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/251 done base warmelt-base
#in meltbuild_do_stage melt-build-script.tpl:378/252 base warmelt-debug
meltbuild_info melt-build-script.tpl:379/253 from $meltfrom generating C++ code of warmelt-debug in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/254 emit C++ code for warmelt-debug
meltbuild_emit melt-build-script.tpl:382/255-$meltfrom \
translatefile \
warmelt-debug \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-moremacro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/256 checksum C++ code for warmelt-debug
meltchecksum_cumul_DEBUG=$(cat "$meltcurstagedir"/warmelt-debug.cc "$meltcurstagedir"/warmelt-debug+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/257 perhaps compiling C++ code for warmelt-debug
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/258-$meltfrom compiling module warmelt-debug in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/259-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-debug" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-debug" \
|| ( meltbuild_info melt-build-script.tpl:409/260-$meltfrom recompiling bad module warmelt-debug in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/261-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-debug" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-debug" ; \
meltbuild_error melt-build-script.tpl:418/262-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-debug compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/263-$meltfrom NOT compiling module warmelt-debug "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-debug \
checksum $meltchecksum_cumul_DEBUG skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-debug.meltmod-$meltchecksum_cumul_DEBUG.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-debug.meltmod-$meltchecksum_cumul_DEBUG.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/264 done base warmelt-debug
#in meltbuild_do_stage melt-build-script.tpl:378/265 base warmelt-macro
meltbuild_info melt-build-script.tpl:379/266 from $meltfrom generating C++ code of warmelt-macro in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/267 emit C++ code for warmelt-macro
meltbuild_emit melt-build-script.tpl:382/268-$meltfrom \
translatefile \
warmelt-macro \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-moremacro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/269 checksum C++ code for warmelt-macro
meltchecksum_cumul_MACRO=$(cat "$meltcurstagedir"/warmelt-macro.cc "$meltcurstagedir"/warmelt-macro+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/270 perhaps compiling C++ code for warmelt-macro
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/271-$meltfrom compiling module warmelt-macro in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/272-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-macro" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-macro" \
|| ( meltbuild_info melt-build-script.tpl:409/273-$meltfrom recompiling bad module warmelt-macro in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/274-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-macro" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-macro" ; \
meltbuild_error melt-build-script.tpl:418/275-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-macro compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/276-$meltfrom NOT compiling module warmelt-macro "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-macro \
checksum $meltchecksum_cumul_MACRO skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-macro.meltmod-$meltchecksum_cumul_MACRO.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-macro.meltmod-$meltchecksum_cumul_MACRO.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/277 done base warmelt-macro
#in meltbuild_do_stage melt-build-script.tpl:378/278 base warmelt-moremacro
meltbuild_info melt-build-script.tpl:379/279 from $meltfrom generating C++ code of warmelt-moremacro in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/280 emit C++ code for warmelt-moremacro
meltbuild_emit melt-build-script.tpl:382/281-$meltfrom \
translatefile \
warmelt-moremacro \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltprevstagedir/warmelt-moremacro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/282 checksum C++ code for warmelt-moremacro
meltchecksum_cumul_MOREMACRO=$(cat "$meltcurstagedir"/warmelt-moremacro.cc "$meltcurstagedir"/warmelt-moremacro+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/283 perhaps compiling C++ code for warmelt-moremacro
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/284-$meltfrom compiling module warmelt-moremacro in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/285-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-moremacro" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-moremacro" \
|| ( meltbuild_info melt-build-script.tpl:409/286-$meltfrom recompiling bad module warmelt-moremacro in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/287-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-moremacro" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-moremacro" ; \
meltbuild_error melt-build-script.tpl:418/288-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-moremacro compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/289-$meltfrom NOT compiling module warmelt-moremacro "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-moremacro \
checksum $meltchecksum_cumul_MOREMACRO skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-moremacro.meltmod-$meltchecksum_cumul_MOREMACRO.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-moremacro.meltmod-$meltchecksum_cumul_MOREMACRO.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/290 done base warmelt-moremacro
#in meltbuild_do_stage melt-build-script.tpl:378/291 base warmelt-normal
meltbuild_info melt-build-script.tpl:379/292 from $meltfrom generating C++ code of warmelt-normal in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/293 emit C++ code for warmelt-normal
meltbuild_emit melt-build-script.tpl:382/294-$meltfrom \
translatefile \
warmelt-normal \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"_warmelt-predef.melt" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/295 checksum C++ code for warmelt-normal
meltchecksum_cumul_NORMAL=$(cat "$meltcurstagedir"/warmelt-normal.cc "$meltcurstagedir"/warmelt-normal+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/296 perhaps compiling C++ code for warmelt-normal
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/297-$meltfrom compiling module warmelt-normal in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/298-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-normal" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-normal" \
|| ( meltbuild_info melt-build-script.tpl:409/299-$meltfrom recompiling bad module warmelt-normal in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/300-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-normal" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-normal" ; \
meltbuild_error melt-build-script.tpl:418/301-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-normal compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/302-$meltfrom NOT compiling module warmelt-normal "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-normal \
checksum $meltchecksum_cumul_NORMAL skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-normal.meltmod-$meltchecksum_cumul_NORMAL.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-normal.meltmod-$meltchecksum_cumul_NORMAL.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/303 done base warmelt-normal
#in meltbuild_do_stage melt-build-script.tpl:378/304 base warmelt-normatch
meltbuild_info melt-build-script.tpl:379/305 from $meltfrom generating C++ code of warmelt-normatch in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/306 emit C++ code for warmelt-normatch
meltbuild_emit melt-build-script.tpl:382/307-$meltfrom \
translatefile \
warmelt-normatch \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/308 checksum C++ code for warmelt-normatch
meltchecksum_cumul_NORMATCH=$(cat "$meltcurstagedir"/warmelt-normatch.cc "$meltcurstagedir"/warmelt-normatch+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/309 perhaps compiling C++ code for warmelt-normatch
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/310-$meltfrom compiling module warmelt-normatch in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/311-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-normatch" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-normatch" \
|| ( meltbuild_info melt-build-script.tpl:409/312-$meltfrom recompiling bad module warmelt-normatch in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/313-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-normatch" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-normatch" ; \
meltbuild_error melt-build-script.tpl:418/314-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-normatch compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/315-$meltfrom NOT compiling module warmelt-normatch "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-normatch \
checksum $meltchecksum_cumul_NORMATCH skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-normatch.meltmod-$meltchecksum_cumul_NORMATCH.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-normatch.meltmod-$meltchecksum_cumul_NORMATCH.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/316 done base warmelt-normatch
#in meltbuild_do_stage melt-build-script.tpl:378/317 base warmelt-genobj
meltbuild_info melt-build-script.tpl:379/318 from $meltfrom generating C++ code of warmelt-genobj in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/319 emit C++ code for warmelt-genobj
meltbuild_emit melt-build-script.tpl:382/320-$meltfrom \
translatefile \
warmelt-genobj \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/321 checksum C++ code for warmelt-genobj
meltchecksum_cumul_GENOBJ=$(cat "$meltcurstagedir"/warmelt-genobj.cc "$meltcurstagedir"/warmelt-genobj+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/322 perhaps compiling C++ code for warmelt-genobj
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/323-$meltfrom compiling module warmelt-genobj in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/324-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-genobj" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-genobj" \
|| ( meltbuild_info melt-build-script.tpl:409/325-$meltfrom recompiling bad module warmelt-genobj in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/326-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-genobj" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-genobj" ; \
meltbuild_error melt-build-script.tpl:418/327-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-genobj compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/328-$meltfrom NOT compiling module warmelt-genobj "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-genobj \
checksum $meltchecksum_cumul_GENOBJ skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-genobj.meltmod-$meltchecksum_cumul_GENOBJ.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-genobj.meltmod-$meltchecksum_cumul_GENOBJ.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/329 done base warmelt-genobj
#in meltbuild_do_stage melt-build-script.tpl:378/330 base warmelt-outobj
meltbuild_info melt-build-script.tpl:379/331 from $meltfrom generating C++ code of warmelt-outobj in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/332 emit C++ code for warmelt-outobj
meltbuild_emit melt-build-script.tpl:382/333-$meltfrom \
translatefile \
warmelt-outobj \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltcurstagedir/warmelt-genobj.$meltcurflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/334 checksum C++ code for warmelt-outobj
meltchecksum_cumul_OUTOBJ=$(cat "$meltcurstagedir"/warmelt-outobj.cc "$meltcurstagedir"/warmelt-outobj+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/335 perhaps compiling C++ code for warmelt-outobj
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/336-$meltfrom compiling module warmelt-outobj in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/337-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-outobj" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-outobj" \
|| ( meltbuild_info melt-build-script.tpl:409/338-$meltfrom recompiling bad module warmelt-outobj in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/339-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-outobj" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-outobj" ; \
meltbuild_error melt-build-script.tpl:418/340-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-outobj compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/341-$meltfrom NOT compiling module warmelt-outobj "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-outobj \
checksum $meltchecksum_cumul_OUTOBJ skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-outobj.meltmod-$meltchecksum_cumul_OUTOBJ.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-outobj.meltmod-$meltchecksum_cumul_OUTOBJ.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/342 done base warmelt-outobj
#in meltbuild_do_stage melt-build-script.tpl:378/343 base warmelt-hooks
meltbuild_info melt-build-script.tpl:379/344 from $meltfrom generating C++ code of warmelt-hooks in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/345 emit C++ code for warmelt-hooks
meltbuild_emit melt-build-script.tpl:382/346-$meltfrom \
translatefile \
warmelt-hooks \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltcurstagedir/warmelt-genobj.$meltcurflavor:$meltcurstagedir/warmelt-outobj.$meltcurflavor:$meltprevstagedir/warmelt-hooks.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/347 checksum C++ code for warmelt-hooks
meltchecksum_cumul_HOOKS=$(cat "$meltcurstagedir"/warmelt-hooks.cc "$meltcurstagedir"/warmelt-hooks+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/348 perhaps compiling C++ code for warmelt-hooks
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/349-$meltfrom compiling module warmelt-hooks in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/350-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-hooks" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-hooks" \
|| ( meltbuild_info melt-build-script.tpl:409/351-$meltfrom recompiling bad module warmelt-hooks in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/352-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-hooks" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-hooks" ; \
meltbuild_error melt-build-script.tpl:418/353-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-hooks compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/354-$meltfrom NOT compiling module warmelt-hooks "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-hooks \
checksum $meltchecksum_cumul_HOOKS skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-hooks.meltmod-$meltchecksum_cumul_HOOKS.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-hooks.meltmod-$meltchecksum_cumul_HOOKS.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/355 done base warmelt-hooks
#in meltbuild_do_stage melt-build-script.tpl:378/356 base warmelt-modes
meltbuild_info melt-build-script.tpl:379/357 from $meltfrom generating C++ code of warmelt-modes in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:381/358 emit C++ code for warmelt-modes
meltbuild_emit melt-build-script.tpl:382/359-$meltfrom \
translatefile \
warmelt-modes \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-moremacro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltcurstagedir/warmelt-genobj.$meltcurflavor:$meltcurstagedir/warmelt-outobj.$meltcurflavor:$meltcurstagedir/warmelt-hooks.$meltcurflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"" \
"$meltbuildoption"
#in meltbuild_do_stage melt-build-script.tpl:395/360 checksum C++ code for warmelt-modes
meltchecksum_cumul_MODES=$(cat "$meltcurstagedir"/warmelt-modes.cc "$meltcurstagedir"/warmelt-modes+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:398/361 perhaps compiling C++ code for warmelt-modes
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:400/362-$meltfrom compiling module warmelt-modes in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:402/363-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-modes" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-modes" \
|| ( meltbuild_info melt-build-script.tpl:409/364-$meltfrom recompiling bad module warmelt-modes in "$meltcurstagedir" ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:411/365-$meltfrom" \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR="$meltcurflavor" \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE="$meltcurstagedir/warmelt-modes" \
GCCMELT_MODULE_BINARYBASE="$meltcurstagedir/warmelt-modes" ; \
meltbuild_error melt-build-script.tpl:418/366-$meltfrom in "$meltcurstagedir/" \
failed to make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" module warmelt-modes compiler "$GCCMELT_COMPILER" cflags "$GCCMELT_COMPILER_FLAGS" )
else
meltbuild_info melt-build-script.tpl:421/367-$meltfrom NOT compiling module warmelt-modes "in" \
"$meltcurstagedir/" but symlinking previous "$meltprevstagedir/" module warmelt-modes \
checksum $meltchecksum_cumul_MODES skipemitc=$GCCMELT_SKIPEMITC.
meltbuild_symlink "$meltprevstagedir/warmelt-modes.meltmod-$meltchecksum_cumul_MODES.$meltprevflavor.so" \
"$meltcurstagedir/warmelt-modes.meltmod-$meltchecksum_cumul_MODES.$meltcurflavor.so"
fi
#in meltbuild_do_stage melt-build-script.tpl:427/368 done base warmelt-modes
#in meltbuild_do_stage melt-build-script.tpl:430/369 generating the stampfile
meltstamp=$meltcurstagedir/$meltcurstagedir.stamp
meltstamptmp=$meltstamp-tmp$$
echo "///timestamp file $meltstamp" > $meltstamptmp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-first.cc $meltcurstagedir/warmelt-first+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-first.meltmod-$meltchecksum_cumul_FIRST.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-base.cc $meltcurstagedir/warmelt-base+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-base.meltmod-$meltchecksum_cumul_BASE.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-debug.cc $meltcurstagedir/warmelt-debug+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-debug.meltmod-$meltchecksum_cumul_DEBUG.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-macro.cc $meltcurstagedir/warmelt-macro+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-macro.meltmod-$meltchecksum_cumul_MACRO.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-moremacro.cc $meltcurstagedir/warmelt-moremacro+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-moremacro.meltmod-$meltchecksum_cumul_MOREMACRO.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-normal.cc $meltcurstagedir/warmelt-normal+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-normal.meltmod-$meltchecksum_cumul_NORMAL.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-normatch.cc $meltcurstagedir/warmelt-normatch+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-normatch.meltmod-$meltchecksum_cumul_NORMATCH.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-genobj.cc $meltcurstagedir/warmelt-genobj+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-genobj.meltmod-$meltchecksum_cumul_GENOBJ.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-outobj.cc $meltcurstagedir/warmelt-outobj+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-outobj.meltmod-$meltchecksum_cumul_OUTOBJ.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-hooks.cc $meltcurstagedir/warmelt-hooks+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-hooks.meltmod-$meltchecksum_cumul_HOOKS.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-modes.cc $meltcurstagedir/warmelt-modes+[0-9][0-9].cc >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-modes.meltmod-$meltchecksum_cumul_MODES.$meltcurflavor.so" >> $meltstamptmp
echo "///end timestamp file $meltstamp"
$GCCMELT_MOVE_IF_CHANGE $meltstamptmp $meltstamp
#in meltbuild_do_stage melt-build-script.tpl:442/370 ending
meltbuild_info $meltfrom done stage $meltcurstagedir flavor $meltcurflavor previous $meltprevstagedir previous flavor $meltprevflavor timestamp $meltstamp
} #### end meltbuild_do_stage melt-build-script.tpl:445/371
################################################################
##### possibly run all our stages melt-build-script.tpl:448/372
#@ melt-build-script.tpl:450/373 stagedir meltbuild-stage1
GCCMELT_SKIPEMITC=
if [ ! -f meltbuild-stage1/meltbuild-stage1.stamp -o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_RUNTIME_DEPENDENCY \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-first.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-base.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-debug.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-macro.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-moremacro.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normal.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normatch.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-genobj.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-outobj.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-hooks.melt \
-o meltbuild-stage1/meltbuild-stage1.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-modes.melt \
]; then
echo ; echo ; echo ; echo ; echo ; echo ; echo ; echo
echo '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
meltbuild_info melt-build-script.tpl:457/374 '++++++++++++++++' building stage meltbuild-stage1 '++++++++++++++++'
## building stage meltbuild-stage1 previous $GCCMELT_STAGE_ZERO melt-build-script.tpl:458/375
meltbuild_do_stage melt-build-script.tpl:459/376 meltbuild-stage1 quicklybuilt $GCCMELT_STAGE_ZERO $GCCMELT_ZERO_FLAVOR "$GCCMELT_EMIT_OPTION_STAGE1"
else
meltbuild_info melt-build-script.tpl:461/377 skipping stage meltbuild-stage1
fi
## melt-build-script.tpl:464/378
GCCMELT_LASTSTAGE=meltbuild-stage1
#@ melt-build-script.tpl:450/379 stagedir meltbuild-stage2
GCCMELT_SKIPEMITC=
if [ ! -f meltbuild-stage2/meltbuild-stage2.stamp -o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_RUNTIME_DEPENDENCY \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-first.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-base.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-debug.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-macro.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-moremacro.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normal.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normatch.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-genobj.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-outobj.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-hooks.melt \
-o meltbuild-stage2/meltbuild-stage2.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-modes.melt \
]; then
echo ; echo ; echo ; echo ; echo ; echo ; echo ; echo
echo '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
meltbuild_info melt-build-script.tpl:457/380 '++++++++++++++++' building stage meltbuild-stage2 '++++++++++++++++'
## building stage meltbuild-stage2 previous meltbuild-stage1 melt-build-script.tpl:458/381
meltbuild_do_stage melt-build-script.tpl:459/382 meltbuild-stage2 quicklybuilt meltbuild-stage1 quicklybuilt "$GCCMELT_EMIT_OPTION_STAGE2"
else
meltbuild_info melt-build-script.tpl:461/383 skipping stage meltbuild-stage2
fi
## melt-build-script.tpl:464/384
GCCMELT_LASTSTAGE=meltbuild-stage2
#@ melt-build-script.tpl:450/385 stagedir meltbuild-stage3
GCCMELT_SKIPEMITC=
if [ ! -f meltbuild-stage3/meltbuild-stage3.stamp -o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_RUNTIME_DEPENDENCY \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-first.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-base.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-debug.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-macro.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-moremacro.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normal.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normatch.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-genobj.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-outobj.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-hooks.melt \
-o meltbuild-stage3/meltbuild-stage3.stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-modes.melt \
]; then
echo ; echo ; echo ; echo ; echo ; echo ; echo ; echo
echo '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
meltbuild_info melt-build-script.tpl:457/386 '++++++++++++++++' building stage meltbuild-stage3 '++++++++++++++++'
## building stage meltbuild-stage3 previous meltbuild-stage2 melt-build-script.tpl:458/387
meltbuild_do_stage melt-build-script.tpl:459/388 meltbuild-stage3 quicklybuilt meltbuild-stage2 quicklybuilt "$GCCMELT_EMIT_OPTION_STAGE3"
else
meltbuild_info melt-build-script.tpl:461/389 skipping stage meltbuild-stage3
fi
## melt-build-script.tpl:464/390
GCCMELT_LASTSTAGE=meltbuild-stage3
################################################################
meltbuild_info melt-build-script.tpl:472/391 last stage $GCCMELT_LASTSTAGE
################################################################
################################################################
###########@ before generating meltbuild-sources melt-build-script.tpl:476/392
#### the meltbuild-sources is the final sources directory, to be
#### installed. They are generated from the last stage, using the
#### modules inside it. Notice that in contrast from the intermediate
#### stages no "diagonalization" is involved.
[ -d meltbuild-sources ] || mkdir meltbuild-sources
#@ from melt-build-script.tpl:485/393 compiling the modules
[ -d meltbuild-modules ] || mkdir meltbuild-modules
################################################################
function meltbuild_emit_translator_sources () {
## meltbuild_emit_source melt-build-script.tpl:491/394 base warmelt-first
meltbuild_info melt-build-script.tpl:492/395 generating C++ code of warmelt-first in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/396 \
translateinit \
warmelt-first \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/397 base warmelt-base
meltbuild_info melt-build-script.tpl:492/398 generating C++ code of warmelt-base in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/399 \
translatefile \
warmelt-base \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/400 base warmelt-debug
meltbuild_info melt-build-script.tpl:492/401 generating C++ code of warmelt-debug in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/402 \
translatefile \
warmelt-debug \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/403 base warmelt-macro
meltbuild_info melt-build-script.tpl:492/404 generating C++ code of warmelt-macro in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/405 \
translatefile \
warmelt-macro \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/406 base warmelt-moremacro
meltbuild_info melt-build-script.tpl:492/407 generating C++ code of warmelt-moremacro in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/408 \
translatefile \
warmelt-moremacro \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/409 base warmelt-normal
meltbuild_info melt-build-script.tpl:492/410 generating C++ code of warmelt-normal in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/411 \
translatefile \
warmelt-normal \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
"_warmelt-predef.melt"
## meltbuild_emit_source melt-build-script.tpl:491/412 base warmelt-normatch
meltbuild_info melt-build-script.tpl:492/413 generating C++ code of warmelt-normatch in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/414 \
translatefile \
warmelt-normatch \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/415 base warmelt-genobj
meltbuild_info melt-build-script.tpl:492/416 generating C++ code of warmelt-genobj in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/417 \
translatefile \
warmelt-genobj \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/418 base warmelt-outobj
meltbuild_info melt-build-script.tpl:492/419 generating C++ code of warmelt-outobj in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/420 \
translatefile \
warmelt-outobj \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/421 base warmelt-hooks
meltbuild_info melt-build-script.tpl:492/422 generating C++ code of warmelt-hooks in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/423 \
translatefile \
warmelt-hooks \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:491/424 base warmelt-modes
meltbuild_info melt-build-script.tpl:492/425 generating C++ code of warmelt-modes in meltbuild-sources
meltbuild_emit melt-build-script.tpl:493/426 \
translatefile \
warmelt-modes \
meltbuild-sources \
"$GCCMELT_LASTSTAGE" \
$GCCMELT_LASTSTAGE/warmelt-first.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-base.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-debug.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-macro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-moremacro.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-hooks.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
} # end of function meltbuild_emit_translator_sources
################
function meltbuild_compile_translator_modules () {
# in meltbuild_compile_translator_sources quicklybuilt melt-build-script.tpl:508/427
meltbuild_info melt-build-script.tpl:509/428 compiling translator quicklybuilt
#@ melt-build-script.tpl:512/429 flavor quicklybuilt base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/430 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-first \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-first \
|| meltbuild_error melt-build-script.tpl:521/431 in meltbuild-modules failed to compile translator warmelt-first quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/432 flavor quicklybuilt base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/433 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-base \
|| meltbuild_error melt-build-script.tpl:521/434 in meltbuild-modules failed to compile translator warmelt-base quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/435 flavor quicklybuilt base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/436 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-debug \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-debug \
|| meltbuild_error melt-build-script.tpl:521/437 in meltbuild-modules failed to compile translator warmelt-debug quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/438 flavor quicklybuilt base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/439 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-macro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-macro \
|| meltbuild_error melt-build-script.tpl:521/440 in meltbuild-modules failed to compile translator warmelt-macro quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/441 flavor quicklybuilt base warmelt-moremacro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/442 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-moremacro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-moremacro \
|| meltbuild_error melt-build-script.tpl:521/443 in meltbuild-modules failed to compile translator warmelt-moremacro quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/444 flavor quicklybuilt base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/445 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normal \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normal \
|| meltbuild_error melt-build-script.tpl:521/446 in meltbuild-modules failed to compile translator warmelt-normal quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/447 flavor quicklybuilt base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/448 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normatch \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normatch \
|| meltbuild_error melt-build-script.tpl:521/449 in meltbuild-modules failed to compile translator warmelt-normatch quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/450 flavor quicklybuilt base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/451 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-genobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-genobj \
|| meltbuild_error melt-build-script.tpl:521/452 in meltbuild-modules failed to compile translator warmelt-genobj quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/453 flavor quicklybuilt base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/454 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-outobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-outobj \
|| meltbuild_error melt-build-script.tpl:521/455 in meltbuild-modules failed to compile translator warmelt-outobj quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/456 flavor quicklybuilt base warmelt-hooks
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/457 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-hooks \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-hooks \
|| meltbuild_error melt-build-script.tpl:521/458 in meltbuild-modules failed to compile translator warmelt-hooks quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/459 flavor quicklybuilt base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/460 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-modes \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-modes \
|| meltbuild_error melt-build-script.tpl:521/461 in meltbuild-modules failed to compile translator warmelt-modes quicklybuilt make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
# in meltbuild_compile_translator_sources optimized melt-build-script.tpl:508/462
meltbuild_info melt-build-script.tpl:509/463 compiling translator optimized
#@ melt-build-script.tpl:512/464 flavor optimized base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/465 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-first \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-first \
|| meltbuild_error melt-build-script.tpl:521/466 in meltbuild-modules failed to compile translator warmelt-first optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/467 flavor optimized base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/468 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-base \
|| meltbuild_error melt-build-script.tpl:521/469 in meltbuild-modules failed to compile translator warmelt-base optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/470 flavor optimized base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/471 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-debug \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-debug \
|| meltbuild_error melt-build-script.tpl:521/472 in meltbuild-modules failed to compile translator warmelt-debug optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/473 flavor optimized base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/474 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-macro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-macro \
|| meltbuild_error melt-build-script.tpl:521/475 in meltbuild-modules failed to compile translator warmelt-macro optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/476 flavor optimized base warmelt-moremacro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/477 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-moremacro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-moremacro \
|| meltbuild_error melt-build-script.tpl:521/478 in meltbuild-modules failed to compile translator warmelt-moremacro optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/479 flavor optimized base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/480 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normal \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normal \
|| meltbuild_error melt-build-script.tpl:521/481 in meltbuild-modules failed to compile translator warmelt-normal optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/482 flavor optimized base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/483 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normatch \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normatch \
|| meltbuild_error melt-build-script.tpl:521/484 in meltbuild-modules failed to compile translator warmelt-normatch optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/485 flavor optimized base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/486 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-genobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-genobj \
|| meltbuild_error melt-build-script.tpl:521/487 in meltbuild-modules failed to compile translator warmelt-genobj optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/488 flavor optimized base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/489 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-outobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-outobj \
|| meltbuild_error melt-build-script.tpl:521/490 in meltbuild-modules failed to compile translator warmelt-outobj optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/491 flavor optimized base warmelt-hooks
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/492 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-hooks \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-hooks \
|| meltbuild_error melt-build-script.tpl:521/493 in meltbuild-modules failed to compile translator warmelt-hooks optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/494 flavor optimized base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/495 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-modes \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-modes \
|| meltbuild_error melt-build-script.tpl:521/496 in meltbuild-modules failed to compile translator warmelt-modes optimized make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
# in meltbuild_compile_translator_sources debugnoline melt-build-script.tpl:508/497
meltbuild_info melt-build-script.tpl:509/498 compiling translator debugnoline
#@ melt-build-script.tpl:512/499 flavor debugnoline base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/500 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-first \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-first \
|| meltbuild_error melt-build-script.tpl:521/501 in meltbuild-modules failed to compile translator warmelt-first debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/502 flavor debugnoline base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/503 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-base \
|| meltbuild_error melt-build-script.tpl:521/504 in meltbuild-modules failed to compile translator warmelt-base debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/505 flavor debugnoline base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/506 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-debug \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-debug \
|| meltbuild_error melt-build-script.tpl:521/507 in meltbuild-modules failed to compile translator warmelt-debug debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/508 flavor debugnoline base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/509 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-macro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-macro \
|| meltbuild_error melt-build-script.tpl:521/510 in meltbuild-modules failed to compile translator warmelt-macro debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/511 flavor debugnoline base warmelt-moremacro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/512 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-moremacro \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-moremacro \
|| meltbuild_error melt-build-script.tpl:521/513 in meltbuild-modules failed to compile translator warmelt-moremacro debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/514 flavor debugnoline base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/515 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normal \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normal \
|| meltbuild_error melt-build-script.tpl:521/516 in meltbuild-modules failed to compile translator warmelt-normal debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/517 flavor debugnoline base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/518 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-normatch \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-normatch \
|| meltbuild_error melt-build-script.tpl:521/519 in meltbuild-modules failed to compile translator warmelt-normatch debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/520 flavor debugnoline base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/521 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-genobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-genobj \
|| meltbuild_error melt-build-script.tpl:521/522 in meltbuild-modules failed to compile translator warmelt-genobj debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/523 flavor debugnoline base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/524 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-outobj \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-outobj \
|| meltbuild_error melt-build-script.tpl:521/525 in meltbuild-modules failed to compile translator warmelt-outobj debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/526 flavor debugnoline base warmelt-hooks
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/527 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-hooks \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-hooks \
|| meltbuild_error melt-build-script.tpl:521/528 in meltbuild-modules failed to compile translator warmelt-hooks debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
#@ melt-build-script.tpl:512/529 flavor debugnoline base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:514/530 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/warmelt-modes \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/warmelt-modes \
|| meltbuild_error melt-build-script.tpl:521/531 in meltbuild-modules failed to compile translator warmelt-modes debugnoline make "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler "$GCCMELT_COMPILER" cflags $GCCMELT_COMPILER_FLAGS
} # end of function meltbuild_compile_translator_modules
################################################################
#################@ melt-build-script.tpl:529/532
function meltbuild_symlink_melt_translator_sources () {
### symlinking the MELT translator code in meltbuild-sources for warmelt-first from melt-build-script.tpl:534/533
meltbuild_info melt-build-script.tpl:536/534 putting MELT translator code of warmelt-first in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-first.melt meltbuild-sources/warmelt-first.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-base from melt-build-script.tpl:534/535
meltbuild_info melt-build-script.tpl:536/536 putting MELT translator code of warmelt-base in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-base.melt meltbuild-sources/warmelt-base.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-debug from melt-build-script.tpl:534/537
meltbuild_info melt-build-script.tpl:536/538 putting MELT translator code of warmelt-debug in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-debug.melt meltbuild-sources/warmelt-debug.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-macro from melt-build-script.tpl:534/539
meltbuild_info melt-build-script.tpl:536/540 putting MELT translator code of warmelt-macro in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-macro.melt meltbuild-sources/warmelt-macro.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-moremacro from melt-build-script.tpl:534/541
meltbuild_info melt-build-script.tpl:536/542 putting MELT translator code of warmelt-moremacro in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-moremacro.melt meltbuild-sources/warmelt-moremacro.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-normal from melt-build-script.tpl:534/543
meltbuild_info melt-build-script.tpl:536/544 putting MELT translator code of warmelt-normal in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-normal.melt meltbuild-sources/warmelt-normal.melt
meltbuild_symlink _warmelt-predef.melt meltbuild-sources/_warmelt-predef.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-normatch from melt-build-script.tpl:534/545
meltbuild_info melt-build-script.tpl:536/546 putting MELT translator code of warmelt-normatch in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-normatch.melt meltbuild-sources/warmelt-normatch.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-genobj from melt-build-script.tpl:534/547
meltbuild_info melt-build-script.tpl:536/548 putting MELT translator code of warmelt-genobj in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-genobj.melt meltbuild-sources/warmelt-genobj.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-outobj from melt-build-script.tpl:534/549
meltbuild_info melt-build-script.tpl:536/550 putting MELT translator code of warmelt-outobj in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-outobj.melt meltbuild-sources/warmelt-outobj.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-hooks from melt-build-script.tpl:534/551
meltbuild_info melt-build-script.tpl:536/552 putting MELT translator code of warmelt-hooks in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-hooks.melt meltbuild-sources/warmelt-hooks.melt
### symlinking the MELT translator code in meltbuild-sources for warmelt-modes from melt-build-script.tpl:534/553
meltbuild_info melt-build-script.tpl:536/554 putting MELT translator code of warmelt-modes in meltbuild-sources
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/warmelt-modes.melt meltbuild-sources/warmelt-modes.melt
} # end of meltbuild_symlink_melt_translator_sources
################@ final translator melt-build-script.tpl:545/555
melt_final_translator_stamp=meltbuild-final-translator.stamp
if [ ! -f $melt_final_translator_stamp -o $melt_final_translator_stamp -ot $GCCMELT_RUNTIME_DEPENDENCY \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-first.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-base.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-debug.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-macro.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-moremacro.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normal.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-normatch.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-genobj.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-outobj.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-hooks.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_MELTSOURCEDIR/warmelt-modes.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_LASTSTAGE/$GCCMELT_LASTSTAGE.stamp ]; then
meltbuild_notice 'Emit Translator Source' melt-build-script.tpl:551/556 emit then translate the MELT translator
meltbuild_info melt-build-script.tpl:552/557 emit then translate the compile translator for $melt_final_translator_stamp
meltbuild_emit_translator_sources
meltbuild_symlink_melt_translator_sources
meltbuild_compile_translator_modules
melt_final_translator_stamptemp=$melt_final_translator_stamp-tmp$$
echo "///MELT translator timestamp file $melt_final_translator_stamp" > $melt_final_translator_stamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $melt_final_translator_stamptemp
#@ melt-build-script.tpl:560/558
$MD5SUM meltbuild-sources/warmelt-first.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-first.cc meltbuild-sources/warmelt-first+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_FIRST_cumulmd5=$(cat meltbuild-sources/warmelt-first.cc meltbuild-sources/warmelt-first+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/559
$MD5SUM meltbuild-sources/warmelt-base.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-base.cc meltbuild-sources/warmelt-base+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_BASE_cumulmd5=$(cat meltbuild-sources/warmelt-base.cc meltbuild-sources/warmelt-base+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/560
$MD5SUM meltbuild-sources/warmelt-debug.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-debug.cc meltbuild-sources/warmelt-debug+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_DEBUG_cumulmd5=$(cat meltbuild-sources/warmelt-debug.cc meltbuild-sources/warmelt-debug+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/561
$MD5SUM meltbuild-sources/warmelt-macro.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-macro.cc meltbuild-sources/warmelt-macro+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_MACRO_cumulmd5=$(cat meltbuild-sources/warmelt-macro.cc meltbuild-sources/warmelt-macro+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/562
$MD5SUM meltbuild-sources/warmelt-moremacro.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-moremacro.cc meltbuild-sources/warmelt-moremacro+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_MOREMACRO_cumulmd5=$(cat meltbuild-sources/warmelt-moremacro.cc meltbuild-sources/warmelt-moremacro+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/563
$MD5SUM meltbuild-sources/warmelt-normal.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/_warmelt-predef.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-normal.cc meltbuild-sources/warmelt-normal+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_NORMAL_cumulmd5=$(cat meltbuild-sources/warmelt-normal.cc meltbuild-sources/warmelt-normal+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/564
$MD5SUM meltbuild-sources/warmelt-normatch.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-normatch.cc meltbuild-sources/warmelt-normatch+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_NORMATCH_cumulmd5=$(cat meltbuild-sources/warmelt-normatch.cc meltbuild-sources/warmelt-normatch+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/565
$MD5SUM meltbuild-sources/warmelt-genobj.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-genobj.cc meltbuild-sources/warmelt-genobj+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_GENOBJ_cumulmd5=$(cat meltbuild-sources/warmelt-genobj.cc meltbuild-sources/warmelt-genobj+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/566
$MD5SUM meltbuild-sources/warmelt-outobj.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-outobj.cc meltbuild-sources/warmelt-outobj+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_OUTOBJ_cumulmd5=$(cat meltbuild-sources/warmelt-outobj.cc meltbuild-sources/warmelt-outobj+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/567
$MD5SUM meltbuild-sources/warmelt-hooks.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-hooks.cc meltbuild-sources/warmelt-hooks+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_HOOKS_cumulmd5=$(cat meltbuild-sources/warmelt-hooks.cc meltbuild-sources/warmelt-hooks+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:560/568
$MD5SUM meltbuild-sources/warmelt-modes.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-modes.cc meltbuild-sources/warmelt-modes+[0-9][0-9].cc >> $melt_final_translator_stamptemp
melt_translator_MODES_cumulmd5=$(cat meltbuild-sources/warmelt-modes.cc meltbuild-sources/warmelt-modes+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
echo "///end timestamp file $melt_final_translator_stamp"
$GCCMELT_MOVE_IF_CHANGE $melt_final_translator_stamptemp $melt_final_translator_stamp
else
meltbuild_info melt-build-script.tpl:571/569 skip final translation of translator stamp $melt_final_translator_stamp
fi
################################################################
#@ melt-build-script.tpl:575/570 making the meltbuild-common.args file to make life easier
# I would often use that meltbuild-common.args for testing, etc.
meltcommon_args=meltbuild-common.args
meltbuild_info melt-build-script.tpl:578/571 making $meltcommon_args
meltcommon_argstemp=$meltcommon_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:580/572"' > $meltcommon_argstemp
meltbuild_arg workdir=meltbuild-workdir >> $meltcommon_argstemp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltcommon_argstemp
meltbuild_arg source-path=meltbuild-sources:$GCCMELT_LASTSTAGE >> $meltcommon_argstemp
meltbuild_arg module-path=meltbuild-modules:$GCCMELT_LASTSTAGE >> $meltcommon_argstemp
meltbuild_arg "module-cflags=\"$GCCMELT_COMPILER_FLAGS\"" >> $meltcommon_argstemp
meltbuild_arg "module-makefile=\"$GCCMELT_MODULE_MK\"" >> $meltcommon_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltcommon_argstemp $meltcommon_args
meltbuild_info melt-build-script.tpl:589/573 $meltcommon_args is
cat $meltcommon_args < /dev/null >&2
################
### the warmelt modules lists melt-build-script.tpl:594/574
if [ ! -f meltbuild-sources/warmelt.quicklybuilt.modlis \
-o meltbuild-sources/warmelt.quicklybuilt.modlis -ot "$melt_final_translator_stamp" ]; then
# melt-build-script.tpl:598/575 warmelt module list quicklybuilt
melt_modlis_temp="meltbuild-sources/warmelt.quicklybuilt.modlis-tmp$$"
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.quicklybuilt >> $melt_modlis_temp
echo warmelt-base.quicklybuilt >> $melt_modlis_temp
echo warmelt-debug.quicklybuilt >> $melt_modlis_temp
echo warmelt-macro.quicklybuilt >> $melt_modlis_temp
echo warmelt-moremacro.quicklybuilt >> $melt_modlis_temp
echo warmelt-normal.quicklybuilt >> $melt_modlis_temp
echo warmelt-normatch.quicklybuilt >> $melt_modlis_temp
echo warmelt-genobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-outobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-hooks.quicklybuilt >> $melt_modlis_temp
echo warmelt-modes.quicklybuilt >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.quicklybuilt.modlis"
fi
if [ ! -f meltbuild-sources/warmelt.optimized.modlis \
-o meltbuild-sources/warmelt.optimized.modlis -ot "$melt_final_translator_stamp" ]; then
# melt-build-script.tpl:598/576 warmelt module list optimized
melt_modlis_temp="meltbuild-sources/warmelt.optimized.modlis-tmp$$"
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.optimized >> $melt_modlis_temp
echo warmelt-base.optimized >> $melt_modlis_temp
echo warmelt-debug.optimized >> $melt_modlis_temp
echo warmelt-macro.optimized >> $melt_modlis_temp
echo warmelt-moremacro.optimized >> $melt_modlis_temp
echo warmelt-normal.optimized >> $melt_modlis_temp
echo warmelt-normatch.optimized >> $melt_modlis_temp
echo warmelt-genobj.optimized >> $melt_modlis_temp
echo warmelt-outobj.optimized >> $melt_modlis_temp
echo warmelt-hooks.optimized >> $melt_modlis_temp
echo warmelt-modes.optimized >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.optimized.modlis"
fi
if [ ! -f meltbuild-sources/warmelt.debugnoline.modlis \
-o meltbuild-sources/warmelt.debugnoline.modlis -ot "$melt_final_translator_stamp" ]; then
# melt-build-script.tpl:598/577 warmelt module list debugnoline
melt_modlis_temp="meltbuild-sources/warmelt.debugnoline.modlis-tmp$$"
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.debugnoline >> $melt_modlis_temp
echo warmelt-base.debugnoline >> $melt_modlis_temp
echo warmelt-debug.debugnoline >> $melt_modlis_temp
echo warmelt-macro.debugnoline >> $melt_modlis_temp
echo warmelt-moremacro.debugnoline >> $melt_modlis_temp
echo warmelt-normal.debugnoline >> $melt_modlis_temp
echo warmelt-normatch.debugnoline >> $melt_modlis_temp
echo warmelt-genobj.debugnoline >> $melt_modlis_temp
echo warmelt-outobj.debugnoline >> $melt_modlis_temp
echo warmelt-hooks.debugnoline >> $melt_modlis_temp
echo warmelt-modes.debugnoline >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.debugnoline.modlis"
fi
################################################################
#@ melt-build-script.tpl:609/578
if [ "$melt_overall_goal" = "translator" ]; then
meltbuild_info melt-build-script.tpl:611/579 done translation overall goal with stamp $melt_final_translator_stamp
exit 0
fi
################################################################
################################################################
### the warmelt modules lists melt-build-script.tpl:617/580
if [ ! -f "meltbuild-sources/warmelt.quicklybuilt.modlis" \
-o "meltbuild-sources/warmelt.quicklybuilt.modlis" -ot $melt_final_translator_stamp ]; then
# melt-build-script.tpl:621/581 warmelt module list quicklybuilt
meltbuild_info melt-build-script.tpl:622/582 generating warmelt module list "meltbuild-sources/warmelt.quicklybuilt.modlis"
melt_modlis_temp="meltbuild-sources/warmelt.quicklybuilt.modlis-tmp$$"
echo "# MELT module list file warmelt.quicklybuilt.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.quicklybuilt >> $melt_modlis_temp
echo warmelt-base.quicklybuilt >> $melt_modlis_temp
echo warmelt-debug.quicklybuilt >> $melt_modlis_temp
echo warmelt-macro.quicklybuilt >> $melt_modlis_temp
echo warmelt-moremacro.quicklybuilt >> $melt_modlis_temp
echo warmelt-normal.quicklybuilt >> $melt_modlis_temp
echo warmelt-normatch.quicklybuilt >> $melt_modlis_temp
echo warmelt-genobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-outobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-hooks.quicklybuilt >> $melt_modlis_temp
echo warmelt-modes.quicklybuilt >> $melt_modlis_temp
#@ melt-build-script.tpl:629/583
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.quicklybuilt.modlis"
else
meltbuild_info melt-build-script.tpl:632/584 keeping warmelt module list "meltbuild-sources/warmelt.quicklybuilt.modlis"
fi
if [ ! -f "meltbuild-sources/warmelt.optimized.modlis" \
-o "meltbuild-sources/warmelt.optimized.modlis" -ot $melt_final_translator_stamp ]; then
# melt-build-script.tpl:621/585 warmelt module list optimized
meltbuild_info melt-build-script.tpl:622/586 generating warmelt module list "meltbuild-sources/warmelt.optimized.modlis"
melt_modlis_temp="meltbuild-sources/warmelt.optimized.modlis-tmp$$"
echo "# MELT module list file warmelt.optimized.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.optimized >> $melt_modlis_temp
echo warmelt-base.optimized >> $melt_modlis_temp
echo warmelt-debug.optimized >> $melt_modlis_temp
echo warmelt-macro.optimized >> $melt_modlis_temp
echo warmelt-moremacro.optimized >> $melt_modlis_temp
echo warmelt-normal.optimized >> $melt_modlis_temp
echo warmelt-normatch.optimized >> $melt_modlis_temp
echo warmelt-genobj.optimized >> $melt_modlis_temp
echo warmelt-outobj.optimized >> $melt_modlis_temp
echo warmelt-hooks.optimized >> $melt_modlis_temp
echo warmelt-modes.optimized >> $melt_modlis_temp
#@ melt-build-script.tpl:629/587
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.optimized.modlis"
else
meltbuild_info melt-build-script.tpl:632/588 keeping warmelt module list "meltbuild-sources/warmelt.optimized.modlis"
fi
if [ ! -f "meltbuild-sources/warmelt.debugnoline.modlis" \
-o "meltbuild-sources/warmelt.debugnoline.modlis" -ot $melt_final_translator_stamp ]; then
# melt-build-script.tpl:621/589 warmelt module list debugnoline
meltbuild_info melt-build-script.tpl:622/590 generating warmelt module list "meltbuild-sources/warmelt.debugnoline.modlis"
melt_modlis_temp="meltbuild-sources/warmelt.debugnoline.modlis-tmp$$"
echo "# MELT module list file warmelt.debugnoline.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
echo warmelt-first.debugnoline >> $melt_modlis_temp
echo warmelt-base.debugnoline >> $melt_modlis_temp
echo warmelt-debug.debugnoline >> $melt_modlis_temp
echo warmelt-macro.debugnoline >> $melt_modlis_temp
echo warmelt-moremacro.debugnoline >> $melt_modlis_temp
echo warmelt-normal.debugnoline >> $melt_modlis_temp
echo warmelt-normatch.debugnoline >> $melt_modlis_temp
echo warmelt-genobj.debugnoline >> $melt_modlis_temp
echo warmelt-outobj.debugnoline >> $melt_modlis_temp
echo warmelt-hooks.debugnoline >> $melt_modlis_temp
echo warmelt-modes.debugnoline >> $melt_modlis_temp
#@ melt-build-script.tpl:629/591
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/warmelt.debugnoline.modlis"
else
meltbuild_info melt-build-script.tpl:632/592 keeping warmelt module list "meltbuild-sources/warmelt.debugnoline.modlis"
fi
################################################################
################################################################
######################### REGENERATION #########################
#@ melt-build-script.tpl:639/593
if [ "$melt_overall_goal" = "regenerate" ]; then
meltbuild_notice regenerating runtime support melt-build-script.tpl:641/594
[ -d meltbuild-sources/generated ] || mkdir meltbuild-sources/generated
meltregen_args=meltbuild-regen.args
meltregen_argstemp="$meltregen_args-tmp$$"
echo ' -DGCCMELT_REGENERATING -DGCCMELT_FROM_ARG="melt-build-script.tpl:645/595"' > $meltregen_argstemp
meltbuild_arg mode=runtypesupport >> $meltregen_argstemp
meltbuild_arg output=meltbuild-sources/generated/meltrunsup >> $meltregen_argstemp
meltbuild_arg workdir=meltbuild-workdir >> $meltregen_argstemp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltregen_argstemp
meltbuild_arg source-path=meltbuild-sources >> $meltregen_argstemp
meltbuild_arg init=@warmelt.quicklybuilt >> $meltregen_argstemp
meltbuild_arg bootstrapping >> $meltregen_argstemp
echo meltbuild-empty-file.c >> $meltregen_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltregen_argstemp $meltregen_args
meltbuild_info melt-build-script.tpl:655/596 $meltregen_args is
cat $meltregen_args < /dev/null >&2
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltregen_args \
|| meltbuild_error melt-build-script.tpl:658/597 failed with arguments @$meltregen_args
meltbuild_info melt-build-script.tpl:659/598 done regenerate overall goal
exit 0
fi
################################################################
################################################################
########################### LIBRARY ############################
################
#@ melt-build-script.tpl:669/599 before library libmelt* modules
################################################################
meltbuild_info melt-build-script.tpl:671/600 before library GCCMELT_SKIPEMITC=$GCCMELT_SKIPEMITC.
meltbuild_info melt-build-script.tpl:673/601 times before library at `date '+%x %H:%M:%S'`: ; times >&2
melt_final_library_stamp=meltbuild-final-library.stamp
function meltbuild_do_library () {
meltbuild_notice 'start doing library' melt-build-script.tpl:678/602 doing library
## meltbuild_do_library libmelt-ana-base melt-build-script.tpl:681/603
meltbuild_info melt-build-script.tpl:682/604 doing library libmelt-ana-base
if [ ! -f meltbuild-sources/libmelt-ana-base.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/libmelt-ana-base.melt meltbuild-sources/libmelt-ana-base.melt
fi
## meltbuild_do_library libmelt-ana-base melt-build-script.tpl:686/605
if [ ! -f meltbuild-sources/libmelt-ana-base.cc -o ! -f meltbuild-sources/libmelt-ana-base+meltdesc.c \
-o meltbuild-sources/libmelt-ana-base+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/libmelt-ana-base+meltdesc.c -ot meltbuild-sources/libmelt-ana-base.melt \
]; then
meltbuild_info melt-build-script.tpl:692/606 emit library C++ code for libmelt-ana-base
meltbuild_emit melt-build-script.tpl:693/607 \
translatefile \
libmelt-ana-base \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized \
"" \
|| meltbuild_error melt-build-script.tpl:700/608 failed to generate C++ code of library libmelt-ana-base
else
meltbuild_info melt-build-script.tpl:702/609 DONT emit library C++ code for libmelt-ana-base
fi
local meltlib_ANA_BASE_cumulmd5=$(cat meltbuild-sources/libmelt-ana-base.cc meltbuild-sources/libmelt-ana-base+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-base.cc \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/610 compiling library module for libmelt-ana-base quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/611 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base \
|| ( meltbuild_notice melt-build-script.tpl:719/612 in meltbuild-modules failure to compile library libmelt-ana-base quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/613 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base ; \
meltbuild_error melt-build-script.tpl:728/614 in meltbuild-modules failed to compile library libmelt-ana-base quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/615 not compiling library module for libmelt-ana-base quicklybuilt
fi
if [ ! -f meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.optimized.so \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-base.cc \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/616 compiling library module for libmelt-ana-base optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/617 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base \
|| ( meltbuild_notice melt-build-script.tpl:719/618 in meltbuild-modules failure to compile library libmelt-ana-base optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/619 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base ; \
meltbuild_error melt-build-script.tpl:728/620 in meltbuild-modules failed to compile library libmelt-ana-base optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/621 not compiling library module for libmelt-ana-base optimized
fi
if [ ! -f meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.debugnoline.so \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-base.cc \
-o meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/622 compiling library module for libmelt-ana-base debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/623 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base \
|| ( meltbuild_notice melt-build-script.tpl:719/624 in meltbuild-modules failure to compile library libmelt-ana-base debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/625 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-base ; \
meltbuild_error melt-build-script.tpl:728/626 in meltbuild-modules failed to compile library libmelt-ana-base debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/627 not compiling library module for libmelt-ana-base debugnoline
fi
## meltbuild_do_library libmelt-ana-tree melt-build-script.tpl:681/628
meltbuild_info melt-build-script.tpl:682/629 doing library libmelt-ana-tree
if [ ! -f meltbuild-sources/libmelt-ana-tree.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/libmelt-ana-tree.melt meltbuild-sources/libmelt-ana-tree.melt
fi
## meltbuild_do_library libmelt-ana-tree melt-build-script.tpl:686/630
if [ ! -f meltbuild-sources/libmelt-ana-tree.cc -o ! -f meltbuild-sources/libmelt-ana-tree+meltdesc.c \
-o meltbuild-sources/libmelt-ana-tree+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/libmelt-ana-tree+meltdesc.c -ot meltbuild-sources/libmelt-ana-tree.melt \
-o meltbuild-sources/libmelt-ana-base+meltdesc.c -ot meltbuild-sources/libmelt-ana-tree+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:692/631 emit library C++ code for libmelt-ana-tree
meltbuild_emit melt-build-script.tpl:693/632 \
translatefile \
libmelt-ana-tree \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized:libmelt-ana-base.quicklybuilt \
"_libmelt-treecode.melt" \
|| meltbuild_error melt-build-script.tpl:700/633 failed to generate C++ code of library libmelt-ana-tree
else
meltbuild_info melt-build-script.tpl:702/634 DONT emit library C++ code for libmelt-ana-tree
fi
local meltlib_ANA_TREE_cumulmd5=$(cat meltbuild-sources/libmelt-ana-tree.cc meltbuild-sources/libmelt-ana-tree+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-tree.cc \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/635 compiling library module for libmelt-ana-tree quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/636 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree \
|| ( meltbuild_notice melt-build-script.tpl:719/637 in meltbuild-modules failure to compile library libmelt-ana-tree quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/638 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree ; \
meltbuild_error melt-build-script.tpl:728/639 in meltbuild-modules failed to compile library libmelt-ana-tree quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/640 not compiling library module for libmelt-ana-tree quicklybuilt
fi
if [ ! -f meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.optimized.so \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-tree.cc \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/641 compiling library module for libmelt-ana-tree optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/642 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree \
|| ( meltbuild_notice melt-build-script.tpl:719/643 in meltbuild-modules failure to compile library libmelt-ana-tree optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/644 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree ; \
meltbuild_error melt-build-script.tpl:728/645 in meltbuild-modules failed to compile library libmelt-ana-tree optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/646 not compiling library module for libmelt-ana-tree optimized
fi
if [ ! -f meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.debugnoline.so \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-tree.cc \
-o meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/647 compiling library module for libmelt-ana-tree debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/648 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree \
|| ( meltbuild_notice melt-build-script.tpl:719/649 in meltbuild-modules failure to compile library libmelt-ana-tree debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/650 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-tree ; \
meltbuild_error melt-build-script.tpl:728/651 in meltbuild-modules failed to compile library libmelt-ana-tree debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/652 not compiling library module for libmelt-ana-tree debugnoline
fi
## meltbuild_do_library libmelt-ana-gimple melt-build-script.tpl:681/653
meltbuild_info melt-build-script.tpl:682/654 doing library libmelt-ana-gimple
if [ ! -f meltbuild-sources/libmelt-ana-gimple.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/libmelt-ana-gimple.melt meltbuild-sources/libmelt-ana-gimple.melt
fi
## meltbuild_do_library libmelt-ana-gimple melt-build-script.tpl:686/655
if [ ! -f meltbuild-sources/libmelt-ana-gimple.cc -o ! -f meltbuild-sources/libmelt-ana-gimple+meltdesc.c \
-o meltbuild-sources/libmelt-ana-gimple+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/libmelt-ana-gimple+meltdesc.c -ot meltbuild-sources/libmelt-ana-gimple.melt \
-o meltbuild-sources/libmelt-ana-base+meltdesc.c -ot meltbuild-sources/libmelt-ana-gimple+meltdesc.c \
-o meltbuild-sources/libmelt-ana-tree+meltdesc.c -ot meltbuild-sources/libmelt-ana-gimple+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:692/656 emit library C++ code for libmelt-ana-gimple
meltbuild_emit melt-build-script.tpl:693/657 \
translatefile \
libmelt-ana-gimple \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized:libmelt-ana-base.quicklybuilt:libmelt-ana-tree.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:700/658 failed to generate C++ code of library libmelt-ana-gimple
else
meltbuild_info melt-build-script.tpl:702/659 DONT emit library C++ code for libmelt-ana-gimple
fi
local meltlib_ANA_GIMPLE_cumulmd5=$(cat meltbuild-sources/libmelt-ana-gimple.cc meltbuild-sources/libmelt-ana-gimple+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-gimple.cc \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/libmelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/660 compiling library module for libmelt-ana-gimple quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/661 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple \
|| ( meltbuild_notice melt-build-script.tpl:719/662 in meltbuild-modules failure to compile library libmelt-ana-gimple quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/663 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple ; \
meltbuild_error melt-build-script.tpl:728/664 in meltbuild-modules failed to compile library libmelt-ana-gimple quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/665 not compiling library module for libmelt-ana-gimple quicklybuilt
fi
if [ ! -f meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.optimized.so \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-gimple.cc \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/libmelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/666 compiling library module for libmelt-ana-gimple optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/667 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple \
|| ( meltbuild_notice melt-build-script.tpl:719/668 in meltbuild-modules failure to compile library libmelt-ana-gimple optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/669 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple ; \
meltbuild_error melt-build-script.tpl:728/670 in meltbuild-modules failed to compile library libmelt-ana-gimple optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/671 not compiling library module for libmelt-ana-gimple optimized
fi
if [ ! -f meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.debugnoline.so \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-gimple.cc \
-o meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/libmelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:710/672 compiling library module for libmelt-ana-gimple debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:712/673 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple \
|| ( meltbuild_notice melt-build-script.tpl:719/674 in meltbuild-modules failure to compile library libmelt-ana-gimple debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:721/675 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/libmelt-ana-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/libmelt-ana-gimple ; \
meltbuild_error melt-build-script.tpl:728/676 in meltbuild-modules failed to compile library libmelt-ana-gimple debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:731/677 not compiling library module for libmelt-ana-gimple debugnoline
fi
## meltbuild_do_library melt-build-script.tpl:735/678
local meltlibstamptemp=$melt_final_library_stamp-tmp$$
echo "///MELT library time stamp $melt_final_library_stamp" > $meltlibstamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-base.melt >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-base.cc meltbuild-sources/libmelt-ana-base+[0-9][0-9].cc >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.quicklybuilt.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.optimized.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-base.meltmod-$meltlib_ANA_BASE_cumulmd5.debugnoline.so >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-tree.melt >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-tree.cc meltbuild-sources/libmelt-ana-tree+[0-9][0-9].cc >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.quicklybuilt.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.optimized.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-tree.meltmod-$meltlib_ANA_TREE_cumulmd5.debugnoline.so >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-gimple.melt >> $meltlibstamptemp
$MD5SUM meltbuild-sources/libmelt-ana-gimple.cc meltbuild-sources/libmelt-ana-gimple+[0-9][0-9].cc >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.quicklybuilt.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.optimized.so >> $meltlibstamptemp
$MD5SUM meltbuild-modules/libmelt-ana-gimple.meltmod-$meltlib_ANA_GIMPLE_cumulmd5.debugnoline.so >> $meltlibstamptemp
echo "///end stamp $melt_final_library_stamp" >> $meltlibstamptemp
$GCCMELT_MOVE_IF_CHANGE $meltlibstamptemp $melt_final_library_stamp
meltbuild_info melt-build-script.tpl:748/679 times after library at `date '+%x %H:%M:%S'`: ; times >&2
} ## end function meltbuild_do_library melt-build-script.tpl:749/680
function meltbuild_do_an_extra () {
xtrabase=$1
meltbuild_notice 'start doing an extra' melt-build-script.tpl:754/681 doing an xtra $xtrabase
if [ ! -f meltbuild-sources/$xtrabase.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/$xtrabase.melt meltbuild-sources/$xtrabase.melt
fi
if [ ! -f meltbuild-sources/$xtrabase.cc -o ! -f meltbuild-sources/$xtrabase+meltdesc.c \
-o meltbuild-sources/$xtrabase+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/$xtrabase+meltdesc.c -ot meltbuild-final-library.stamp \
-o meltbuild-sources/$xtrabase+meltdesc.c -ot meltbuild-sources/$xtrabase.melt \
] ; then
meltbuild_info melt-build-script.tpl:765/682 emit extra C++ code for $xtrabase
meltbuild_emit melt-build-script.tpl:766/683 \
translatefile \
$xtrabase \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized:libmelt-ana-base.quicklybuilt:libmelt-ana-tree.quicklybuilt:libmelt-ana-gimple.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:773/684 failed to generate C++ code of $xtrabase
else
meltbuild_info melt-build-script.tpl:775/685 DONT emit extra C++ code for $xtrabase
fi
# do_an_extra flavor quicklybuilt melt-build-script.tpl:779/686
if [ ! -f meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.quicklybuilt.so \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.quicklybuilt.so -ot meltbuild-sources/$xtrabase.cc \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.quicklybuilt.so -ot meltbuild-sources/$xtrabase+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:784/687 compiling extra module for $xtrabase quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:786/688 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase \
|| ( meltbuild_notice melt-build-script.tpl:793/689 in meltbuild-modules failure to compile extra $xtrabase quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:795/690 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase ; \
meltbuild_error melt-build-script.tpl:802/691 in meltbuild-modules failed to compile library $xtrabase quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:805/692 not compiling extra module for $xtrabase quicklybuilt
fi
# do_an_extra flavor optimized melt-build-script.tpl:779/693
if [ ! -f meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.optimized.so \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.optimized.so -ot meltbuild-sources/$xtrabase.cc \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.optimized.so -ot meltbuild-sources/$xtrabase+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:784/694 compiling extra module for $xtrabase optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:786/695 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase \
|| ( meltbuild_notice melt-build-script.tpl:793/696 in meltbuild-modules failure to compile extra $xtrabase optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:795/697 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase ; \
meltbuild_error melt-build-script.tpl:802/698 in meltbuild-modules failed to compile library $xtrabase optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:805/699 not compiling extra module for $xtrabase optimized
fi
# do_an_extra flavor debugnoline melt-build-script.tpl:779/700
if [ ! -f meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.debugnoline.so \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.debugnoline.so -ot meltbuild-sources/$xtrabase.cc \
-o meltbuild-modules/$xtrabase.meltmod-$meltlib__cumulmd5.debugnoline.so -ot meltbuild-sources/$xtrabase+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:784/701 compiling extra module for $xtrabase debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:786/702 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase \
|| ( meltbuild_notice melt-build-script.tpl:793/703 in meltbuild-modules failure to compile extra $xtrabase debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:795/704 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/$xtrabase \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/$xtrabase ; \
meltbuild_error melt-build-script.tpl:802/705 in meltbuild-modules failed to compile library $xtrabase debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:805/706 not compiling extra module for $xtrabase debugnoline
fi
} ## end function meltbuild_do_an_extra
if [ ! -f "$melt_final_library_stamp" \
-o "$melt_final_library_stamp" -ot "$melt_final_translator_stamp" \
-o "$melt_final_library_stamp" -ot "$GCCMELT_MELTSOURCEDIR/libmelt-ana-base.melt" \
-o "$melt_final_library_stamp" -ot "$GCCMELT_MELTSOURCEDIR/libmelt-ana-tree.melt" \
-o "$melt_final_library_stamp" -ot "$GCCMELT_MELTSOURCEDIR/libmelt-ana-gimple.melt" \
]; then
meltbuild_info melt-build-script.tpl:815/707 building MELT library
meltbuild_do_library
## do an extra xtramelt-ana-simple melt-build-script.tpl:818/708
meltbuild_do_an_extra xtramelt-ana-simple
## do an extra xtramelt-playground melt-build-script.tpl:818/709
meltbuild_do_an_extra xtramelt-playground
else
meltbuild_info melt-build-script.tpl:822/710 not building MELT library because of libstamp "$melt_final_library_stamp"
fi
################################################################
#@ melt-build-script.tpl:826/711
if [ "$melt_overall_goal" = "library" ]; then
meltbuild_info melt-build-script.tpl:828/712 done library overall goal with stamp $melt_final_translator_stamp
meltbuild_notice 'Done library' melt-build-script.tpl:829/713 library overall goal
exit 0
fi
################################################################
################################################################
### the modules lists melt-build-script.tpl:835/714
if [ ! -f "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis" \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis" -ot $melt_final_translator_stamp \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis" -ot $melt_final_library_stamp ]; then
# melt-build-script.tpl:840/715 module list quicklybuilt
meltbuild_info melt-build-script.tpl:841/716 generating module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis"
melt_modlis_temp="meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis-tmp$$"
echo "# MELT module list file $MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
# melt-build-script.tpl:845/717 module list quicklybuilt translator
echo warmelt-first.quicklybuilt >> $melt_modlis_temp
echo warmelt-base.quicklybuilt >> $melt_modlis_temp
echo warmelt-debug.quicklybuilt >> $melt_modlis_temp
echo warmelt-macro.quicklybuilt >> $melt_modlis_temp
echo warmelt-moremacro.quicklybuilt >> $melt_modlis_temp
echo warmelt-normal.quicklybuilt >> $melt_modlis_temp
echo warmelt-normatch.quicklybuilt >> $melt_modlis_temp
echo warmelt-genobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-outobj.quicklybuilt >> $melt_modlis_temp
echo warmelt-hooks.quicklybuilt >> $melt_modlis_temp
echo warmelt-modes.quicklybuilt >> $melt_modlis_temp
# melt-build-script.tpl:849/718 module list quicklybuilt library
echo "# MELT library modules:" >> $melt_modlis_temp
echo libmelt-ana-base.quicklybuilt >> $melt_modlis_temp
echo libmelt-ana-tree.quicklybuilt >> $melt_modlis_temp
echo libmelt-ana-gimple.quicklybuilt >> $melt_modlis_temp
# melt-build-script.tpl:854/719 module list quicklybuilt extra, with mode condition
echo "# MELT extra modules with mode condition:" >> $melt_modlis_temp
printf '# MELT extra module xtramelt-ana-simple\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-ana-simple.melt ] || meltbuild_error melt-build-script.tpl:858/720 missing or empty meltbuild-sources/xtramelt-ana-simple.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-ana-simple.quicklybuilt\n", $2);}} END{printf("# %d MELT modes in xtramelt-ana-simple\n", nbmod);}' meltbuild-sources/xtramelt-ana-simple.melt | sort -u >> $melt_modlis_temp
printf '# MELT extra module xtramelt-playground\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-playground.melt ] || meltbuild_error melt-build-script.tpl:858/721 missing or empty meltbuild-sources/xtramelt-playground.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-playground.quicklybuilt\n", $2);}} END{printf("# %d MELT modes in xtramelt-playground\n", nbmod);}' meltbuild-sources/xtramelt-playground.melt | sort -u >> $melt_modlis_temp
echo "# end MELT module list $MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis" >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis"
else
meltbuild_info melt-build-script.tpl:864/722 keeping module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis"
fi
if [ ! -f "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" -ot $melt_final_translator_stamp \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" -ot $melt_final_library_stamp ]; then
# melt-build-script.tpl:840/723 module list optimized
meltbuild_info melt-build-script.tpl:841/724 generating module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis"
melt_modlis_temp="meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis-tmp$$"
echo "# MELT module list file $MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
# melt-build-script.tpl:845/725 module list optimized translator
echo warmelt-first.optimized >> $melt_modlis_temp
echo warmelt-base.optimized >> $melt_modlis_temp
echo warmelt-debug.optimized >> $melt_modlis_temp
echo warmelt-macro.optimized >> $melt_modlis_temp
echo warmelt-moremacro.optimized >> $melt_modlis_temp
echo warmelt-normal.optimized >> $melt_modlis_temp
echo warmelt-normatch.optimized >> $melt_modlis_temp
echo warmelt-genobj.optimized >> $melt_modlis_temp
echo warmelt-outobj.optimized >> $melt_modlis_temp
echo warmelt-hooks.optimized >> $melt_modlis_temp
echo warmelt-modes.optimized >> $melt_modlis_temp
# melt-build-script.tpl:849/726 module list optimized library
echo "# MELT library modules:" >> $melt_modlis_temp
echo libmelt-ana-base.optimized >> $melt_modlis_temp
echo libmelt-ana-tree.optimized >> $melt_modlis_temp
echo libmelt-ana-gimple.optimized >> $melt_modlis_temp
# melt-build-script.tpl:854/727 module list optimized extra, with mode condition
echo "# MELT extra modules with mode condition:" >> $melt_modlis_temp
printf '# MELT extra module xtramelt-ana-simple\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-ana-simple.melt ] || meltbuild_error melt-build-script.tpl:858/728 missing or empty meltbuild-sources/xtramelt-ana-simple.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-ana-simple.optimized\n", $2);}} END{printf("# %d MELT modes in xtramelt-ana-simple\n", nbmod);}' meltbuild-sources/xtramelt-ana-simple.melt | sort -u >> $melt_modlis_temp
printf '# MELT extra module xtramelt-playground\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-playground.melt ] || meltbuild_error melt-build-script.tpl:858/729 missing or empty meltbuild-sources/xtramelt-playground.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-playground.optimized\n", $2);}} END{printf("# %d MELT modes in xtramelt-playground\n", nbmod);}' meltbuild-sources/xtramelt-playground.melt | sort -u >> $melt_modlis_temp
echo "# end MELT module list $MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis"
else
meltbuild_info melt-build-script.tpl:864/730 keeping module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis"
fi
if [ ! -f "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis" \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis" -ot $melt_final_translator_stamp \
-o "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis" -ot $melt_final_library_stamp ]; then
# melt-build-script.tpl:840/731 module list debugnoline
meltbuild_info melt-build-script.tpl:841/732 generating module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis"
melt_modlis_temp="meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis-tmp$$"
echo "# MELT module list file $MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis" >> $melt_modlis_temp
echo "# MELT translator modules:" >> $melt_modlis_temp
# melt-build-script.tpl:845/733 module list debugnoline translator
echo warmelt-first.debugnoline >> $melt_modlis_temp
echo warmelt-base.debugnoline >> $melt_modlis_temp
echo warmelt-debug.debugnoline >> $melt_modlis_temp
echo warmelt-macro.debugnoline >> $melt_modlis_temp
echo warmelt-moremacro.debugnoline >> $melt_modlis_temp
echo warmelt-normal.debugnoline >> $melt_modlis_temp
echo warmelt-normatch.debugnoline >> $melt_modlis_temp
echo warmelt-genobj.debugnoline >> $melt_modlis_temp
echo warmelt-outobj.debugnoline >> $melt_modlis_temp
echo warmelt-hooks.debugnoline >> $melt_modlis_temp
echo warmelt-modes.debugnoline >> $melt_modlis_temp
# melt-build-script.tpl:849/734 module list debugnoline library
echo "# MELT library modules:" >> $melt_modlis_temp
echo libmelt-ana-base.debugnoline >> $melt_modlis_temp
echo libmelt-ana-tree.debugnoline >> $melt_modlis_temp
echo libmelt-ana-gimple.debugnoline >> $melt_modlis_temp
# melt-build-script.tpl:854/735 module list debugnoline extra, with mode condition
echo "# MELT extra modules with mode condition:" >> $melt_modlis_temp
printf '# MELT extra module xtramelt-ana-simple\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-ana-simple.melt ] || meltbuild_error melt-build-script.tpl:858/736 missing or empty meltbuild-sources/xtramelt-ana-simple.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-ana-simple.debugnoline\n", $2);}} END{printf("# %d MELT modes in xtramelt-ana-simple\n", nbmod);}' meltbuild-sources/xtramelt-ana-simple.melt | sort -u >> $melt_modlis_temp
printf '# MELT extra module xtramelt-playground\n' >> $melt_modlis_temp
[ -s meltbuild-sources/xtramelt-playground.melt ] || meltbuild_error melt-build-script.tpl:858/737 missing or empty meltbuild-sources/xtramelt-playground.melt
$GAWK '-F\"' '/\(install_melt_mode /{if (length($2)>1) {nbmod++;printf("?%s xtramelt-playground.debugnoline\n", $2);}} END{printf("# %d MELT modes in xtramelt-playground\n", nbmod);}' meltbuild-sources/xtramelt-playground.melt | sort -u >> $melt_modlis_temp
echo "# end MELT module list $MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis" >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis"
else
meltbuild_info melt-build-script.tpl:864/738 keeping module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis"
fi
#@ melt-build-script.tpl:868/739
if [ ! -f "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.modlis" ]; then
meltbuild_symlink "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis" "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.modlis"
fi
################################################################
#@ melt-build-script.tpl:874/740 module lists
if [ "$melt_overall_goal" = "modlists" ]; then
meltbuild_info melt-build-script.tpl:876/741 done modlists overall goal with stamp $melt_final_library_stamp
exit 0
fi
################################################################
################################################################
########################### EXTRA ############################
################
#@ melt-build-script.tpl:884/742 before extra libmelt* modules
################################################################
meltbuild_info melt-build-script.tpl:886/743 before extra GCCMELT_SKIPEMITC=$GCCMELT_SKIPEMITC.
meltbuild_info melt-build-script.tpl:888/744 times before extras at `date '+%x %H:%M:%S'`: ; times >&2
melt_final_extra_stamp=meltbuild-final-extra.stamp
function meltbuild_do_extras () {
meltbuild_notice 'start doing extras' melt-build-script.tpl:895/745 doing extras
## meltbuild_do_extras xtramelt-ana-simple melt-build-script.tpl:898/746
meltbuild_info melt-build-script.tpl:899/747 doing extra xtramelt-ana-simple
if [ ! -f meltbuild-sources/xtramelt-ana-simple.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-ana-simple.melt meltbuild-sources/xtramelt-ana-simple.melt
fi
## meltbuild_do_extras xtramelt-ana-simple melt-build-script.tpl:903/748
if [ ! -f meltbuild-sources/xtramelt-ana-simple.cc -o ! -f meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-final-library.stamp \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple.melt \
]; then
meltbuild_info melt-build-script.tpl:908/749 emit extra C++ code for xtramelt-ana-simple
meltbuild_emit melt-build-script.tpl:909/750 \
translatefile \
xtramelt-ana-simple \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized:libmelt-ana-base.optimized:libmelt-ana-tree.optimized:libmelt-ana-gimple.optimized \
"" \
|| meltbuild_error melt-build-script.tpl:916/751 failed to generate C++ code of extra xtramelt-ana-simple
else
meltbuild_info melt-build-script.tpl:918/752 DONT emit extra C++ code for xtramelt-ana-simple
fi
local meltextra_ANA_SIMPLE_cumulmd5=$(cat meltbuild-sources/xtramelt-ana-simple.cc meltbuild-sources/xtramelt-ana-simple+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-simple.cc \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/753 compiling extra module for xtramelt-ana-simple quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/754 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple \
|| ( meltbuild_notice melt-build-script.tpl:935/755 in meltbuild-modules failure to compile extra xtramelt-ana-simple quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/756 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple ; \
meltbuild_error melt-build-script.tpl:944/757 in meltbuild-modules failed to compile extra xtramelt-ana-simple quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/758 not compiling extra module for xtramelt-ana-simple quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-simple.cc \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/759 compiling extra module for xtramelt-ana-simple optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/760 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple \
|| ( meltbuild_notice melt-build-script.tpl:935/761 in meltbuild-modules failure to compile extra xtramelt-ana-simple optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/762 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple ; \
meltbuild_error melt-build-script.tpl:944/763 in meltbuild-modules failed to compile extra xtramelt-ana-simple optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/764 not compiling extra module for xtramelt-ana-simple optimized
fi
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-simple.cc \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/765 compiling extra module for xtramelt-ana-simple debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/766 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple \
|| ( meltbuild_notice melt-build-script.tpl:935/767 in meltbuild-modules failure to compile extra xtramelt-ana-simple debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/768 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-ana-simple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-simple ; \
meltbuild_error melt-build-script.tpl:944/769 in meltbuild-modules failed to compile extra xtramelt-ana-simple debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/770 not compiling extra module for xtramelt-ana-simple debugnoline
fi
## meltbuild_do_extras after build xtramelt-ana-simple melt-build-script.tpl:950/771
## meltbuild_do_extras xtramelt-playground melt-build-script.tpl:898/772
meltbuild_info melt-build-script.tpl:899/773 doing extra xtramelt-playground
if [ ! -f meltbuild-sources/xtramelt-playground.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-playground.melt meltbuild-sources/xtramelt-playground.melt
fi
## meltbuild_do_extras xtramelt-playground melt-build-script.tpl:903/774
if [ ! -f meltbuild-sources/xtramelt-playground.cc -o ! -f meltbuild-sources/xtramelt-playground+meltdesc.c \
-o meltbuild-sources/xtramelt-playground+meltdesc.c -ot meltbuild-final-library.stamp \
-o meltbuild-sources/xtramelt-playground+meltdesc.c -ot meltbuild-sources/xtramelt-playground.melt \
]; then
meltbuild_info melt-build-script.tpl:908/775 emit extra C++ code for xtramelt-playground
meltbuild_emit melt-build-script.tpl:909/776 \
translatefile \
xtramelt-playground \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-moremacro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-hooks.optimized:warmelt-modes.optimized:libmelt-ana-base.optimized:libmelt-ana-tree.optimized:libmelt-ana-gimple.optimized \
"" \
|| meltbuild_error melt-build-script.tpl:916/777 failed to generate C++ code of extra xtramelt-playground
else
meltbuild_info melt-build-script.tpl:918/778 DONT emit extra C++ code for xtramelt-playground
fi
local meltextra_PLAYGROUND_cumulmd5=$(cat meltbuild-sources/xtramelt-playground.cc meltbuild-sources/xtramelt-playground+[0-9][0-9].cc | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-playground.cc \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-playground+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/779 compiling extra module for xtramelt-playground quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/780 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground \
|| ( meltbuild_notice melt-build-script.tpl:935/781 in meltbuild-modules failure to compile extra xtramelt-playground quicklybuilt ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/782 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground ; \
meltbuild_error melt-build-script.tpl:944/783 in meltbuild-modules failed to compile extra xtramelt-playground quicklybuilt \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/784 not compiling extra module for xtramelt-playground quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-playground.cc \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-playground+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/785 compiling extra module for xtramelt-playground optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/786 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground \
|| ( meltbuild_notice melt-build-script.tpl:935/787 in meltbuild-modules failure to compile extra xtramelt-playground optimized ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/788 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground ; \
meltbuild_error melt-build-script.tpl:944/789 in meltbuild-modules failed to compile extra xtramelt-playground optimized \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/790 not compiling extra module for xtramelt-playground optimized
fi
if [ ! -f meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-playground.cc \
-o meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-playground+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:926/791 compiling extra module for xtramelt-playground debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:928/792 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground \
|| ( meltbuild_notice melt-build-script.tpl:935/793 in meltbuild-modules failure to compile extra xtramelt-playground debugnoline ; \
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:937/794 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS -DMELTGCC_NOLINENUMBERING" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-playground \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-playground ; \
meltbuild_error melt-build-script.tpl:944/795 in meltbuild-modules failed to compile extra xtramelt-playground debugnoline \
"($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS )
else
meltbuild_info melt-build-script.tpl:947/796 not compiling extra module for xtramelt-playground debugnoline
fi
## meltbuild_do_extras after build xtramelt-playground melt-build-script.tpl:950/797
## meltbuild_do_extras timestamping melt-build-script.tpl:954/798
local meltextrastamptemp=$melt_final_extra_stamp-tmp$$
echo "///MELT extra time stamp $melt_final_extra_stamp" > $meltextrastamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltextrastamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-simple.melt >> $meltextrastamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-simple.cc meltbuild-sources/xtramelt-ana-simple+[0-9][0-9].cc >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.quicklybuilt.so >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.optimized.so >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltextra_ANA_SIMPLE_cumulmd5.debugnoline.so >> $meltextrastamptemp
## meltbuild_do_extras end extra xtramelt-ana-simple melt-build-script.tpl:964/799
$MD5SUM meltbuild-sources/xtramelt-playground.melt >> $meltextrastamptemp
$MD5SUM meltbuild-sources/xtramelt-playground.cc meltbuild-sources/xtramelt-playground+[0-9][0-9].cc >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.quicklybuilt.so >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.optimized.so >> $meltextrastamptemp
$MD5SUM meltbuild-modules/xtramelt-playground.meltmod-$meltextra_PLAYGROUND_cumulmd5.debugnoline.so >> $meltextrastamptemp
## meltbuild_do_extras end extra xtramelt-playground melt-build-script.tpl:964/800
## meltbuild_do_extras final melt-build-script.tpl:968/801
echo "///end stamp $melt_final_extra_stamp" >> $meltextrastamptemp
$GCCMELT_MOVE_IF_CHANGE $meltextrastamptemp $melt_final_extra_stamp
meltbuild_info melt-build-script.tpl:971/802 times after extras at `date '+%x %H:%M:%S'`: ; times >&2
} ## end function meltbuild_do_extras melt-build-script.tpl:972/803
## building extras melt-build-script.tpl:974/804
if [ ! -f "$melt_final_extra_stamp" \
-o "$melt_final_extra_stamp" -ot "$melt_final_translator_stamp" \
-o "$melt_final_extra_stamp" -ot "$melt_final_library_stamp" \
-o "$melt_final_extra_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-ana-simple.melt" \
-o "$melt_final_extra_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-playground.melt" \
]; then
meltbuild_info melt-build-script.tpl:980/805 building MELT extras
meltbuild_do_extras
else
meltbuild_info melt-build-script.tpl:983/806 not building MELT extra because of xtrastamp "$melt_final_extra_stamp"
fi
## done building extras melt-build-script.tpl:985/807
################################################################
################################################################
#@ melt-build-script.tpl:990/808 runtime self check
## melt-build-script.tpl:992/809 FIXME: should skip that when cross-compiler MELT plugin..
if [ -z "$GCCMELT_RUNTIME_CC" ]; then
meltbuild_error melt-build-script.tpl:995/810 failed because no GCCMELT_RUNTIME_CC shell variable
exit 1
fi
meltcheckruntime_stamp=meltbuild-checkruntime.stamp
if [ ! -f $meltcheckruntime_stamp -o $meltcheckruntime_stamp -ot "$GCCMELT_RUNTIME_ARGS" \
-o $meltcheckruntime_stamp -ot "$GCCMELT_RUNTIME_CC" \
-o $meltcheckruntime_stamp -ot $melt_final_extra_stamp ]; then
#@ melt-build-script.tpl:1003/811 checkruntime
if [ -f melt-no-check-runtime -o -n "$MELTGCC_NO_CHECK_RUNTIME" -o ! -f melt-runtime.ii ]; then
meltbuild_info melt-build-script.tpl:1005/812 skipping check of MELT runtime
else
meltcheckruntime_args=meltbuild-checkruntime.args
meltcheckruntime_argstemp=$meltcheckruntime_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:1009/813"' ' -DGCCMELT_CHECKMELTRUNTIME' > $meltcheckruntime_argstemp
meltbuild_arg mode=meltframe >> $meltcheckruntime_argstemp
meltbuild_arg workdir=meltbuild-workdir >> $meltcheckruntime_argstemp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltcheckruntime_argstemp
meltbuild_arg source-path=meltbuild-sources >> $meltcheckruntime_argstemp
meltbuild_arg module-path=meltbuild-modules >> $meltcheckruntime_argstemp
meltbuild_arg "module-cflags=\"$GCCMELT_COMPILER_FLAGS\"" >> $meltcheckruntime_argstemp
meltbuild_arg bootstrapping >> $meltcheckruntime_argstemp
echo ' -o /dev/null' >> $meltcheckruntime_argstemp
echo melt-runtime.ii >> $meltcheckruntime_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltcheckruntime_argstemp $meltcheckruntime_args
[ -f "$meltcheckruntime_args" ] || meltbuild_error melt-build-script.tpl:1020/814 missing check runtime args "$meltcheckruntime_args"
meltbuild_info melt-build-script.tpl:1021/815 $meltcheckruntime_args is
cat $meltcheckruntime_args < /dev/null >&2
if [ -n "$MELTGCCBUILTIN_BUILD_WITH_CXX" ]; then
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltcheckruntime_args \
|| meltbuild_error melt-build-script.tpl:1025/816 failed $GCCMELT_CC1PLUS with arguments @$meltcheckruntime_args
else
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltcheckruntime_args \
|| meltbuild_error melt-build-script.tpl:1028/817 failed $GCCMELT_CC1PLUS with arguments @$meltcheckruntime_args
fi
meltbuild_info melt-build-script.tpl:1030/818 done check runtime with $meltcheckruntime_args
fi
#@ melt-build-script.tpl:1033/819 checkhello
meltcheckhelloworld_args=meltbuild-checkhelloworld.args
meltcheckhelloworld_argstemp=$meltcheckhelloworld_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:1036/820" -DGCCMELT_CHECKHELLO' > $meltcheckhelloworld_argstemp
meltbuild_arg mode=runfile >> $meltcheckhelloworld_argstemp
meltbuild_arg workdir=meltbuild-workdir >> $meltcheckhelloworld_argstemp
meltbuild_arg module-makefile=$GCCMELT_MODULE_MK >> $meltcheckhelloworld_argstemp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltcheckhelloworld_argstemp
meltbuild_arg source-path=meltbuild-sources >> $meltcheckhelloworld_argstemp
meltbuild_arg module-path=meltbuild-modules >> $meltcheckhelloworld_argstemp
meltbuild_arg "module-cflags=\"$GCCMELT_COMPILER_FLAGS\"" >> $meltcheckhelloworld_argstemp
date +'(code_chunk hello%j #{puts("hello world from MELT %F @" __TIME__"\n")}#)' > meltbuild-hello.melt-tmp$$
$GCCMELT_MOVE_IF_CHANGE meltbuild-hello.melt-tmp$$ meltbuild-hello.melt
meltbuild_arg arg=meltbuild-hello.melt >> $meltcheckhelloworld_argstemp
echo ' meltbuild-empty-file.c -o /dev/null' >> $meltcheckhelloworld_argstemp
cat $GCCMELT_HELLOWORLD_ARGS < /dev/null >> $meltcheckhelloworld_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltcheckhelloworld_argstemp $meltcheckhelloworld_args
[ -f "$meltcheckhelloworld_args" ] || meltbuild_error melt-build-script.tpl:1050/821 missing check helloworld args "$meltcheckhelloworld_args"
meltbuild_info melt-build-script.tpl:1051/822 $meltcheckhelloworld_args is
cat $meltcheckhelloworld_args < /dev/null >&2
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltcheckhelloworld_args \
|| meltbuild_error melt-build-script.tpl:1054/823 running helloworld failed with arguments @$meltcheckhelloworld_args
meltbuild_info melt-build-script.tpl:1055/824 done check helloworld with $meltcheckhelloworld_args
#@ melt-build-script.tpl:1056/825 runtime stamp
meltcheckruntime_stamptemp=$meltcheckruntime_stamp-tmp$$
[ -f "$GCCMELT_RUNTIME_CC" ] || meltbuild_error melt-build-script.tpl:1058/826 missing MELT runtime C++ file $GCCMELT_RUNTIME_CC
echo "/// MELT check runtime timestamp file $meltcheckruntime_stamp" > $meltcheckruntime_stamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltcheckruntime_stamptemp
$MD5SUM $GCCMELT_RUNTIME_CC < /dev/null >> $meltcheckruntime_stamptemp
$MD5SUM meltbuild-hello.melt < /dev/null >> $meltcheckruntime_stamptemp
[ -f "$melt_final_translator_stamp" ] || meltbuild_error melt-build-script.tpl:1063/827 missing final translator stamp "$melt_final_translator_stamp"
[ -f "$melt_final_library_stamp" ] || meltbuild_error melt-build-script.tpl:1064/828 missing final library stamp "$melt_final_library_stamp"
grep meltbuild-modules/ "$melt_final_translator_stamp" "$melt_final_library_stamp" < /dev/null >> $meltcheckruntime_stamptemp
echo "///end timestamp file $meltcheckruntime_stamp" >> $meltcheckruntime_stamptemp
echo
#@ melt-build-script.tpl:1069/829 justcount
meltjustcount_args=meltbuild-justcount.args
meltjustcount_argstemp=$meltjustcount_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:1072/830" -DGCCMELT_JUSTCOUNT -fexceptions melt-runtime.ii ' > $meltjustcount_argstemp
meltbuild_arg mode=justcountipa >> $meltjustcount_argstemp
meltbuild_arg workdir=meltbuild-workdir >> $meltjustcount_argstemp
meltbuild_arg module-makefile=$GCCMELT_MODULE_MK >> $meltjustcount_argstemp
meltbuild_arg tempdir=meltbuild-tempdir >> $meltjustcount_argstemp
meltbuild_arg source-path=meltbuild-sources >> $meltjustcount_argstemp
meltbuild_arg module-path=meltbuild-modules >> $meltjustcount_argstemp
meltbuild_arg "module-cflags=\"$GCCMELT_COMPILER_FLAGS\"" >> $meltjustcount_argstemp
echo ' -O1 -o /dev/null' >> $meltjustcount_argstemp
cat $GCCMELT_JUSTCOUNT_ARGS < /dev/null >> $meltjustcount_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltjustcount_argstemp $meltjustcount_args
[ -f "$meltjustcount_args" ] || meltbuild_error melt-build-script.tpl:1083/831 missing check justcount args "$meltjustcount_args"
meltbuild_info melt-build-script.tpl:1084/832 $meltjustcount_args is
cat $meltjustcount_args < /dev/null >&2
echo
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @$meltjustcount_args \
|| meltbuild_error melt-build-script.tpl:1088/833 running justcount failed with arguments @$meltjustcount_args
meltbuild_info melt-build-script.tpl:1089/834 done check justcount with $meltjustcount_args
echo
$GCCMELT_MOVE_IF_CHANGE $meltcheckruntime_stamptemp $meltcheckruntime_stamp
meltbuild_info melt-build-script.tpl:1093/835 done check runtime $meltcheckruntime_stamp
else
meltbuild_info melt-build-script.tpl:1096/836 keeping runtime checks $meltcheckruntime_stamp
fi
if [ "$melt_overall_goal" = "checkruntime" ]; then
meltbuild_info melt-build-script.tpl:1100/837 done checkruntime overall goal with stamp $meltcheckruntime_stamp
exit 0
fi
################################################################
#@ melt-build-script.tpl:1105/838
if [ "$melt_overall_goal" = "applications" ]; then
meltbuild_info melt-build-script.tpl:1107/839 done applications overall goal with stamp $meltcheckruntime_stamp
exit 0
fi
################################################################
################################################################
### the generated documentation meltgendoc.texi melt-build-script.tpl:1113/840
if [ ! -f meltgendoc.texi -o meltbuild-sources/warmelt-first.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-base.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-debug.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-macro.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-moremacro.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-normal.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-normatch.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-genobj.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-outobj.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-hooks.melt -nt meltgendoc.texi \
-o meltbuild-sources/warmelt-modes.melt -nt meltgendoc.texi \
-o meltbuild-sources/libmelt-ana-base.melt -nt meltgendoc.texi \
-o meltbuild-sources/libmelt-ana-tree.melt -nt meltgendoc.texi \
-o meltbuild-sources/libmelt-ana-gimple.melt -nt meltgendoc.texi ]; then
meltbuild_info melt-build-script.tpl:1117/841 generating meltgendoc.texi
meltgen_args=meltbuild-gendoc.args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:1119/842"' > $meltgen_args
meltbuild_arg mode=makedoc >> $meltgen_args
meltbuild_arg output=meltgendoc.texi >> $meltgen_args
meltbuild_arg init=@$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt >> $meltgen_args
meltbuild_arg workdir=meltbuild-workdir >> $meltgen_args
meltbuild_arg tempdir=meltbuild-tempdir >> $meltgen_args
meltbuild_arg source-path=meltbuild-sources >> $meltgen_args
meltbuild_arg module-path=meltbuild-modules >> $meltgen_args
meltbuild_arg "module-cflags=\"$GCCMELT_COMPILER_FLAGS\"" >> $meltgen_args
meltbuild_arg "module-makefile=\"$GCCMELT_MODULE_MK\"" >> $meltgen_args
meltbuild_arg bootstrapping >> $meltgen_args
meltbuild_arg arglist=warmelt-first.melt,warmelt-base.melt,warmelt-debug.melt,warmelt-macro.melt,warmelt-moremacro.melt,warmelt-normal.melt,warmelt-normatch.melt,warmelt-genobj.melt,warmelt-outobj.melt,warmelt-hooks.melt,warmelt-modes.melt,libmelt-ana-base.melt,libmelt-ana-tree.melt,libmelt-ana-gimple.melt >> $meltgen_args
echo meltbuild-empty-file.c >> $meltgen_args
$GCCMELT_MOVE_IF_CHANGE $meltgen_args meltbuild-gendoc.args
meltbuild_info melt-build-script.tpl:1133/843 meltbuild-gendoc.args is
cat meltbuild-gendoc.args < /dev/null >&2
$GCCMELT_CC1PLUS_PREFIX $GCCMELT_CC1PLUS @meltbuild-gendoc.args \
|| meltbuild_error melt-build-script.tpl:1136/844 "$GCCMELT_CC1PLUS" failed with arguments @meltbuild-gendoc.args
else
meltbuild_info melt-build-script.tpl:1138/845 keeping meltgendoc.texi
fi
################
meltbuild_info melt-build-script.tpl:1142/846 successfully done with times at `date '+%x %H:%M:%S'`: ; times >&2
################################################################
#@ melt-build-script.tpl:1145/847
if [ "$melt_overall_goal" = "gendoc" ]; then
meltbuild_info melt-build-script.tpl:1147/848 done gendoc overall goal with stamp $melt_final_translator_stamp
exit 0
fi
## #@ melt-build-script.tpl:1151/849 if we get here something is wrong in this script
meltbuild_error melt-build-script.tpl:1152/850 unexpected MELT overall goal "$melt_overall_goal" buggy melt-build-script.tpl
#@ eof melt-build-script.tpl:1153/851 end of generated melt-build-script.sh
|