Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Incremental emerge from cvs

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Yenda
n00b
n00b
Posts: 19
Joined: Mon Oct 07, 2002 12:05 pm
Location: Czech Republic

Incremental emerge from cvs

  • Quote

Post by Yenda » Wed Aug 04, 2004 9:05 am

Hi,
is there any way, how to not compile complete source code after second cvs checkout?
Let's say I emerge some project from cvs repository. First, emerge completely download tree of that project, configure and compile it. When I emerge it again, only changed and new files will be downloaded from cvs repository. But the whole project will be configured and compiled again.
I do not know much about compiling large projects and cvs and so, but is it possible to compile only the new files and files depending on this new files?
How to do it in portage? Thanks.
Top
br0mGreV
Apprentice
Apprentice
Posts: 265
Joined: Wed Jul 28, 2004 8:07 am
Location: Paris, France

  • Quote

Post by br0mGreV » Wed Aug 04, 2004 10:00 am

the Make system (which is yet what is used in almost all projects) already compile only the librairies that have changed.
The CVS system already only get files that have been modified.

then, when you execute the the CVS and configure/make, the system already do exactly what needed, and nothing else ( well, unless you don't do a make clean).

The problem in portage is free space. If you keep older versions made, with objects and sources and so on, it's definitely a lack of space.


The other issue with this theory is that in emerge, you get packaged items, distributed by third parties, and the CVS stuff get's harder.

I think this gives enough reasons why this system is not incorpored (so far) in emerge system.
Top
pYrania
Retired Dev
Retired Dev
User avatar
Posts: 650
Joined: Sun Oct 27, 2002 8:19 pm
Location: Cologne - Germany
Contact:
Contact pYrania
Website

  • Quote

Post by pYrania » Wed Aug 04, 2004 11:28 am

br0mGreV wrote:I think this gives enough reasons why this system is not incorpored (so far) in emerge system.
Not implemented anymore.
We cannot gurantee a stable program that was build from a CVS checkout.

The version we declare stable now might be horribly broken just 1 minute later.
Markus Nigbur
Top
br0mGreV
Apprentice
Apprentice
Posts: 265
Joined: Wed Jul 28, 2004 8:07 am
Location: Paris, France

  • Quote

Post by br0mGreV » Wed Aug 04, 2004 12:10 pm

pYrania wrote:We cannot gurantee a stable program that was build from a CVS checkout.
We can, anyway, imagine CVSs server administed by Gentoo and differents, then, from the developer's one, where users can "emerge" the new versions. Those one, controled by Gentoo would gives the gentoo developers enough control of what will be stable.

Well, anyway, it'squite a hard trick
Top
Yenda
n00b
n00b
Posts: 19
Joined: Mon Oct 07, 2002 12:05 pm
Location: Czech Republic

  • Quote

Post by Yenda » Wed Aug 04, 2004 2:33 pm

Thanks for replies!
Well, I use CVS for some programs (kdevelop-cvs, krusader-cvs) and
in particular kdevelop takes a long time to compile. So I think, ports build on the cvs e-class could have special feature (disabled by default) -- not deleting configured project and compiled object file after succesfull emerge of that app.

I'm aware that apps from cvs repz could be broken, they needn't compile even, but when I see the word 'cvs' in the name of port, I know, what I risk. I think, it is a lot about trust given to users by portage developers ;-) Well, maybe it is completely nonsence, just curious.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Wed Aug 04, 2004 3:13 pm

have a look at ccache.
Top
Yenda
n00b
n00b
Posts: 19
Joined: Mon Oct 07, 2002 12:05 pm
Location: Czech Republic

  • Quote

Post by Yenda » Thu Aug 05, 2004 12:43 pm

Genone wrote:have a look at ccache.
Thanks! I think ccache is the best possible solution of my problems for now.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy