OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../sge/sge.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- T2-COPYRIGHT-NOTE-END ---
  15. sge_main() {
  16. cd source
  17. # use rock linux specific site file
  18. mv aimk.site{,.orig}
  19. cp $confdir/aimk.site .
  20. # create the dependencies
  21. ./aimk -only-depend
  22. ./scripts/zerodepend
  23. ./aimk depend
  24. # build SGE
  25. # qmon, the monitoring tool of sge, clashed with the lesstif
  26. # library, so disable it
  27. # qrsh, a tools for getting a remote shell on a cluster host,
  28. # got problems with some header files
  29. ./aimk -no-qmon -opt
  30. # create manpages
  31. ./aimk -man
  32. # prepare a local distribution
  33. # according to the documentation, we have to symlink
  34. # scripts/distinst to myinst
  35. ln -s scripts/distinst myinst
  36. # the variable SGE_ROOT defines where to put the distribution
  37. # files. we choose /opt/sge
  38. SGE_ROOT=/opt/sge
  39. export SGE_ROOT
  40. mkdir -p $SGE_ROOT
  41. echo "" | ./myinst -allall glinux
  42. }
  43. var_append GCC_WRAPPER_REMOVE ' ' '-Werror'
  44. makeopt=""
  45. makeinstopt=""
  46. hook_add postmake 5 "sge_main"