Guest User

makevmbytecode

a guest
Jun 16th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.88 KB | None | 0 0
  1. #!/bin/bash
  2. /bin/rm bin/*
  3. ocamlc -I bin -I +zarith -o bin/zarithint.cmi -c src/zarithint.mli
  4. ocamlc -I bin -I +zarith -o bin/json.cmi -c src/json.mli
  5. ocamlc -I bin -o bin/config.cmi -c src/config.mli
  6. ocamlc -I bin -o bin/version.cmi -c src/version.mli
  7. ocamlc -I bin -o bin/utils.cmi -c src/utils.mli
  8. ocamlc -I bin -I +zarith -o bin/ser.cmi -c src/ser.mli
  9. ocamlc -I bin -I +zarith -o bin/hashaux.cmi -c src/hashaux.mli
  10. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/sha256.cmi -c src/sha256.mli
  11. ocamlc -I bin -o bin/ripemd160.cmi -c src/ripemd160.mli
  12. ocamlc -I bin -I +zarith -o bin/hash.cmi -c src/hash.mli
  13. ocamlc -I bin -o bin/htree.cmi -c src/htree.mli
  14. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/net.cmi -c src/net.mli
  15. ocamlc -I bin -o bin/db.cmi -c src/db.mli
  16. ocamlc -I bin -I +zarith -o bin/secp256k1.cmi -c src/secp256k1.mli
  17. ocamlc -I bin -I +zarith -o bin/cryptocurr.cmi -c src/cryptocurr.mli
  18. ocamlc -I bin -I +zarith -o bin/signat.cmi -c src/signat.mli
  19. ocamlc -I bin -o bin/ltcrpc.cmi -c src/ltcrpc.mli
  20. ocamlc -I bin -I +zarith -o bin/script.cmi -c src/script.mli
  21. ocamlc -I bin -o bin/logic.cmi -c src/logic.mli
  22. ocamlc -I bin -o bin/mathdata.cmi -c src/mathdata.mli
  23. ocamlc -I bin -I +zarith -o bin/checking.cmi -c src/checking.mli
  24. ocamlc -I bin -o bin/assets.cmi -c src/assets.mli
  25. ocamlc -I bin -I +zarith -o bin/tx.cmi -c src/tx.mli
  26. ocamlc -I bin -I +zarith -o bin/ctre.cmi -c src/ctre.mli
  27. ocamlc -I bin -o bin/ctregraft.cmi -c src/ctregraft.mli
  28. ocamlc -I bin -I +zarith -o bin/block.cmi -c src/block.mli
  29. ocamlc -I bin -o bin/blocktree.cmi -c src/blocktree.mli
  30. ocamlc -I bin -o bin/setconfig.cmi -c src/setconfig.mli
  31. ocamlc -I bin -I +zarith -o bin/commands.cmi -c src/commands.mli
  32. ocamlc -I bin -o bin/inputdraft.cmi -c src/inputdraft.mli
  33. ocamlc -I bin -o bin/staking.cmi -c src/staking.mli
  34. ocamlc -I bin -I +zarith -o bin/zarithint.cmo -c src/zarithint.ml
  35. ocamlc -I bin -I +zarith -o bin/json.cmo -c src/json.ml
  36. ocamlc -I bin -o bin/config.cmo -c src/config.ml
  37. ocamlc -I bin -o bin/version.cmo -c src/version.ml
  38. ocamlc -I bin -o bin/utils.cmo -c src/utils.ml
  39. ocamlc -I bin -I +zarith -o bin/ser.cmo -c src/ser.ml
  40. ocamlc -I bin -I +zarith -o bin/secp256k1.cmo -c src/secp256k1.ml
  41. ocamlc -I bin -I +zarith -o bin/cryptocurr.cmo -c src/cryptocurr.ml
  42. ocamlc -I bin -I +zarith -o bin/signat.cmo -c src/signat.ml
  43. ocamlc -I bin -o bin/ltcrpc.cmo -c src/ltcrpc.ml
  44. ocamlc -I bin -I +zarith -o bin/script.cmo -c src/script.ml
  45. ocamlc -I bin -I +zarith -o bin/hashaux.cmo -c src/hashaux.ml
  46. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/sha256.cmo -c src/sha256.ml
  47. ocamlc -vmthread -I bin threads.cma -o bin/ripemd160.cmo -c src/ripemd160.ml
  48. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/hash.cmo -c src/hash.ml
  49. ocamlc -I bin -o bin/htree.cmo -c src/htree.ml
  50. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/net.cmo -c src/net.ml
  51. ocamlc -vmthread -I bin threads.cma -o bin/db.cmo -c src/db.ml
  52. ocamlc -I bin -o bin/logic.cmo -c src/logic.ml
  53. ocamlc -I bin -o bin/mathdata.cmo -c src/mathdata.ml
  54. ocamlc -I bin -I +zarith -o bin/checking.cmo -c src/checking.ml
  55. ocamlc -I bin -o bin/assets.cmo -c src/assets.ml
  56. ocamlc -I bin -I +zarith -o bin/tx.cmo -c src/tx.ml
  57. ocamlc -I bin -I +zarith -o bin/ctre.cmo -c src/ctre.ml
  58. ocamlc -I bin -o bin/ctregraft.cmo -c src/ctregraft.ml
  59. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/block.cmo -c src/block.ml
  60. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/blocktree.cmo -c src/blocktree.ml
  61. ocamlc -I bin -o bin/setconfig.cmo -c src/setconfig.ml
  62. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/commands.cmo -c src/commands.ml
  63. ocamlc -vmthread -I bin threads.cma -o bin/inputdraft.cmo -c src/inputdraft.ml
  64. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/staking.cmo -c src/staking.ml
  65. ocamlc -vmthread -I bin threads.cma -I +zarith -o bin/proofgold.cmo -c src/proofgold.ml
  66. ocamlc -vmthread -I bin -I +zarith -o bin/proofgoldbc unix.cma threads.cma zarith.cma zarithint.cmo json.cmo config.cmo version.cmo utils.cmo ser.cmo hashaux.cmo sha256.cmo ripemd160.cmo hash.cmo htree.cmo net.cmo db.cmo secp256k1.cmo cryptocurr.cmo signat.cmo ltcrpc.cmo script.cmo logic.cmo mathdata.cmo checking.cmo assets.cmo tx.cmo ctre.cmo ctregraft.cmo block.cmo blocktree.cmo setconfig.cmo commands.cmo inputdraft.cmo staking.cmo proofgold.cmo
  67. ocamlc -vmthread -I bin threads.cma -o bin/proofgoldcli.cmo -c src/proofgoldcli.ml
  68. ocamlc -vmthread -I bin -I +zarith -o bin/proofgoldclibc unix.cma threads.cma zarith.cma zarithint.cmo json.cmo config.cmo version.cmo utils.cmo ser.cmo hashaux.cmo sha256.cmo ripemd160.cmo hash.cmo htree.cmo net.cmo db.cmo secp256k1.cmo cryptocurr.cmo signat.cmo ltcrpc.cmo script.cmo logic.cmo mathdata.cmo checking.cmo assets.cmo tx.cmo ctre.cmo ctregraft.cmo block.cmo blocktree.cmo setconfig.cmo commands.cmo inputdraft.cmo staking.cmo proofgoldcli.cmo
  69. cd bin
  70. ln -s proofgoldbc proofgold
  71. ln -s proofgoldbccli proofgold-cli
Add Comment
Please, Sign In to add comment