How do I add external code (like perfctr) to the papi cvs project?
The correct way to do it is: Let’s say we’re adding a version of PerfCtr 2.6. PAPI keeps only release and major versions of the PerfCtr patch externally. Internally we track all PerfCtr versions as you will see from the CVS command line. 1) Untar the new distribution somewhere OUTSIDE of your CVS working dir and cd to it. % cd /tmp; tar xfz perfctr-2.6.17.tar.gz % cd perfctr-2.6.17 2) Import the sources, these will always appear in the HEAD branch of CVS. To make them appear in other branches, see below. Please make sure you use -ko to avoid substitution of keyworks. % cvs import -ko -m “Import of perfctr 2.6.17” papi/src/perfctr-2.6.x PERFCTR_DIST perfctr-2-6-17 Here PERFCTR_DIST is the “vendor tag” and perfctr-2-6-17 is the release version. ANYONE NOT FOLLOWING THE ABOVE SCHEME WILL BE IN TROUBLE. Then IF we have locally modified our copy (made changes to the distro) CVS will warn us to merge in the local changes with the newly imported sources. CVS will tell you how to resolve the c