* In progress 2015-01-07*

In order to distribute bug fixes and software updates to the users of the AMC13, we need to generate a new tag on the cactus svn and generate a ticket to update the cern repos rpms.

Here is what you need:

  • Access to the cactus svn

  • An up-to-date scientific linux machine with the uhal enviornment installed (currently SLC6)

As part of this procedure, you need to make a new commit to the trunk of the svn with some changes to the Makefile.

Then after this we can make the tag. As always, double check that you are committing working code. Do a make clean;make cycle to make sure!

Updating the Makefile:

First, go in the amc13 base directory (it should look like this )

The following makefile need to be changes:

  • amc13/Makefile
  • tools/Makefile
  • python/Makefile

The change needed is to increment the PACKAGE_VER_MAJOR/MINOR/PATCH/RELEASE numbers.

For now, we just increment the PACKAGE_VER_PATCH.

AMC13_ROOT = $(shell pwd)/../

include $(AMC13_ROOT)/config/mfCommonDefs.mk

PackagePath = $(shell pwd)
PackageName = cactusboards-amc13-amc13

Packager = Eric Hazen, David Zou, Daniel Gastler


LIBRARY = lib/libcactus_amc13_amc13.so

Now that you've made these changes, do a make clean;make to make sure the code is still working.

Updating the svn:

Now we are ready to commit the new tag.

  • First, make sure the rpms can be built properly using the "make rpm" command
  • Second, commit to the trunk, the changed makefiles: svn commit
  • Third, we make the real tag using svn copy: svn copy svn+ssh://dgastler@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13 svn+ssh://dgastler@svn.cern.ch/reps/cactus/tags/amc13/amc13_v1_0_9

Now that the new tag is generated, we need to make the rpms for distribution. To do this we need a current SLC6 linux machine (CM1 @ BU).

  • Check out the new tag: svn checkout svn+ssh://dgastler@svn.cern.ch/reps/cactus/tags/amc13/amc13_v1_0_9
  • Compile with make
  • Now if everything works, make the rpms with the "make rpm" command.

Once the rpms work, post them in a public place and generate a ticket to Alessandro Thea on the Cactus ticketing system with a link to the rpms for him to use to update the repos. Here is an image of a ticket just before sending: Screenshot_-_04152015_-_104432_AM.png

Text for tag:

New tag (v1_1_10) of AMC13 rpms need to be added to the repo
A new tag for the AMC13 software was added.
The corresponding rpms are located here:

-- DanielGastler - 07 Jan 2015

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 10 Feb 2017 - DanielArcaro
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback