aboutsummaryrefslogtreecommitdiff
path: root/x_build.sm
diff options
context:
space:
mode:
Diffstat (limited to 'x_build.sm')
-rw-r--r--x_build.sm80
1 files changed, 80 insertions, 0 deletions
diff --git a/x_build.sm b/x_build.sm
new file mode 100644
index 0000000..d5702ac
--- /dev/null
+++ b/x_build.sm
@@ -0,0 +1,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/*
+