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
|
#!/bin/bash
#@! -*- buffer-read-only: t -*- vi: set ro:
#@#@#
#@#@# DO NOT EDIT THIS FILE (melt-build-script.sh)
#@#@#
#@#@# It has been AutoGen-ed August 29, 2012 at 02:22:29 PM by AutoGen 5.16
#@#@# 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 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.16 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.
shopt -s nullglob
## set the overallgoal melt-build-script.tpl:32/1
melt_overall_goal=$1
if [ -z "$melt_overall_goal" ]; then
melt_overall_goal=gendoc
fi
## source the builtin settings melt-build-script.tpl:38/2 generated from the MELT runtime
. ./melt-build-settings.sh
## source the parameters melt-build-script.tpl:41/3
. ./melt-build-param.sh
export GAWK=${GAWK:=gawk}
export MD5SUM=${MD5SUM:=md5sum}
## internal variables for this script melt-build-script.tpl:47/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:62/5
function meltbuild_error () {
echo MELT BUILD SCRIPT FAILURE: $@ > /dev/stderr
exit 1
}
## symbolic linking
function meltbuild_symlink () {
ln -svf `realpath $1` $2
}
## our info function
function meltbuild_info () {
echo MELT BUILD SCRIPT INFO: $@ > /dev/stderr
}
## 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:90/6 missing MELT runtime dependency "$GCCMELT_RUNTIME_DEPENDENCY"
fi
if [ -z "$GCCMELT_CC1" ]; then
meltbuild_error melt-build-script.tpl:94/7 missing GCCMELT_CC1
fi
if [ ! -f meltrunsup.h ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/meltrunsup.h meltrunsup.h
meltbuild_info melt-build-script.tpl:99/8 symlinking meltrunsup.h header
fi
GCCMELT_RUNTIME_DEPENDENCY_MD5SUM=$($MD5SUM "$GCCMELT_RUNTIME_DEPENDENCY" | cut -b 1-32)
case $melt_overall_goal in
translator) ;;
applications) ;;
modlists) ;;
checkruntime) ;;
gendoc) ;;
regenerate) ;;
*) meltbuild_error melt-build-script.tpl:111/9 bad MELT overall goal "$melt_overall_goal:" \
expecting translator, applications, modlists, checkruntime or 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:120/10
GCCMELT_TRANSLATOR_BASE=( warmelt-first \
warmelt-base \
warmelt-debug \
warmelt-macro \
warmelt-normal \
warmelt-normatch \
warmelt-genobj \
warmelt-outobj \
warmelt-modes )
case $GCCMELT_ZERO_FLAVOR in
optimized) ;;
dynamic) ;;
debugnoline) ;;
quicklybuilt) ;;
*) meltbuild_error melt-build-script.tpl:128/11 bad zero flavor $GCCMELT_ZERO_FLAVOR ;;
esac
## our stage0 melt-build-script.tpl:132/12
[ -d $GCCMELT_STAGE_ZERO ] || mkdir $GCCMELT_STAGE_ZERO
function meltbuild_do_stage_zero () {
meltbuild_info making stage0 warmelt-first melt-build-script.tpl:139/13
## stage0 melt-build-script.tpl:141/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:146/15 symlink melt/generated source code warmelt-first
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-first.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-first.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-first+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/16 symlink stamp warmelt-first
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-first+melttime.h" ]; then
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:162/17
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:166/18 >> $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:170/19' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-first+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/20' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_FIRST_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-first._NOMDFIVESUM_.$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:191/21 generated stagezero makedep $MELT_ZERO_GENERATED_FIRST_BUILDMK
ls -l $MELT_ZERO_GENERATED_FIRST_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/22 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/23 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:207/24 stage0 warmelt-first module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-first.meltmod-$MELT_ZERO_GENERATED_FIRST_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/25 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:212/26 successfully build stage0 warmelt-first
# end stage0 melt-build-script.tpl:213/27 base warmelt-first
meltbuild_info making stage0 warmelt-base melt-build-script.tpl:139/28
## stage0 melt-build-script.tpl:141/29 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:146/30 symlink melt/generated source code warmelt-base
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-base.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-base.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-base+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/31 symlink stamp warmelt-base
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-base+melttime.h" ]; then
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:162/32
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:166/33 >> $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:170/34' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-base+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/35' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_BASE_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-base._NOMDFIVESUM_.$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:191/36 generated stagezero makedep $MELT_ZERO_GENERATED_BASE_BUILDMK
ls -l $MELT_ZERO_GENERATED_BASE_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/37 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/38 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:207/39 stage0 warmelt-base module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-base.meltmod-$MELT_ZERO_GENERATED_BASE_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/40 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:212/41 successfully build stage0 warmelt-base
# end stage0 melt-build-script.tpl:213/42 base warmelt-base
meltbuild_info making stage0 warmelt-debug melt-build-script.tpl:139/43
## stage0 melt-build-script.tpl:141/44 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:146/45 symlink melt/generated source code warmelt-debug
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-debug.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-debug+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/46 symlink stamp warmelt-debug
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-debug+melttime.h" ]; then
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:162/47
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:166/48 >> $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:170/49' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-debug+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/50' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_DEBUG_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-debug._NOMDFIVESUM_.$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:191/51 generated stagezero makedep $MELT_ZERO_GENERATED_DEBUG_BUILDMK
ls -l $MELT_ZERO_GENERATED_DEBUG_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/52 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/53 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:207/54 stage0 warmelt-debug module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-debug.meltmod-$MELT_ZERO_GENERATED_DEBUG_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/55 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:212/56 successfully build stage0 warmelt-debug
# end stage0 melt-build-script.tpl:213/57 base warmelt-debug
meltbuild_info making stage0 warmelt-macro melt-build-script.tpl:139/58
## stage0 melt-build-script.tpl:141/59 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:146/60 symlink melt/generated source code warmelt-macro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-macro.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-macro+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/61 symlink stamp warmelt-macro
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-macro+melttime.h" ]; then
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:162/62
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:166/63 >> $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:170/64' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-macro+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/65' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_MACRO_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-macro._NOMDFIVESUM_.$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:191/66 generated stagezero makedep $MELT_ZERO_GENERATED_MACRO_BUILDMK
ls -l $MELT_ZERO_GENERATED_MACRO_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/67 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/68 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:207/69 stage0 warmelt-macro module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-macro.meltmod-$MELT_ZERO_GENERATED_MACRO_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/70 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:212/71 successfully build stage0 warmelt-macro
# end stage0 melt-build-script.tpl:213/72 base warmelt-macro
meltbuild_info making stage0 warmelt-normal melt-build-script.tpl:139/73
## stage0 melt-build-script.tpl:141/74 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:146/75 symlink melt/generated source code warmelt-normal
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normal.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-normal+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/76 symlink stamp warmelt-normal
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normal+melttime.h" ]; then
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:162/77
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:166/78 >> $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:170/79' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-normal+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/80' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMAL_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-normal._NOMDFIVESUM_.$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:191/81 generated stagezero makedep $MELT_ZERO_GENERATED_NORMAL_BUILDMK
ls -l $MELT_ZERO_GENERATED_NORMAL_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/82 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/83 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:207/84 stage0 warmelt-normal module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-normal.meltmod-$MELT_ZERO_GENERATED_NORMAL_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/85 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:212/86 successfully build stage0 warmelt-normal
# end stage0 melt-build-script.tpl:213/87 base warmelt-normal
meltbuild_info making stage0 warmelt-normatch melt-build-script.tpl:139/88
## stage0 melt-build-script.tpl:141/89 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:146/90 symlink melt/generated source code warmelt-normatch
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normatch.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-normatch+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/91 symlink stamp warmelt-normatch
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-normatch+melttime.h" ]; then
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:162/92
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:166/93 >> $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:170/94' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-normatch+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/95' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_NORMATCH_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-normatch._NOMDFIVESUM_.$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:191/96 generated stagezero makedep $MELT_ZERO_GENERATED_NORMATCH_BUILDMK
ls -l $MELT_ZERO_GENERATED_NORMATCH_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/97 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/98 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:207/99 stage0 warmelt-normatch module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-normatch.meltmod-$MELT_ZERO_GENERATED_NORMATCH_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/100 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:212/101 successfully build stage0 warmelt-normatch
# end stage0 melt-build-script.tpl:213/102 base warmelt-normatch
meltbuild_info making stage0 warmelt-genobj melt-build-script.tpl:139/103
## stage0 melt-build-script.tpl:141/104 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:146/105 symlink melt/generated source code warmelt-genobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-genobj.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-genobj+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/106 symlink stamp warmelt-genobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-genobj+melttime.h" ]; then
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:162/107
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:166/108 >> $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:170/109' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-genobj+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/110' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_GENOBJ_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-genobj._NOMDFIVESUM_.$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:191/111 generated stagezero makedep $MELT_ZERO_GENERATED_GENOBJ_BUILDMK
ls -l $MELT_ZERO_GENERATED_GENOBJ_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/112 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/113 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:207/114 stage0 warmelt-genobj module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-genobj.meltmod-$MELT_ZERO_GENERATED_GENOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/115 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:212/116 successfully build stage0 warmelt-genobj
# end stage0 melt-build-script.tpl:213/117 base warmelt-genobj
meltbuild_info making stage0 warmelt-outobj melt-build-script.tpl:139/118
## stage0 melt-build-script.tpl:141/119 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:146/120 symlink melt/generated source code warmelt-outobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-outobj.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-outobj+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/121 symlink stamp warmelt-outobj
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-outobj+melttime.h" ]; then
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:162/122
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:166/123 >> $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:170/124' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-outobj+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/125' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-outobj._NOMDFIVESUM_.$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:191/126 generated stagezero makedep $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK
ls -l $MELT_ZERO_GENERATED_OUTOBJ_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/127 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/128 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:207/129 stage0 warmelt-outobj module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-outobj.meltmod-$MELT_ZERO_GENERATED_OUTOBJ_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/130 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:212/131 successfully build stage0 warmelt-outobj
# end stage0 melt-build-script.tpl:213/132 base warmelt-outobj
meltbuild_info making stage0 warmelt-modes melt-build-script.tpl:139/133
## stage0 melt-build-script.tpl:141/134 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:146/135 symlink melt/generated source code warmelt-modes
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-modes.c" ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes.c $GCCMELT_STAGE_ZERO/
for f in $GCCMELT_MELTSOURCEDIR/generated/warmelt-modes+[0-9][0-9].c ; do
meltbuild_symlink $f $GCCMELT_STAGE_ZERO/`basename $f`
done
fi
## stage0 melt-build-script.tpl:154/136 symlink stamp warmelt-modes
if [ ! -f "$GCCMELT_STAGE_ZERO/warmelt-modes+melttime.h" ]; then
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:162/137
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:166/138 >> $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:170/139' >> $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.c $GCCMELT_STAGE_ZERO/warmelt-modes+[0-9][0-9].c; do
echo >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
echo $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$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:178/140' >> $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].c; do
echo " " $GCCMELT_STAGE_ZERO/`basename $f .c`._NOMDFIVESUM_.$GCCMELT_ZERO_FLAVOR.meltpic.o \\ >> $MELT_ZERO_GENERATED_MODES_BUILDMK-tmp$$
done
echo " " $GCCMELT_STAGE_ZERO/warmelt-modes._NOMDFIVESUM_.$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:191/141 generated stagezero makedep $MELT_ZERO_GENERATED_MODES_BUILDMK
ls -l $MELT_ZERO_GENERATED_MODES_BUILDMK > /dev/stderr
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=stagezero-melt-build-script.tpl:195/142 \
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_CC1_DEPENDENCIES" \
|| meltbuild_error melt-build-script.tpl:205/143 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:207/144 stage0 warmelt-modes module
ls -l "$GCCMELT_STAGE_ZERO/warmelt-modes.meltmod-$MELT_ZERO_GENERATED_MODES_CUMULMD5.$GCCMELT_ZERO_FLAVOR.so" > /dev/stderr \
|| meltbuild_error melt-build-script.tpl:209/145 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:212/146 successfully build stage0 warmelt-modes
# end stage0 melt-build-script.tpl:213/147 base warmelt-modes
} ################ end of function meltbuild_do_stage_zero melt-build-script.tpl:215/148
################################################################
## stage0 stamp file melt-build-script.tpl:218/149
melt_stagezero_stamp=$GCCMELT_STAGE_ZERO/$GCCMELT_STAGE_ZERO.stamp
## test if stage0 should be skipped then do it melt-build-script.tpl:221/150
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:225/151 > $melt_stagezero_stamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $melt_stagezero_stamptemp
# stagezero stamp melt-build-script.tpl:228/152 base warmelt-first
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-first.c $GCCMELT_STAGE_ZERO/warmelt-first+[0-9][0-9].c >> $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:228/153 base warmelt-base
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-base.c $GCCMELT_STAGE_ZERO/warmelt-base+[0-9][0-9].c >> $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:228/154 base warmelt-debug
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-debug.c $GCCMELT_STAGE_ZERO/warmelt-debug+[0-9][0-9].c >> $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:228/155 base warmelt-macro
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-macro.c $GCCMELT_STAGE_ZERO/warmelt-macro+[0-9][0-9].c >> $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:228/156 base warmelt-normal
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normal.c $GCCMELT_STAGE_ZERO/warmelt-normal+[0-9][0-9].c >> $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:228/157 base warmelt-normatch
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-normatch.c $GCCMELT_STAGE_ZERO/warmelt-normatch+[0-9][0-9].c >> $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:228/158 base warmelt-genobj
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-genobj.c $GCCMELT_STAGE_ZERO/warmelt-genobj+[0-9][0-9].c >> $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:228/159 base warmelt-outobj
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-outobj.c $GCCMELT_STAGE_ZERO/warmelt-outobj+[0-9][0-9].c >> $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:228/160 base warmelt-modes
$MD5SUM $GCCMELT_STAGE_ZERO/warmelt-modes.c $GCCMELT_STAGE_ZERO/warmelt-modes+[0-9][0-9].c >> $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:234/161 skipped stage0 because of stamp file $melt_stagezero_stamp
fi
meltbuild_info melt-build-script.tpl:237/162 times after stagezero at `date '+%x %H:%M:%S'`: ; times > /dev/stderr
################################################################
## function to run MELT to emit C code melt-build-script.tpl:242/163
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 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
## 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 > /dev/stderr
if [ -z "$GCCMELT_SKIPEMITC" ]; then
$GCCMELT_CC1_PREFIX $GCCMELT_CC1 @$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].c ; do
if grep -q `basename $meltcsecfil` "$meltstage/$meltbase.cfilist" ; then
: # at melt-build-script.tpl:294/164
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
ls -l $meltprevstage/$meltbase*
for meltprevf in $meltprevstage/$meltbase.c $meltprevstage/$meltbase+[0-9][0-9].c $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
fi
GCCMELT_STAGE=$meltstage
GCCMELT_BASE=$meltbase
} ################################ end function meltbuild_emit
################################################################
################################################################
#################@ before our stages melt-build-script.tpl:314/165
### 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:323/166
function meltbuild_do_stage () {
local meltfrom=$1
local meltcurstagedir=$2
local meltcurflavor=$3
local meltprevstagedir=$4
local meltprevflavor=$5
local meltchecksum_FIRST
local meltchecksum_BASE
local meltchecksum_DEBUG
local meltchecksum_MACRO
local meltchecksum_NORMAL
local meltchecksum_NORMATCH
local meltchecksum_GENOBJ
local meltchecksum_OUTOBJ
local meltchecksum_MODES
local meltstamp
local meltstamptmp
#### meltbuild_do_stage melt-build-script.tpl:336/167
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:346/168 base warmelt-first
meltbuild_info melt-build-script.tpl:347/169 from $meltfrom generating C code of warmelt-first in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/170 emit C code for warmelt-first
meltbuild_emit melt-build-script.tpl:350/171-$meltfrom \
translateinit \
warmelt-first \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltprevstagedir/warmelt-first.$meltprevflavor:$meltprevstagedir/warmelt-base.$meltprevflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/172 checksum C code for warmelt-first
meltchecksum_cumul_FIRST=$(cat "$meltcurstagedir"/warmelt-first.c "$meltcurstagedir"/warmelt-first+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/173 perhaps compiling C code for warmelt-first
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/174-$meltfrom compiling module warmelt-first in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/175-$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_error melt-build-script.tpl:376/176-$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:378/177-$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:384/178 done base warmelt-first
#in meltbuild_do_stage melt-build-script.tpl:346/179 base warmelt-base
meltbuild_info melt-build-script.tpl:347/180 from $meltfrom generating C code of warmelt-base in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/181 emit C code for warmelt-base
meltbuild_emit melt-build-script.tpl:350/182-$meltfrom \
translatefile \
warmelt-base \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltprevstagedir/warmelt-base.$meltprevflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/183 checksum C code for warmelt-base
meltchecksum_cumul_BASE=$(cat "$meltcurstagedir"/warmelt-base.c "$meltcurstagedir"/warmelt-base+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/184 perhaps compiling C code for warmelt-base
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/185-$meltfrom compiling module warmelt-base in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/186-$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_error melt-build-script.tpl:376/187-$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:378/188-$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:384/189 done base warmelt-base
#in meltbuild_do_stage melt-build-script.tpl:346/190 base warmelt-debug
meltbuild_info melt-build-script.tpl:347/191 from $meltfrom generating C code of warmelt-debug in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/192 emit C code for warmelt-debug
meltbuild_emit melt-build-script.tpl:350/193-$meltfrom \
translatefile \
warmelt-debug \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltprevstagedir/warmelt-debug.$meltprevflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/194 checksum C code for warmelt-debug
meltchecksum_cumul_DEBUG=$(cat "$meltcurstagedir"/warmelt-debug.c "$meltcurstagedir"/warmelt-debug+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/195 perhaps compiling C code for warmelt-debug
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/196-$meltfrom compiling module warmelt-debug in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/197-$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_error melt-build-script.tpl:376/198-$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:378/199-$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:384/200 done base warmelt-debug
#in meltbuild_do_stage melt-build-script.tpl:346/201 base warmelt-macro
meltbuild_info melt-build-script.tpl:347/202 from $meltfrom generating C code of warmelt-macro in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/203 emit C code for warmelt-macro
meltbuild_emit melt-build-script.tpl:350/204-$meltfrom \
translatefile \
warmelt-macro \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltprevstagedir/warmelt-macro.$meltprevflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/205 checksum C code for warmelt-macro
meltchecksum_cumul_MACRO=$(cat "$meltcurstagedir"/warmelt-macro.c "$meltcurstagedir"/warmelt-macro+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/206 perhaps compiling C code for warmelt-macro
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/207-$meltfrom compiling module warmelt-macro in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/208-$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_error melt-build-script.tpl:376/209-$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:378/210-$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:384/211 done base warmelt-macro
#in meltbuild_do_stage melt-build-script.tpl:346/212 base warmelt-normal
meltbuild_info melt-build-script.tpl:347/213 from $meltfrom generating C code of warmelt-normal in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/214 emit C code for warmelt-normal
meltbuild_emit melt-build-script.tpl:350/215-$meltfrom \
translatefile \
warmelt-normal \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltprevstagedir/warmelt-normal.$meltprevflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
"warmelt-predef.melt"
#in meltbuild_do_stage melt-build-script.tpl:362/216 checksum C code for warmelt-normal
meltchecksum_cumul_NORMAL=$(cat "$meltcurstagedir"/warmelt-normal.c "$meltcurstagedir"/warmelt-normal+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/217 perhaps compiling C code for warmelt-normal
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/218-$meltfrom compiling module warmelt-normal in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/219-$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_error melt-build-script.tpl:376/220-$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:378/221-$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:384/222 done base warmelt-normal
#in meltbuild_do_stage melt-build-script.tpl:346/223 base warmelt-normatch
meltbuild_info melt-build-script.tpl:347/224 from $meltfrom generating C code of warmelt-normatch in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/225 emit C code for warmelt-normatch
meltbuild_emit melt-build-script.tpl:350/226-$meltfrom \
translatefile \
warmelt-normatch \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltprevstagedir/warmelt-normatch.$meltprevflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/227 checksum C code for warmelt-normatch
meltchecksum_cumul_NORMATCH=$(cat "$meltcurstagedir"/warmelt-normatch.c "$meltcurstagedir"/warmelt-normatch+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/228 perhaps compiling C code for warmelt-normatch
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/229-$meltfrom compiling module warmelt-normatch in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/230-$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_error melt-build-script.tpl:376/231-$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:378/232-$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:384/233 done base warmelt-normatch
#in meltbuild_do_stage melt-build-script.tpl:346/234 base warmelt-genobj
meltbuild_info melt-build-script.tpl:347/235 from $meltfrom generating C code of warmelt-genobj in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/236 emit C code for warmelt-genobj
meltbuild_emit melt-build-script.tpl:350/237-$meltfrom \
translatefile \
warmelt-genobj \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltprevstagedir/warmelt-genobj.$meltprevflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/238 checksum C code for warmelt-genobj
meltchecksum_cumul_GENOBJ=$(cat "$meltcurstagedir"/warmelt-genobj.c "$meltcurstagedir"/warmelt-genobj+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/239 perhaps compiling C code for warmelt-genobj
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/240-$meltfrom compiling module warmelt-genobj in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/241-$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_error melt-build-script.tpl:376/242-$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:378/243-$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:384/244 done base warmelt-genobj
#in meltbuild_do_stage melt-build-script.tpl:346/245 base warmelt-outobj
meltbuild_info melt-build-script.tpl:347/246 from $meltfrom generating C code of warmelt-outobj in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/247 emit C code for warmelt-outobj
meltbuild_emit melt-build-script.tpl:350/248-$meltfrom \
translatefile \
warmelt-outobj \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltcurstagedir/warmelt-genobj.$meltcurflavor:$meltprevstagedir/warmelt-outobj.$meltprevflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/249 checksum C code for warmelt-outobj
meltchecksum_cumul_OUTOBJ=$(cat "$meltcurstagedir"/warmelt-outobj.c "$meltcurstagedir"/warmelt-outobj+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/250 perhaps compiling C code for warmelt-outobj
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/251-$meltfrom compiling module warmelt-outobj in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/252-$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_error melt-build-script.tpl:376/253-$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:378/254-$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:384/255 done base warmelt-outobj
#in meltbuild_do_stage melt-build-script.tpl:346/256 base warmelt-modes
meltbuild_info melt-build-script.tpl:347/257 from $meltfrom generating C code of warmelt-modes in $meltcurstagedir
#in meltbuild_do_stage melt-build-script.tpl:349/258 emit C code for warmelt-modes
meltbuild_emit melt-build-script.tpl:350/259-$meltfrom \
translatefile \
warmelt-modes \
"$meltcurstagedir" \
"$meltprevstagedir" \
$meltcurstagedir/warmelt-first.$meltcurflavor:$meltcurstagedir/warmelt-base.$meltcurflavor:$meltcurstagedir/warmelt-debug.$meltcurflavor:$meltcurstagedir/warmelt-macro.$meltcurflavor:$meltcurstagedir/warmelt-normal.$meltcurflavor:$meltcurstagedir/warmelt-normatch.$meltcurflavor:$meltcurstagedir/warmelt-genobj.$meltcurflavor:$meltcurstagedir/warmelt-outobj.$meltcurflavor:$meltprevstagedir/warmelt-modes.$meltprevflavor \
""
#in meltbuild_do_stage melt-build-script.tpl:362/260 checksum C code for warmelt-modes
meltchecksum_cumul_MODES=$(cat "$meltcurstagedir"/warmelt-modes.c "$meltcurstagedir"/warmelt-modes+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#in meltbuild_do_stage melt-build-script.tpl:365/261 perhaps compiling C code for warmelt-modes
if [ -z "$GCCMELT_SKIPEMITC" ]; then
meltbuild_info melt-build-script.tpl:367/262-$meltfrom compiling module warmelt-modes in "$meltcurstagedir"
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM="melt-build-script.tpl:369/263-$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_error melt-build-script.tpl:376/264-$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:378/265-$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:384/266 done base warmelt-modes
#in meltbuild_do_stage melt-build-script.tpl:387/267 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.c $meltcurstagedir/warmelt-first+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-first.meltmod-$meltchecksum_cumul_FIRST.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-base.c $meltcurstagedir/warmelt-base+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-base.meltmod-$meltchecksum_cumul_BASE.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-debug.c $meltcurstagedir/warmelt-debug+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-debug.meltmod-$meltchecksum_cumul_DEBUG.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-macro.c $meltcurstagedir/warmelt-macro+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-macro.meltmod-$meltchecksum_cumul_MACRO.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-normal.c $meltcurstagedir/warmelt-normal+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-normal.meltmod-$meltchecksum_cumul_NORMAL.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-normatch.c $meltcurstagedir/warmelt-normatch+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-normatch.meltmod-$meltchecksum_cumul_NORMATCH.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-genobj.c $meltcurstagedir/warmelt-genobj+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-genobj.meltmod-$meltchecksum_cumul_GENOBJ.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-outobj.c $meltcurstagedir/warmelt-outobj+[0-9][0-9].c >> $meltstamptmp
$MD5SUM "$meltcurstagedir/warmelt-outobj.meltmod-$meltchecksum_cumul_OUTOBJ.$meltcurflavor.so" >> $meltstamptmp
$MD5SUM $meltcurstagedir/warmelt-modes.c $meltcurstagedir/warmelt-modes+[0-9][0-9].c >> $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:399/268 ending
meltbuild_info $meltfrom done stage $meltcurstagedir flavor $meltcurflavor previous $meltprevstagedir previous flavor $meltprevflavor timestamp $meltstamp
} #### end meltbuild_do_stage melt-build-script.tpl:402/269
################################################################
##### possibly run all our stages melt-build-script.tpl:405/270
#@ melt-build-script.tpl:407/271 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-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-modes.melt \
]; then
meltbuild_info melt-build-script.tpl:412/272 building stage meltbuild-stage1
## building stage meltbuild-stage1 previous $GCCMELT_STAGE_ZERO melt-build-script.tpl:413/273
meltbuild_do_stage melt-build-script.tpl:414/274 meltbuild-stage1 quicklybuilt $GCCMELT_STAGE_ZERO $GCCMELT_ZERO_FLAVOR
else
meltbuild_info melt-build-script.tpl:416/275 skipping stage meltbuild-stage1
fi
## melt-build-script.tpl:419/276
GCCMELT_LASTSTAGE=meltbuild-stage1
#@ melt-build-script.tpl:407/277 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-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-modes.melt \
]; then
meltbuild_info melt-build-script.tpl:412/278 building stage meltbuild-stage2
## building stage meltbuild-stage2 previous meltbuild-stage1 melt-build-script.tpl:413/279
meltbuild_do_stage melt-build-script.tpl:414/280 meltbuild-stage2 quicklybuilt meltbuild-stage1 quicklybuilt
else
meltbuild_info melt-build-script.tpl:416/281 skipping stage meltbuild-stage2
fi
## melt-build-script.tpl:419/282
GCCMELT_LASTSTAGE=meltbuild-stage2
#@ melt-build-script.tpl:407/283 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-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-modes.melt \
]; then
meltbuild_info melt-build-script.tpl:412/284 building stage meltbuild-stage3
## building stage meltbuild-stage3 previous meltbuild-stage2 melt-build-script.tpl:413/285
meltbuild_do_stage melt-build-script.tpl:414/286 meltbuild-stage3 quicklybuilt meltbuild-stage2 quicklybuilt
else
meltbuild_info melt-build-script.tpl:416/287 skipping stage meltbuild-stage3
fi
## melt-build-script.tpl:419/288
GCCMELT_LASTSTAGE=meltbuild-stage3
################################################################
GCCMELT_LASTSTAGE=$GCCMELT_STAGE
meltbuild_info melt-build-script.tpl:429/289 last stage $GCCMELT_LASTSTAGE
################################################################
################################################################
###########@ before generating meltbuild-sources melt-build-script.tpl:433/290
#### 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:442/291 compiling the modules
[ -d meltbuild-modules ] || mkdir meltbuild-modules
################################################################
function meltbuild_emit_translator_sources () {
## meltbuild_emit_source melt-build-script.tpl:448/292 base warmelt-first
meltbuild_info melt-build-script.tpl:449/293 generating C code of warmelt-first in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/294 \
translatefile \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/295 base warmelt-base
meltbuild_info melt-build-script.tpl:449/296 generating C code of warmelt-base in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/297 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/298 base warmelt-debug
meltbuild_info melt-build-script.tpl:449/299 generating C code of warmelt-debug in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/300 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/301 base warmelt-macro
meltbuild_info melt-build-script.tpl:449/302 generating C code of warmelt-macro in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/303 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/304 base warmelt-normal
meltbuild_info melt-build-script.tpl:449/305 generating C code of warmelt-normal in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/306 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
"warmelt-predef.melt"
## meltbuild_emit_source melt-build-script.tpl:448/307 base warmelt-normatch
meltbuild_info melt-build-script.tpl:449/308 generating C code of warmelt-normatch in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/309 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/310 base warmelt-genobj
meltbuild_info melt-build-script.tpl:449/311 generating C code of warmelt-genobj in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/312 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/313 base warmelt-outobj
meltbuild_info melt-build-script.tpl:449/314 generating C code of warmelt-outobj in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/315 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-modes.quicklybuilt \
""
## meltbuild_emit_source melt-build-script.tpl:448/316 base warmelt-modes
meltbuild_info melt-build-script.tpl:449/317 generating C code of warmelt-modes in meltbuild-sources
meltbuild_emit melt-build-script.tpl:450/318 \
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-normal.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-normatch.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-genobj.quicklybuilt:$GCCMELT_LASTSTAGE/warmelt-outobj.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:465/319
meltbuild_info melt-build-script.tpl:466/320 compiling translator quicklybuilt
#@ melt-build-script.tpl:469/321 flavor quicklybuilt base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/322 \
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:478/323 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:469/324 flavor quicklybuilt base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/325 \
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:478/326 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:469/327 flavor quicklybuilt base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/328 \
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:478/329 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:469/330 flavor quicklybuilt base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/331 \
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:478/332 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:469/333 flavor quicklybuilt base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/334 \
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:478/335 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:469/336 flavor quicklybuilt base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/337 \
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:478/338 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:469/339 flavor quicklybuilt base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/340 \
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:478/341 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:469/342 flavor quicklybuilt base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/343 \
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:478/344 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:469/345 flavor quicklybuilt base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/346 \
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:478/347 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:465/348
meltbuild_info melt-build-script.tpl:466/349 compiling translator optimized
#@ melt-build-script.tpl:469/350 flavor optimized base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/351 \
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:478/352 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:469/353 flavor optimized base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/354 \
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:478/355 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:469/356 flavor optimized base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/357 \
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:478/358 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:469/359 flavor optimized base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/360 \
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:478/361 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:469/362 flavor optimized base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/363 \
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:478/364 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:469/365 flavor optimized base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/366 \
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:478/367 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:469/368 flavor optimized base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/369 \
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:478/370 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:469/371 flavor optimized base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/372 \
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:478/373 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:469/374 flavor optimized base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/375 \
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:478/376 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:465/377
meltbuild_info melt-build-script.tpl:466/378 compiling translator debugnoline
#@ melt-build-script.tpl:469/379 flavor debugnoline base warmelt-first
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/380 \
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:478/381 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:469/382 flavor debugnoline base warmelt-base
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/383 \
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:478/384 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:469/385 flavor debugnoline base warmelt-debug
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/386 \
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:478/387 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:469/388 flavor debugnoline base warmelt-macro
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/389 \
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:478/390 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:469/391 flavor debugnoline base warmelt-normal
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/392 \
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:478/393 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:469/394 flavor debugnoline base warmelt-normatch
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/395 \
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:478/396 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:469/397 flavor debugnoline base warmelt-genobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/398 \
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:478/399 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:469/400 flavor debugnoline base warmelt-outobj
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/401 \
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:478/402 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:469/403 flavor debugnoline base warmelt-modes
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:471/404 \
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:478/405 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:486/406
function meltbuild_symlink_melt_translator_sources () {
### symlinking the MELT translator code in meltbuild-sources for warmelt-first from melt-build-script.tpl:491/407
meltbuild_info melt-build-script.tpl:493/408 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:491/409
meltbuild_info melt-build-script.tpl:493/410 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:491/411
meltbuild_info melt-build-script.tpl:493/412 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:491/413
meltbuild_info melt-build-script.tpl:493/414 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-normal from melt-build-script.tpl:491/415
meltbuild_info melt-build-script.tpl:493/416 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:491/417
meltbuild_info melt-build-script.tpl:493/418 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:491/419
meltbuild_info melt-build-script.tpl:493/420 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:491/421
meltbuild_info melt-build-script.tpl:493/422 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-modes from melt-build-script.tpl:491/423
meltbuild_info melt-build-script.tpl:493/424 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
################@ melt-build-script.tpl:502/425
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-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-modes.melt \
-o $melt_final_translator_stamp -ot $GCCMELT_LASTSTAGE/$GCCMELT_LASTSTAGE.stamp ]; then
meltbuild_info melt-build-script.tpl:508/426 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:516/427
$MD5SUM meltbuild-sources/warmelt-first.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-first.c meltbuild-sources/warmelt-first+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_FIRST_cumulmd5=$(cat meltbuild-sources/warmelt-first.c meltbuild-sources/warmelt-first+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/428
$MD5SUM meltbuild-sources/warmelt-base.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-base.c meltbuild-sources/warmelt-base+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_BASE_cumulmd5=$(cat meltbuild-sources/warmelt-base.c meltbuild-sources/warmelt-base+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/429
$MD5SUM meltbuild-sources/warmelt-debug.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-debug.c meltbuild-sources/warmelt-debug+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_DEBUG_cumulmd5=$(cat meltbuild-sources/warmelt-debug.c meltbuild-sources/warmelt-debug+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/430
$MD5SUM meltbuild-sources/warmelt-macro.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-macro.c meltbuild-sources/warmelt-macro+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_MACRO_cumulmd5=$(cat meltbuild-sources/warmelt-macro.c meltbuild-sources/warmelt-macro+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/431
$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.c meltbuild-sources/warmelt-normal+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_NORMAL_cumulmd5=$(cat meltbuild-sources/warmelt-normal.c meltbuild-sources/warmelt-normal+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/432
$MD5SUM meltbuild-sources/warmelt-normatch.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-normatch.c meltbuild-sources/warmelt-normatch+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_NORMATCH_cumulmd5=$(cat meltbuild-sources/warmelt-normatch.c meltbuild-sources/warmelt-normatch+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/433
$MD5SUM meltbuild-sources/warmelt-genobj.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-genobj.c meltbuild-sources/warmelt-genobj+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_GENOBJ_cumulmd5=$(cat meltbuild-sources/warmelt-genobj.c meltbuild-sources/warmelt-genobj+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/434
$MD5SUM meltbuild-sources/warmelt-outobj.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-outobj.c meltbuild-sources/warmelt-outobj+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_OUTOBJ_cumulmd5=$(cat meltbuild-sources/warmelt-outobj.c meltbuild-sources/warmelt-outobj+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
#@ melt-build-script.tpl:516/435
$MD5SUM meltbuild-sources/warmelt-modes.melt >> $melt_final_translator_stamptemp
$MD5SUM meltbuild-sources/warmelt-modes.c meltbuild-sources/warmelt-modes+[0-9][0-9].c >> $melt_final_translator_stamptemp
melt_translator_MODES_cumulmd5=$(cat meltbuild-sources/warmelt-modes.c meltbuild-sources/warmelt-modes+[0-9][0-9].c | $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:527/436 skip final translation of translator stamp $melt_final_translator_stamp
fi
################################################################
#@ melt-build-script.tpl:531/437
if [ "$melt_overall_goal" = "translator" ]; then
meltbuild_info melt-build-script.tpl:533/438 done translation overall goal with stamp $melt_final_translator_stamp
exit 0
fi
################
#@ melt-build-script.tpl:538/439 before application xtramelt* modules
################################################################
meltbuild_info melt-build-script.tpl:540/440 before applications GCCMELT_SKIPEMITC=$GCCMELT_SKIPEMITC.
meltbuild_info melt-build-script.tpl:542/441 times before applications at `date '+%x %H:%M:%S'`: ; times > /dev/stderr
melt_final_application_stamp=meltbuild-final-application.stamp
function meltbuild_do_applications () {
## meltbuild_do_applications xtramelt-ana-base melt-build-script.tpl:550/442
if [ ! -f meltbuild-sources/xtramelt-ana-base.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-ana-base.melt meltbuild-sources/xtramelt-ana-base.melt
fi
## meltbuild_do_applications xtramelt-ana-base melt-build-script.tpl:554/443
if [ ! -f meltbuild-sources/xtramelt-ana-base.c -o ! -f meltbuild-sources/xtramelt-ana-base+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-ana-base.melt \
]; then
meltbuild_info melt-build-script.tpl:560/444 emit application C code for xtramelt-ana-base
meltbuild_emit melt-build-script.tpl:561/445 \
translatefile \
xtramelt-ana-base \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized \
"" \
|| meltbuild_error melt-build-script.tpl:568/446 failed to generate C code of application xtramelt-ana-base
else
meltbuild_info melt-build-script.tpl:570/447 DONT emit application C code for xtramelt-ana-base
fi
local meltapp_ANA_BASE_cumulmd5=$(cat meltbuild-sources/xtramelt-ana-base.c meltbuild-sources/xtramelt-ana-base+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-base.c \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/448 compiling application module for xtramelt-ana-base quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/449 \
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-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-base \
|| meltbuild_error melt-build-script.tpl:587/450 in meltbuild-modules failed to compile application xtramelt-ana-base quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/451 not compiling application module for xtramelt-ana-base quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-base.c \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/452 compiling application module for xtramelt-ana-base optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/453 \
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-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-base \
|| meltbuild_error melt-build-script.tpl:587/454 in meltbuild-modules failed to compile application xtramelt-ana-base optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/455 not compiling application module for xtramelt-ana-base optimized
fi
if [ ! -f meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-base.c \
-o meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-base+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/456 compiling application module for xtramelt-ana-base debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/457 \
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-base \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-base \
|| meltbuild_error melt-build-script.tpl:587/458 in meltbuild-modules failed to compile application xtramelt-ana-base debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/459 not compiling application module for xtramelt-ana-base debugnoline
fi
## meltbuild_do_applications xtramelt-ana-tree melt-build-script.tpl:550/460
if [ ! -f meltbuild-sources/xtramelt-ana-tree.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-ana-tree.melt meltbuild-sources/xtramelt-ana-tree.melt
fi
## meltbuild_do_applications xtramelt-ana-tree melt-build-script.tpl:554/461
if [ ! -f meltbuild-sources/xtramelt-ana-tree.c -o ! -f meltbuild-sources/xtramelt-ana-tree+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-ana-tree.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-ana-tree+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/462 emit application C code for xtramelt-ana-tree
meltbuild_emit melt-build-script.tpl:561/463 \
translatefile \
xtramelt-ana-tree \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/464 failed to generate C code of application xtramelt-ana-tree
else
meltbuild_info melt-build-script.tpl:570/465 DONT emit application C code for xtramelt-ana-tree
fi
local meltapp_ANA_TREE_cumulmd5=$(cat meltbuild-sources/xtramelt-ana-tree.c meltbuild-sources/xtramelt-ana-tree+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-tree.c \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/466 compiling application module for xtramelt-ana-tree quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/467 \
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-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-tree \
|| meltbuild_error melt-build-script.tpl:587/468 in meltbuild-modules failed to compile application xtramelt-ana-tree quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/469 not compiling application module for xtramelt-ana-tree quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-tree.c \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/470 compiling application module for xtramelt-ana-tree optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/471 \
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-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-tree \
|| meltbuild_error melt-build-script.tpl:587/472 in meltbuild-modules failed to compile application xtramelt-ana-tree optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/473 not compiling application module for xtramelt-ana-tree optimized
fi
if [ ! -f meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-tree.c \
-o meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-tree+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/474 compiling application module for xtramelt-ana-tree debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/475 \
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-tree \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-tree \
|| meltbuild_error melt-build-script.tpl:587/476 in meltbuild-modules failed to compile application xtramelt-ana-tree debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/477 not compiling application module for xtramelt-ana-tree debugnoline
fi
## meltbuild_do_applications xtramelt-ana-gimple melt-build-script.tpl:550/478
if [ ! -f meltbuild-sources/xtramelt-ana-gimple.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-ana-gimple.melt meltbuild-sources/xtramelt-ana-gimple.melt
fi
## meltbuild_do_applications xtramelt-ana-gimple melt-build-script.tpl:554/479
if [ ! -f meltbuild-sources/xtramelt-ana-gimple.c -o ! -f meltbuild-sources/xtramelt-ana-gimple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-sources/xtramelt-ana-gimple.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-ana-gimple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-ana-gimple+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/480 emit application C code for xtramelt-ana-gimple
meltbuild_emit melt-build-script.tpl:561/481 \
translatefile \
xtramelt-ana-gimple \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt:xtramelt-ana-tree.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/482 failed to generate C code of application xtramelt-ana-gimple
else
meltbuild_info melt-build-script.tpl:570/483 DONT emit application C code for xtramelt-ana-gimple
fi
local meltapp_ANA_GIMPLE_cumulmd5=$(cat meltbuild-sources/xtramelt-ana-gimple.c meltbuild-sources/xtramelt-ana-gimple+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-gimple.c \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/484 compiling application module for xtramelt-ana-gimple quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/485 \
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-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-gimple \
|| meltbuild_error melt-build-script.tpl:587/486 in meltbuild-modules failed to compile application xtramelt-ana-gimple quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/487 not compiling application module for xtramelt-ana-gimple quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-gimple.c \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/488 compiling application module for xtramelt-ana-gimple optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/489 \
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-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-gimple \
|| meltbuild_error melt-build-script.tpl:587/490 in meltbuild-modules failed to compile application xtramelt-ana-gimple optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/491 not compiling application module for xtramelt-ana-gimple optimized
fi
if [ ! -f meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-gimple.c \
-o meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-gimple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/492 compiling application module for xtramelt-ana-gimple debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/493 \
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-gimple \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-ana-gimple \
|| meltbuild_error melt-build-script.tpl:587/494 in meltbuild-modules failed to compile application xtramelt-ana-gimple debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/495 not compiling application module for xtramelt-ana-gimple debugnoline
fi
## meltbuild_do_applications xtramelt-probe melt-build-script.tpl:550/496
if [ ! -f meltbuild-sources/xtramelt-probe.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-probe.melt meltbuild-sources/xtramelt-probe.melt
fi
## meltbuild_do_applications xtramelt-probe melt-build-script.tpl:554/497
if [ ! -f meltbuild-sources/xtramelt-probe.c -o ! -f meltbuild-sources/xtramelt-probe+meltdesc.c \
-o meltbuild-sources/xtramelt-probe+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-probe+meltdesc.c -ot meltbuild-sources/xtramelt-probe.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-probe+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-probe+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-sources/xtramelt-probe+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/498 emit application C code for xtramelt-probe
meltbuild_emit melt-build-script.tpl:561/499 \
translatefile \
xtramelt-probe \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt:xtramelt-ana-tree.quicklybuilt:xtramelt-ana-gimple.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/500 failed to generate C code of application xtramelt-probe
else
meltbuild_info melt-build-script.tpl:570/501 DONT emit application C code for xtramelt-probe
fi
local meltapp_PROBE_cumulmd5=$(cat meltbuild-sources/xtramelt-probe.c meltbuild-sources/xtramelt-probe+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-probe.c \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-probe+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/502 compiling application module for xtramelt-probe quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/503 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-probe \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-probe \
|| meltbuild_error melt-build-script.tpl:587/504 in meltbuild-modules failed to compile application xtramelt-probe quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/505 not compiling application module for xtramelt-probe quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-probe.c \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-probe+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/506 compiling application module for xtramelt-probe optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/507 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-probe \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-probe \
|| meltbuild_error melt-build-script.tpl:587/508 in meltbuild-modules failed to compile application xtramelt-probe optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/509 not compiling application module for xtramelt-probe optimized
fi
if [ ! -f meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-probe.c \
-o meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-probe+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/510 compiling application module for xtramelt-probe debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/511 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-probe \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-probe \
|| meltbuild_error melt-build-script.tpl:587/512 in meltbuild-modules failed to compile application xtramelt-probe debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/513 not compiling application module for xtramelt-probe debugnoline
fi
## meltbuild_do_applications xtramelt-ana-simple melt-build-script.tpl:550/514
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_applications xtramelt-ana-simple melt-build-script.tpl:554/515
if [ ! -f meltbuild-sources/xtramelt-ana-simple.c -o ! -f meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
-o meltbuild-sources/xtramelt-probe+meltdesc.c -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/516 emit application C code for xtramelt-ana-simple
meltbuild_emit melt-build-script.tpl:561/517 \
translatefile \
xtramelt-ana-simple \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt:xtramelt-ana-tree.quicklybuilt:xtramelt-ana-gimple.quicklybuilt:xtramelt-probe.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/518 failed to generate C code of application xtramelt-ana-simple
else
meltbuild_info melt-build-script.tpl:570/519 DONT emit application C code for xtramelt-ana-simple
fi
local meltapp_ANA_SIMPLE_cumulmd5=$(cat meltbuild-sources/xtramelt-ana-simple.c meltbuild-sources/xtramelt-ana-simple+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-simple.c \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/520 compiling application module for xtramelt-ana-simple quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/521 \
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_error melt-build-script.tpl:587/522 in meltbuild-modules failed to compile application 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:589/523 not compiling application module for xtramelt-ana-simple quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-simple.c \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/524 compiling application module for xtramelt-ana-simple optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/525 \
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_error melt-build-script.tpl:587/526 in meltbuild-modules failed to compile application 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:589/527 not compiling application module for xtramelt-ana-simple optimized
fi
if [ ! -f meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-simple.c \
-o meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-ana-simple+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/528 compiling application module for xtramelt-ana-simple debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/529 \
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_error melt-build-script.tpl:587/530 in meltbuild-modules failed to compile application 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:589/531 not compiling application module for xtramelt-ana-simple debugnoline
fi
## meltbuild_do_applications xtramelt-c-generator melt-build-script.tpl:550/532
if [ ! -f meltbuild-sources/xtramelt-c-generator.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-c-generator.melt meltbuild-sources/xtramelt-c-generator.melt
fi
## meltbuild_do_applications xtramelt-c-generator melt-build-script.tpl:554/533
if [ ! -f meltbuild-sources/xtramelt-c-generator.c -o ! -f meltbuild-sources/xtramelt-c-generator+meltdesc.c \
-o meltbuild-sources/xtramelt-c-generator+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-c-generator+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c \
-o meltbuild-sources/xtramelt-probe+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/534 emit application C code for xtramelt-c-generator
meltbuild_emit melt-build-script.tpl:561/535 \
translatefile \
xtramelt-c-generator \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt:xtramelt-ana-tree.quicklybuilt:xtramelt-ana-gimple.quicklybuilt:xtramelt-probe.quicklybuilt:xtramelt-ana-simple.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/536 failed to generate C code of application xtramelt-c-generator
else
meltbuild_info melt-build-script.tpl:570/537 DONT emit application C code for xtramelt-c-generator
fi
local meltapp_C_GENERATOR_cumulmd5=$(cat meltbuild-sources/xtramelt-c-generator.c meltbuild-sources/xtramelt-c-generator+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-c-generator.c \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/538 compiling application module for xtramelt-c-generator quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/539 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-c-generator \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-c-generator \
|| meltbuild_error melt-build-script.tpl:587/540 in meltbuild-modules failed to compile application xtramelt-c-generator quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/541 not compiling application module for xtramelt-c-generator quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-c-generator.c \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/542 compiling application module for xtramelt-c-generator optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/543 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-c-generator \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-c-generator \
|| meltbuild_error melt-build-script.tpl:587/544 in meltbuild-modules failed to compile application xtramelt-c-generator optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/545 not compiling application module for xtramelt-c-generator optimized
fi
if [ ! -f meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-c-generator.c \
-o meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-c-generator+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/546 compiling application module for xtramelt-c-generator debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/547 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-c-generator \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-c-generator \
|| meltbuild_error melt-build-script.tpl:587/548 in meltbuild-modules failed to compile application xtramelt-c-generator debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/549 not compiling application module for xtramelt-c-generator debugnoline
fi
## meltbuild_do_applications xtramelt-opengpu melt-build-script.tpl:550/550
if [ ! -f meltbuild-sources/xtramelt-opengpu.melt ]; then
meltbuild_symlink $GCCMELT_MELTSOURCEDIR/xtramelt-opengpu.melt meltbuild-sources/xtramelt-opengpu.melt
fi
## meltbuild_do_applications xtramelt-opengpu melt-build-script.tpl:554/551
if [ ! -f meltbuild-sources/xtramelt-opengpu.c -o ! -f meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-opengpu+meltdesc.c -ot meltbuild-final-translator.stamp \
-o meltbuild-sources/xtramelt-opengpu+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu.melt \
-o meltbuild-sources/xtramelt-ana-base+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-tree+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-gimple+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-probe+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-ana-simple+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
-o meltbuild-sources/xtramelt-c-generator+meltdesc.c -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c \
]; then
meltbuild_info melt-build-script.tpl:560/552 emit application C code for xtramelt-opengpu
meltbuild_emit melt-build-script.tpl:561/553 \
translatefile \
xtramelt-opengpu \
meltbuild-sources \
meltbuild-modules \
warmelt-first.optimized:warmelt-base.optimized:warmelt-debug.optimized:warmelt-macro.optimized:warmelt-normal.optimized:warmelt-normatch.optimized:warmelt-genobj.optimized:warmelt-outobj.optimized:warmelt-modes.optimized:xtramelt-ana-base.quicklybuilt:xtramelt-ana-tree.quicklybuilt:xtramelt-ana-gimple.quicklybuilt:xtramelt-probe.quicklybuilt:xtramelt-ana-simple.quicklybuilt:xtramelt-c-generator.quicklybuilt \
"" \
|| meltbuild_error melt-build-script.tpl:568/554 failed to generate C code of application xtramelt-opengpu
else
meltbuild_info melt-build-script.tpl:570/555 DONT emit application C code for xtramelt-opengpu
fi
local meltapp_OPENGPU_cumulmd5=$(cat meltbuild-sources/xtramelt-opengpu.c meltbuild-sources/xtramelt-opengpu+[0-9][0-9].c | $MD5SUM | cut -b 1-32)
if [ ! -f meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.quicklybuilt.so \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.quicklybuilt.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-opengpu.c \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.quicklybuilt.so -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/556 compiling application module for xtramelt-opengpu quicklybuilt
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/557 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=quicklybuilt \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-opengpu \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-opengpu \
|| meltbuild_error melt-build-script.tpl:587/558 in meltbuild-modules failed to compile application xtramelt-opengpu quicklybuilt "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/559 not compiling application module for xtramelt-opengpu quicklybuilt
fi
if [ ! -f meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.optimized.so \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.optimized.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-opengpu.c \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.optimized.so -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/560 compiling application module for xtramelt-opengpu optimized
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/561 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=optimized \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-opengpu \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-opengpu \
|| meltbuild_error melt-build-script.tpl:587/562 in meltbuild-modules failed to compile application xtramelt-opengpu optimized "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/563 not compiling application module for xtramelt-opengpu optimized
fi
if [ ! -f meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.debugnoline.so \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.debugnoline.so -ot meltbuild-final-translator.stamp \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-opengpu.c \
-o meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.debugnoline.so -ot meltbuild-sources/xtramelt-opengpu+meltdesc.c ]; then
meltbuild_info melt-build-script.tpl:578/564 compiling application module for xtramelt-opengpu debugnoline
$GCCMELT_MAKE -f $GCCMELT_MODULE_MK melt_module \
GCCMELT_FROM=melt-build-script.tpl:580/565 \
GCCMELT_MODULE_WORKSPACE=meltbuild-workdir \
GCCMELT_MODULE_FLAVOR=debugnoline \
GCCMELT_COMPILER="$GCCMELT_COMPILER" \
GCCMELT_CFLAGS="$GCCMELT_COMPILER_FLAGS" \
GCCMELT_MODULE_SOURCEBASE=meltbuild-sources/xtramelt-opengpu \
GCCMELT_MODULE_BINARYBASE=meltbuild-modules/xtramelt-opengpu \
|| meltbuild_error melt-build-script.tpl:587/566 in meltbuild-modules failed to compile application xtramelt-opengpu debugnoline "($GCCMELT_MAKE -f $GCCMELT_MODULE_MK)" compiler $GCCMELT_COMPILER_FLAGS cflags $GCCMELT_COMPILER_FLAGS
else
meltbuild_info melt-build-script.tpl:589/567 not compiling application module for xtramelt-opengpu debugnoline
fi
## meltbuild_do_applications melt-build-script.tpl:593/568
local meltappstamptemp=$melt_final_application_stamp-tmp$$
echo "///MELT application time stamp $melt_final_application_stamp" > $meltappstamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-base.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-base.c meltbuild-sources/xtramelt-ana-base+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-base.meltmod-$meltapp_ANA_BASE_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-tree.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-tree.c meltbuild-sources/xtramelt-ana-tree+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-tree.meltmod-$meltapp_ANA_TREE_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-gimple.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-gimple.c meltbuild-sources/xtramelt-ana-gimple+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-gimple.meltmod-$meltapp_ANA_GIMPLE_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-probe.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-probe.c meltbuild-sources/xtramelt-probe+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-probe.meltmod-$meltapp_PROBE_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-simple.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-ana-simple.c meltbuild-sources/xtramelt-ana-simple+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-ana-simple.meltmod-$meltapp_ANA_SIMPLE_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-c-generator.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-c-generator.c meltbuild-sources/xtramelt-c-generator+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-c-generator.meltmod-$meltapp_C_GENERATOR_cumulmd5.debugnoline.so >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-opengpu.melt >> $meltappstamptemp
$MD5SUM meltbuild-sources/xtramelt-opengpu.c meltbuild-sources/xtramelt-opengpu+[0-9][0-9].c >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.quicklybuilt.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.optimized.so >> $meltappstamptemp
$MD5SUM meltbuild-modules/xtramelt-opengpu.meltmod-$meltapp_OPENGPU_cumulmd5.debugnoline.so >> $meltappstamptemp
echo "///end stamp $melt_final_application_stamp" >> $meltappstamptemp
$GCCMELT_MOVE_IF_CHANGE $meltappstamptemp $melt_final_application_stamp
meltbuild_info melt-build-script.tpl:606/569 times after applications at `date '+%x %H:%M:%S'`: ; times > /dev/stderr
} ## end meltbuild_do_applications melt-build-script.tpl:607/570
if [ ! -f "$melt_final_application_stamp" \
-o "$melt_final_application_stamp" -ot "$melt_final_translator_stamp" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-ana-base.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-ana-tree.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-ana-gimple.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-probe.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-ana-simple.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-c-generator.melt" \
-o "$melt_final_application_stamp" -ot "$GCCMELT_MELTSOURCEDIR/xtramelt-opengpu.melt" \
]; then
meltbuild_info melt-build-script.tpl:613/571 building MELT applications
meltbuild_do_applications
else
meltbuild_info melt-build-script.tpl:616/572 not building MELT applications because of applstamp "$melt_final_application_stamp"
fi
################################################################
#@ melt-build-script.tpl:620/573
if [ "$melt_overall_goal" = "applications" ]; then
meltbuild_info melt-build-script.tpl:622/574 done applications overall goal with stamp $melt_final_translator_stamp
exit 0
fi
################################################################
################################################################
### the modules lists melt-build-script.tpl:627/575
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_application_stamp ]; then
# melt-build-script.tpl:632/576 module list quicklybuilt
meltbuild_info melt-build-script.tpl:633/577 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
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-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-modes.quicklybuilt >> $melt_modlis_temp
#@ melt-build-script.tpl:640/578
echo "# MELT application modules:" >> $melt_modlis_temp
echo xtramelt-ana-base.quicklybuilt >> $melt_modlis_temp
echo xtramelt-ana-tree.quicklybuilt >> $melt_modlis_temp
echo xtramelt-ana-gimple.quicklybuilt >> $melt_modlis_temp
echo xtramelt-probe.quicklybuilt >> $melt_modlis_temp
echo xtramelt-ana-simple.quicklybuilt >> $melt_modlis_temp
echo xtramelt-c-generator.quicklybuilt >> $melt_modlis_temp
echo xtramelt-opengpu.quicklybuilt >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.quicklybuilt.modlis"
else
meltbuild_info melt-build-script.tpl:647/579 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_application_stamp ]; then
# melt-build-script.tpl:632/580 module list optimized
meltbuild_info melt-build-script.tpl:633/581 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
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-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-modes.optimized >> $melt_modlis_temp
#@ melt-build-script.tpl:640/582
echo "# MELT application modules:" >> $melt_modlis_temp
echo xtramelt-ana-base.optimized >> $melt_modlis_temp
echo xtramelt-ana-tree.optimized >> $melt_modlis_temp
echo xtramelt-ana-gimple.optimized >> $melt_modlis_temp
echo xtramelt-probe.optimized >> $melt_modlis_temp
echo xtramelt-ana-simple.optimized >> $melt_modlis_temp
echo xtramelt-c-generator.optimized >> $melt_modlis_temp
echo xtramelt-opengpu.optimized >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.optimized.modlis"
else
meltbuild_info melt-build-script.tpl:647/583 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_application_stamp ]; then
# melt-build-script.tpl:632/584 module list debugnoline
meltbuild_info melt-build-script.tpl:633/585 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
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-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-modes.debugnoline >> $melt_modlis_temp
#@ melt-build-script.tpl:640/586
echo "# MELT application modules:" >> $melt_modlis_temp
echo xtramelt-ana-base.debugnoline >> $melt_modlis_temp
echo xtramelt-ana-tree.debugnoline >> $melt_modlis_temp
echo xtramelt-ana-gimple.debugnoline >> $melt_modlis_temp
echo xtramelt-probe.debugnoline >> $melt_modlis_temp
echo xtramelt-ana-simple.debugnoline >> $melt_modlis_temp
echo xtramelt-c-generator.debugnoline >> $melt_modlis_temp
echo xtramelt-opengpu.debugnoline >> $melt_modlis_temp
$GCCMELT_MOVE_IF_CHANGE $melt_modlis_temp "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis"
else
meltbuild_info melt-build-script.tpl:647/587 keeping module list "meltbuild-sources/$MELTGCCBUILTIN_DEFAULT_MODLIS.debugnoline.modlis"
fi
#@ melt-build-script.tpl:651/588
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:657/589 module lists
if [ "$melt_overall_goal" = "modlists" ]; then
meltbuild_info melt-build-script.tpl:659/590 done modlists overall goal with stamp $melt_final_application_stamp
exit 0
fi
################################################################
#@ melt-build-script.tpl:665/591 runtime self check
## melt-build-script.tpl:667/592 FIXME: should skip that when cross-compiler MELT plugin..
meltcheckruntime_stamp=meltbuild-checkruntime.stamp
if [ ! -f $meltcheckruntime_stamp -o $meltcheckruntime_stamp -ot "$GCCMELT_RUNTIME_ARGS" \
-o $meltcheckruntime_stamp -ot "$GCCMELT_RUNTIME_C" \
-o $meltcheckruntime_stamp -ot $melt_final_application_stamp ]; then
#@ melt-build-script.tpl:673/593 checkruntime
meltcheckruntime_args=meltbuild-checkruntime.args
meltcheckruntime_argstemp=$meltcheckruntime_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:676/594"' > $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
cat $GCCMELT_RUNTIME_ARGS < /dev/null >> $meltcheckruntime_argstemp
$GCCMELT_MOVE_IF_CHANGE $meltcheckruntime_argstemp $meltcheckruntime_args
[ -f "$meltcheckruntime_args" ] || meltbuild_error melt-build-script.tpl:687/595 missing check runtime args "$meltcheckruntime_args"
meltbuild_info melt-build-script.tpl:688/596 $meltcheckruntime_args is
cat $meltcheckruntime_args < /dev/null > /dev/stderr
if [ -n "$MELTGCCBUILTIN_BUILD_WITH_CXX" ]; then
$GCCMELT_CC1_PREFIX $GCCMELT_CC1PLUS @$meltcheckruntime_args \
|| meltbuild_error melt-build-script.tpl:692/597 failed $GCCMELT_CC1PLUS with arguments @$meltcheckruntime_args
else
$GCCMELT_CC1_PREFIX $GCCMELT_CC1 @$meltcheckruntime_args \
|| meltbuild_error melt-build-script.tpl:695/598 failed $GCCMELT_CC1 with arguments @$meltcheckruntime_args
fi
meltbuild_info melt-build-script.tpl:697/599 done check runtime with $meltcheckruntime_args
#@ melt-build-script.tpl:698/600 checkhello
meltcheckhelloworld_args=meltbuild-checkhelloworld.args
meltcheckhelloworld_argstemp=$meltcheckhelloworld_args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:701/601"' > $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:715/602 missing check helloworld args "$meltcheckhelloworld_args"
meltbuild_info melt-build-script.tpl:716/603 $meltcheckhelloworld_args is
cat $meltcheckhelloworld_args < /dev/null > /dev/stderr
$GCCMELT_CC1_PREFIX $GCCMELT_CC1 @$meltcheckhelloworld_args \
|| meltbuild_error melt-build-script.tpl:719/604 running helloworld failed with arguments @$meltcheckhelloworld_args
meltbuild_info melt-build-script.tpl:720/605 done check helloworld with $meltcheckhelloworld_args
#@ melt-build-script.tpl:721/606 runtime stamp
meltcheckruntime_stamptemp=$meltcheckruntime_stamp-tmp$$
[ -f "$GCCMELT_RUNTIME_C" ] || meltbuild_error melt-build-script.tpl:723/607 missing MELT runtime C file $GCCMELT_RUNTIME_C
echo "/// MELT check runtime timestamp file $meltcheckruntime_stamp" > $meltcheckruntime_stamptemp
echo $GCCMELT_RUNTIME_DEPENDENCY_MD5SUM $GCCMELT_RUNTIME_DEPENDENCY >> $meltcheckruntime_stamptemp
$MD5SUM $GCCMELT_RUNTIME_C < /dev/null >> $meltcheckruntime_stamptemp
$MD5SUM meltbuild-hello.melt < /dev/null >> $meltcheckruntime_stamptemp
[ -f "$melt_final_translator_stamp" ] || meltbuild_error melt-build-script.tpl:728/608 missing final translator stamp "$melt_final_translator_stamp"
[ -f "$melt_final_application_stamp" ] || meltbuild_error melt-build-script.tpl:729/609 missing final application stamp "$melt_final_application_stamp"
grep meltbuild-modules/ "$melt_final_translator_stamp" "$melt_final_application_stamp" < /dev/null >> $meltcheckruntime_stamptemp
echo "///end timestamp file $meltcheckruntime_stamp" >> $meltcheckruntime_stamptemp
$GCCMELT_MOVE_IF_CHANGE $meltcheckruntime_stamptemp $meltcheckruntime_stamp
meltbuild_info melt-build-script.tpl:733/610 done check runtime $meltcheckruntime_stamp
else
meltbuild_info melt-build-script.tpl:735/611 keeping runtime checks $meltcheckruntime_stamp
fi
if [ "$melt_overall_goal" = "checkruntime" ]; then
meltbuild_info melt-build-script.tpl:739/612 done checkruntime overall goal with stamp $meltcheckruntime_stamp
exit 0
fi
################################################################
################################################################
#@ melt-build-script.tpl:744/613
if [ "$melt_overall_goal" = "regenerate" ]; then
meltbuild_info melt-build-script.tpl:746/614 regenerating runtime support
[ -d meltbuild-sources/generated ] || mkdir meltbuild-sources/generated
meltregen_args=meltbuild-regen.args
meltregen_argstemp="$meltregen_args-tmp$$"
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:750/615"' > $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 module-path=meltbuild-modules >> $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:760/616 $meltregen_args is
cat $meltregen_args < /dev/null > /dev/stderr
$GCCMELT_CC1_PREFIX $GCCMELT_CC1 @$meltregen_args \
|| meltbuild_error melt-build-script.tpl:763/617 failed with arguments @$meltregen_args
meltbuild_info melt-build-script.tpl:764/618 done regenerate overall goal
exit 0
fi
################################################################
### the generated documentation meltgendoc.texi melt-build-script.tpl:769/619
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-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-modes.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-ana-base.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-ana-tree.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-ana-gimple.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-probe.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-ana-simple.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-c-generator.melt -nt meltgendoc.texi \
-o meltbuild-sources/xtramelt-opengpu.melt -nt meltgendoc.texi ]; then
meltbuild_info melt-build-script.tpl:773/620 generating meltgendoc.texi
meltgen_args=meltbuild-gendoc.args-tmp$$
echo ' -DGCCMELT_FROM_ARG="melt-build-script.tpl:775/621"' > $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 bootstrapping >> $meltgen_args
meltbuild_arg arglist=warmelt-first.melt,warmelt-base.melt,warmelt-debug.melt,warmelt-macro.melt,warmelt-normal.melt,warmelt-normatch.melt,warmelt-genobj.melt,warmelt-outobj.melt,warmelt-modes.melt,xtramelt-ana-base.melt,xtramelt-ana-tree.melt,xtramelt-ana-gimple.melt,xtramelt-probe.melt,xtramelt-ana-simple.melt,xtramelt-c-generator.melt,xtramelt-opengpu.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:787/622 meltbuild-gendoc.args is
cat meltbuild-gendoc.args < /dev/null > /dev/stderr
$GCCMELT_CC1_PREFIX $GCCMELT_CC1 @meltbuild-gendoc.args \
|| meltbuild_error melt-build-script.tpl:790/623 failed with arguments @meltbuild-gendoc.args
else
meltbuild_info melt-build-script.tpl:792/624 keeping meltgendoc.texi
fi
################
meltbuild_info melt-build-script.tpl:796/625 successfully done with times at `date '+%x %H:%M:%S'`: ; times > /dev/stderr
################################################################
#@ melt-build-script.tpl:799/626
if [ "$melt_overall_goal" = "gendoc" ]; then
meltbuild_info melt-build-script.tpl:801/627 done gendoc overall goal with stamp $melt_final_translator_stamp
exit 0
fi
## #@ melt-build-script.tpl:805/628 if we get here something is wrong in this script
meltbuild_error melt-build-script.tpl:806/629 unexpected MELT overall goal "$melt_overall_goal" buggy melt-build-script.tpl
#@ eof melt-build-script.tpl:807/630 end of generated melt-build-script.sh
|