Coder Social home page Coder Social logo

Need help starting with Git about cmssw HOT 3 CLOSED

cms-sw avatar cms-sw commented on July 21, 2024
Need help starting with Git

from cmssw.

Comments (3)

Dr15Jones avatar Dr15Jones commented on July 21, 2024

Hi Alessio,
I'm afraid you can't use 'git cms-addpkg' for this particular case. 'git cms-addpkg' can only be used to either get packages from the official cmssw repository or from a repository which was forked from the official cmssw repository. That isn't the case for you. I would suggest you look at
#178

and try to apply the solution suggested there.

Chris

Christopher Jones
Fermi National Accelerator Laboratory
[email protected]

from cmssw.

davidlt avatar davidlt commented on July 21, 2024

One of many quick ways:

export SCRAM_ARCH=slc5_amd64_gcc472
scram p CMSSW_6_1_2_SLHC6_patch1
cd CMSSW_6_1_2_SLHC6_patch1
eval $(scram r -sh)
cd src
git cms-init
git remote add h2gglobe https://github.com/h2gglobe/h2gglobe.git
git config core.sparsecheckout true
echo VertexAnalysis >> .git/info/sparse-checkout
git pull h2gglobe master
mkdir SomeSubsystem
mv VertexAnalysis SomeSubsystem
scram b -v -k -j 12 >&! b.log

Worked for me. Compiled fine, just one warning. Only issue I see is that pulling/fetching from h2gglobe repository is extremely long for some unknown reason.

from cmssw.

ktf avatar ktf commented on July 21, 2024

Ciao Alessio. Please have a look at:

http://cms-sw.github.io/cmssw/tutorial-merge-usercode-repository-in-cmssw.html

to see if it makes sense for you. Please close this thread if it does.

from cmssw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.