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.

59 lines
1.5 KiB

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