aboutsummaryrefslogtreecommitdiff
path: root/x_build.sm
blob: d5702acd04bdccb509b05bf0f32794f7ad3f7885 (plain) (blame)
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
## TODO:
##  add builds on ssbwebv1 for those things that we actually care about

####################
####################

# arzach assembles all the source code
TABLE assemble HOST arzach

        CMD svnsync RUN "assemble_svnsync"
                AFTER init/*
                AFTER OPT irafx_update

	CMD x.stsci_python RUN "assemble_stsci_python x"
		AFTER init/*
		AFTER svnsync

	CMD x.stsci_iraf RUN "assemble_stsci_iraf x"
		AFTER init/*
		AFTER svnsync

	CMD x.axe RUN "assemble_axe x"
		AFTER init/*
		AFTER svnsync

	CMD x.hstcal RUN "assemble_hstcal x"
		AFTER init/*
		AFTER svnsync


####################
####################

# install stsci_python into default environment
# build hstcal
#	- everywhere
TABLE build HOST herbert thor arzach bond cadeau
	CMD x.py2.7 RUN "build_stsci_python x 2.7"
		AFTER init/*
		AFTER *:assemble/x.stsci_python
	CMD x.hstcal RUN "build_hstcal x"
		AFTER init/*
		AFTER *:assemble/x.hstcal

# stsdas and friends
#	- 32 bit only
TABLE build HOST herbert bond
	CMD x.axe RUN "build_axe x"
		AFTER init/*
		AFTER *:assemble/x.axe

	CMD x.stsci_iraf RUN "build_stsci_iraf x"
		AFTER init/*
		AFTER *:assemble/x.stsci_iraf
		AFTER build/x.axe

	CMD x.stsci_iraf_log RUN "build_stsci_iraf_log x"
		AFTER init/*
		AFTER build/x.stsci_iraf

	CMD x.stsci_iraf_help RUN "build_stsci_iraf_help x"
		AFTER init/*
		AFTER build/x.stsci_iraf


# stsdas for 64 bit machines - get it from a related 32 bit system
TABLE build HOST thor arzach
	CMD x.stsci_iraf_64hack RUN "build_stsci_iraf_64hack x herbert"
	AFTER herbert:build/x.stsci_iraf*

TABLE build HOST cadeau
	CMD x.stsci_iraf_64hack RUN "build_stsci_iraf_64hack x bond"
	AFTER bond:build/x.stsci_iraf*


# stamp the IRAF banner file when the builds are complete
TABLE stamp HOST herbert thor arzach bond cadeau
	CMD x RUN "build_stamp x"
		AFTER build/*