50-nonstop.conf 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. #### Nonstop configurations
  2. "nonstop-common" => {
  3. inherit_from => [ "BASE_unix" ],
  4. template => 1,
  5. cc => "c99",
  6. cflags => add_before(picker(debug => "-g -O0",
  7. release => "-g -O2") ,"-Wextensions -Wnowarn=203,220,272,734,770,1506 -Wbuild_neutral_library"),
  8. perl => "/usr/bin/perl",
  9. lflags => "-lrld",
  10. shared_target => "self",
  11. shared_cflag => "",
  12. shared_ldflag => "-Wshared",
  13. shared_extension => ".so",
  14. enable => ["egd"],
  15. dso_scheme => "DLFCN",
  16. },
  17. "nonstop-nsx" => {
  18. inherit_from => [ "nonstop-common" ],
  19. cflags => sub { join(" ",@_,"-Wverbose -I/usr/local/include") },
  20. shared_cflag => sub { join(" ",@_,"-Wverbose -I/usr/local/include") },
  21. lflags => sub { join(" ",@_,"-lfloss -Wxld='-set floattype neutral_float' -Wsystype=oss") },
  22. shared_ldflag => sub { join(" ",@_,"-lfloss -Wxld='-export_all -set floattype neutral_float -set systype oss' -Wsystype=oss") },
  23. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "OPENSSL_TANDEM_FLOSS"],
  24. disable => ["threads"],
  25. bn_ops => "THIRTY_TWO_BIT",
  26. },
  27. "nonstop-nsx_put" => {
  28. inherit_from => [ "nonstop-common" ],
  29. cflags => sub { join(" ",@_,"-Wverbose") },
  30. shared_cflag => sub { join(" ",@_,"-Wverbose") },
  31. lflags => sub { join(" ",@_,"-lput") },
  32. shared_ldflag => sub { join(" ",@_,"-Wxld='-export_all -set floattype neutral_float -set systype oss' -lput -Wsystype=oss") },
  33. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_PUT_MODEL_","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_ENABLE_FLOSS_THREADS", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  34. bn_ops => "THIRTY_TWO_BIT",
  35. },
  36. "nonstop-nsx_64" => {
  37. inherit_from => [ "nonstop-common" ],
  38. cflags => sub { join(" ",@_,"-Wlp64 -Wverbose") },
  39. shared_cflag => sub { join(" ",@_,"-Wlp64 -Wverbose") },
  40. lflags => sub { join(" ",@_,"-lfloss -Wlp64") },
  41. shared_ldflag => sub { join(" ",@_,"-lfloss -Wxld='-export_all -set data_model lp64 -set floattype neutral_float -set systype oss' -Wlp64 -Wsystype=oss") },
  42. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "OPENSSL_TANDEM_FLOSS"],
  43. disable => ["threads"],
  44. bn_ops => "SIXTY_FOUR_BIT",
  45. },
  46. "nonstop-nsx_64_put" => {
  47. inherit_from => [ "nonstop-common" ],
  48. shared_cflag => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/x") },
  49. cflags => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/x") },
  50. lflags => sub { join(" ",@_,"-Wxld='-set floattype neutral_float -set systype oss' -Wlp64 -lput -Wsystype=oss") },
  51. shared_ldflag => sub { join(" ",@_,"-Wxld='-export_all -set data_model lp64'") },
  52. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_PUT_MODEL_","_TANDEM_ARCH=3","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_ENABLE_FLOSS_THREADS","__TANDEM", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  53. bn_ops => "SIXTY_FOUR_BIT",
  54. },
  55. "nonstop-nsx_spt" => {
  56. inherit_from => [ "nonstop-common" ],
  57. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  58. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  59. lflags => sub { join(" ",@_,"-lspt -Wextensions") },
  60. shared_ldflag => sub { join(" ",@_,"-Wxld='-export_all -set floattype neutral_float -set systype oss' -lspt -Wextensions -Wsystype=oss") },
  61. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_SPT_MODEL_","_THREAD_SUPPORT_FUNCTIONS","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  62. bn_ops => "THIRTY_TWO_BIT",
  63. },
  64. "nonstop-nsx_spt_floss" => {
  65. inherit_from => [ "nonstop-common" ],
  66. cflags => sub { join(" ",@_,"-I/usr/local/include -Wverbose -Wtarget=tns/x") },
  67. shared_cflag => sub { join(" ",@_,"-I/usr/local/include -Wverbose -Wtarget=tns/x") },
  68. lflags => sub { join(" ",@_,"-lfloss -lspt -Wextensions") },
  69. shared_ldflag => sub { join(" ",@_,"-lfloss -Wxld='-export_all -set floattype neutral_float -set systype oss' -lspt -Wextensions -Wsystype=oss") },
  70. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_SPT_MODEL_","_THREAD_SUPPORT_FUNCTIONS","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM","OPENSSL_TANDEM_FLOSS"],
  71. bn_ops => "THIRTY_TWO_BIT",
  72. },
  73. "nonstop-nsx_g" => {
  74. inherit_from => [ "nonstop-common" ],
  75. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  76. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  77. lflags => sub { join(" ",@_,"-Wsystype=guardian -Wxld='-set systype guardian -set floattype neutral_float'") },
  78. shared_ldflag => sub { join(" ",@_,"-Wxld='-export_all -set floattype neutral_float -soname \$\(\@:lib%.so=%\) -set systype guardian' -Wsystype=guardian") },
  79. #shared_extension => " ",
  80. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "NO_GETPID"],
  81. disable => ["threads"],
  82. bn_ops => "THIRTY_TWO_BIT",
  83. },
  84. "nonstop-nsx_g_tandem" => {
  85. inherit_from => [ "nonstop-common" ],
  86. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  87. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/x") },
  88. lflags => sub { join(" ",@_,"-Wsystype=guardian -Wxld='-set systype guardian -set floattype tandem_float'") },
  89. shared_ldflag => sub { join(" ",@_,"-Wxld='-export_all -set floattype tandem_float -soname \$\(\@:lib%.so=%\) -set systype guardian' -Wsystype=guardian") },
  90. #shared_extension => " ",
  91. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "NO_GETPID"],
  92. disable => ["threads"],
  93. bn_ops => "THIRTY_TWO_BIT",
  94. },
  95. "nonstop-nsv" => {
  96. inherit_from => [ "nonstop-nsx" ],
  97. },
  98. "nonstop-nse" => {
  99. inherit_from => [ "nonstop-common" ],
  100. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e -I/usr/local/include") },
  101. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e -I/usr/local/include") },
  102. lflags => sub { join(" ",@_,"-lfloss") },
  103. shared_ldflag => sub { join(" ",@_,"-lfloss -Weld='-export_all -set floattype neutral_float -set systype oss' -Wsystype=oss") },
  104. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_TANDEM_ARCH=2","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","__TANDEM", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "OPENSSL_TANDEM_FLOSS"],
  105. disable => ["threads"],
  106. bn_ops => "THIRTY_TWO_BIT",
  107. },
  108. "nonstop-nse_put" => {
  109. inherit_from => [ "nonstop-common" ],
  110. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  111. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  112. lflags => sub { join(" ",@_,"-lput") },
  113. shared_ldflag => sub { join(" ",@_,"-Weld='-export_all -set floattype neutral_float -set systype oss' -lput -Wsystype=oss") },
  114. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_PUT_MODEL_","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_ENABLE_FLOSS_THREADS", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  115. bn_ops => "THIRTY_TWO_BIT",
  116. },
  117. "nonstop-nse_64" => {
  118. inherit_from => [ "nonstop-common" ],
  119. cflags => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/e") },
  120. shared_cflag => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/e") },
  121. lflags => sub { join(" ",@_,"-lfloss -Wlp64") },
  122. shared_ldflag => sub { join(" ",@_,"-lfloss -Weld='-export_all -set data_model lp64 -set floattype neutral_float -set systype oss' -Wlp64 -Wsystype=oss") },
  123. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "OPENSSL_TANDEM_FLOSS"],
  124. disable => ["threads"],
  125. bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
  126. },
  127. "nonstop-nse_64_put" => {
  128. inherit_from => [ "nonstop-common" ],
  129. cflags => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/e") },
  130. shared_cflag => sub { join(" ",@_,"-Wlp64 -Wverbose -Wtarget=tns/e") },
  131. lflags => sub { join(" ",@_,"-lput -Wlp64") },
  132. shared_ldflag => sub { join(" ",@_,"-Weld='-export_all -set data_model lp64 -set floattype neutral_float -set systype oss' -Wlp64 -lput -Wsystype=oss") },
  133. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_PUT_MODEL_","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1","_ENABLE_FLOSS_THREADS", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  134. bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
  135. },
  136. "nonstop-nse_spt" => {
  137. inherit_from => [ "nonstop-common" ],
  138. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  139. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  140. lflags => sub { join(" ",@_,"-lspt -Wextensions") },
  141. shared_ldflag => sub { join(" ",@_,"-Weld='-export_all -set floattype neutral_float -set systype oss' -lspt -Wextensions -Wsystype=oss") },
  142. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_SPT_MODEL_","_THREAD_SUPPORT_FUNCTIONS","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM"],
  143. bn_ops => "THIRTY_TWO_BIT",
  144. },
  145. "nonstop-nse_spt_floss" => {
  146. inherit_from => [ "nonstop-common" ],
  147. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  148. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  149. lflags => sub { join(" ",@_,"-lfloss -lspt -Wextensions") },
  150. shared_ldflag => sub { join(" ",@_,"-lfloss -Weld='-export_all -set floattype neutral_float -set systype oss' -lspt -Wextensions -Wsystype=oss") },
  151. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_REENTRANT", "_SPT_MODEL_","_THREAD_SUPPORT_FUNCTIONS","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "OPENSSL_TANDEM_FLOSS"],
  152. bn_ops => "THIRTY_TWO_BIT",
  153. },
  154. "nonstop-nse_g" => {
  155. inherit_from => [ "nonstop-common" ],
  156. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  157. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  158. lflags => sub { join(" ",@_,"-Wsystype=guardian -Weld='-set systype guardian'") },
  159. shared_ldflag => sub { join(" ",@_,"-Weld='-set systype guardian -export_all -set floattype neutral_float -soname \$\(\@:lib%.so=%\)' -Wsystype=guardian") },
  160. #shared_extension => " ",
  161. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "NO_GETPID"],
  162. disable => ["threads"],
  163. bn_ops => "THIRTY_TWO_BIT",
  164. },
  165. "nonstop-nse_g_tandem" => {
  166. inherit_from => [ "nonstop-common" ],
  167. cflags => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  168. shared_cflag => sub { join(" ",@_,"-Wverbose -Wtarget=tns/e") },
  169. lflags => sub { join(" ",@_,"-Wsystype=guardian -Weld='-set systype guardian -set floattype tandem_float'") },
  170. shared_ldflag => sub { join(" ",@_,"-Wsystype=guardian -Weld='-set systype guardian -export_all -set floattype tandem_float -soname \$\(\@:lib%.so=%\)'") },
  171. #shared_extension => " ",
  172. defines => ["OPENSSL_VPROC=\$(OPENSSL_VPROC)","_XOPEN_SOURCE","_XOPEN_SOURCE_EXTENDED=1", "_TANDEM_SOURCE", "B_ENDIAN", "OPENSSL_SYSNAME_TANDEM", "NO_GETPID"],
  173. disable => ["threads"],
  174. bn_ops => "THIRTY_TWO_BIT",
  175. },