Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Avoid automatic recompile of needed packages

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tobias Giesen

Hello,

is there a way to turn off re-compilation of packages that the project depends on? It seems to be doing that when I don't need it or want it.

Cheers,
Tobias

Reply by email

Mattias Gaertner
to Tobias Giesen
Hello, is there a way to turn off re-compilation of packages that the project depends on? It seems to be doing that when I don't need it or want it.

The packages are only compiled if something changed. Otherwise you found a bug.

Mattias

Reply by email

Mark Morgan Lloyd
to Tobias Giesen: is there a way to turn off re-compilation of packages that the project depends on? It…
Tobias Giesen wrote
Hello, is there a way to turn off re-compilation of packages that the project depends on? It seems to be doing that when I don't need it or want it.

What packages? Is it Lazarus trunk built yourself from SVN?

There's currently a situation where building the first (user) project causes all packages to be rebuild with the debugging profile which can be... unfortunate.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Tobias Giesen
to Mark Morgan Lloyd
What packages? Is it Lazarus trunk built yourself from SVN?

It recompiles the LCL whenever I switch the processor type. It is not necessary. I want to compile the LCL manually and never automatic.

Is it possible to turn automatic off or not?

Cheers,
Tobias

Reply by email

Unknown author
to Tobias Giesen

Quoting Tobias Giesen :

Show quoted text 6 lines
> What packages? Is it Lazarus trunk built yourself from SVN? It recompiles the LCL whenever I switch the processor type. It is not necessary. I want to compile the LCL manually and never automatic. Is it possible to turn automatic off or not?

afaik, there's setting when you open package ... there's manually build (so no automatic or when needed).

zeljko

Reply by email

Mattias Gaertner
to Tobias Giesen: It recompiles the LCL whenever I switch the processor type. It is not necessary. I want…
> What packages? Is it Lazarus trunk built yourself from SVN? It recompiles the LCL whenever I switch the processor type. It is not necessary. I want to compile the LCL manually and never automatic.

If you mean with "processor type" the CPU (e.g. arm, i386, x86_64): the LCL ppu files are put into different output directories for each target cpu. So changing the target cpu does *not* trigger a recompile of the LCL.

If you mean the target processor (e.g. pentium II, pentium IV) then a switch triggers a recompile, because they share the same output directory.

Is it possible to turn automatic off or not?

Yes, open the package lcl, in the package editor click on options / package options / ide integration / Manual compilation.

Mattias

Reply by email