versions.mk 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .PHONY: validate-versions reset-versions
  2. SUBMODULES_CONFIG_FILE = $(top_srcdir)/acceptance-tests/SUBMODULES.json
  3. include $(top_srcdir)/scripts/submodules/versions.mk
  4. $(eval $(call ValidateVersionTemplate,benchmarker,BENCHMARKER))
  5. $(eval $(call ValidateVersionTemplate,roslyn,ROSLYN))
  6. $(eval $(call ValidateVersionTemplate,coreclr,CORECLR))
  7. $(eval $(call ValidateVersionTemplate,ms-test-suite,MSTESTSUITE))
  8. $(eval $(call ValidateVersionTemplate,DebianShootoutMono,DEBIANSHOOTOUTMONO))
  9. # Bump the given submodule to the revision given by the REV make variable
  10. # If COMMIT is 1, commit the change
  11. bump-benchmarker: __bump-benchmarker
  12. bump-roslyn: __bump-version-roslyn
  13. bump-coreclr: __bump-version-coreclr
  14. bump-ms-test-suite: __bump-version-ms-test-suite
  15. bump-DebianShootoutMono: __bump-version-DebianShootoutMono
  16. # Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
  17. # If COMMIT is 1, commit the change
  18. bump-branch-benchmarker: __bump-branch-benchmarker
  19. bump-branch-roslyn: __bump-branch-roslyn
  20. bump-branch-coreclr: __bump-branch-coreclr
  21. bump-branch-ms-test-suite: __bump-branch-ms-test-suite
  22. bump-branch-DebianShootoutMono: __bump-branch-DebianShootoutMono
  23. # Bump the given submodule to its current GIT version
  24. # If COMMIT is 1, commit the change
  25. bump-current-benchmarker: __bump-current-benchmarker
  26. bump-current-roslyn: __bump-current-version-roslyn
  27. bump-current-coreclr: __bump-current-version-coreclr
  28. bump-current-ms-test-suite: __bump-current-version-ms-test-suite
  29. bump-current-DebianShootoutMono: __bump-current-version-DebianShootoutMono
  30. commit-bump-benchmarker:
  31. $(MAKE) bump-benchmarker COMMIT=1
  32. commit-bump-roslyn:
  33. $(MAKE) bump-roslyn COMMIT=1
  34. commit-bump-coreclr:
  35. $(MAKE) bump-coreclr COMMIT=1
  36. commit-bump-ms-test-suite:
  37. $(MAKE) bump-ms-test-suite COMMIT=1
  38. commit-bump-DebianShootoutMono:
  39. $(MAKE) bump-DebianShootoutMono COMMIT=1
  40. commit-bump-current-benchmarker:
  41. $(MAKE) bump-current-benchmarker COMMIT=1
  42. commit-bump-current-roslyn:
  43. $(MAKE) bump-current-roslyn COMMIT=1
  44. commit-bump-current-coreclr:
  45. $(MAKE) bump-current-coreclr COMMIT=1
  46. commit-bump-current-ms-test-suite:
  47. $(MAKE) bump-current-ms-test-suite COMMIT=1
  48. commit-bump-current-DebianShootoutMono:
  49. $(MAKE) bump-current-DebianShootoutMono COMMIT=1