Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I add external code (like perfctr) to the papi cvs project?

0
Posted

How do I add external code (like perfctr) to the papi cvs project?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.