message: adding branch arg to xacc-framework
diff: @@ -33,6 +33,7 @@ def parse_args(args):
  parser.add_argument("-j", "--make-threads", default=4, type=int, help="Number of threads to use in make", required=False)
  parser.add_argument("-i", "--initialize", action='store_true', help="Initialize the framework.", required=False)
  parser.add_argument("-L", "--location", action='store_true', help="Print the path to the XACC install location.", required=False)
  + parser.add_argument("-b", "--branch", default='master',type=str, help="Print the path to the XACC install location.", required=False)
  opts = parser.parse_args(args)
  return opts
  @@ -122,6 +123,11 @@ def main(argv=None):
  if not opts.make_threads == None:
  cpus = str(opts.make_threads)
  + branch = 'master'
  + if not opts.branch == None:
  + branch = opts.branch
  + print('Installing branch = ', branch)
  +
  # Get the plugins we're supposed to install
  plugins = opts.plugins
  cmake_args = ''
  @@ -151,7 +157,7 @@ def main(argv=None):
  include(ExternalProject)
  ExternalProject_Add("""+plugin+"""
  GIT_REPOSITORY """+availablePluginUrls[plugin]+"""
  - GIT_TAG master
  + GIT_TAG """+branch+"""
  CMAKE_ARGS -DXACC_DIR="""+xaccLocation+' '+cmake_args+"""
  BUILD_ALWAYS 1
  INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
  