Ticket #35 (assigned defect)

Opened 2 years ago

Last modified 1 year ago

Fix arch variants in build to just build a single arch at a time.

Reported by: dshipton Assigned to: allenb (accepted)
Priority: critical Milestone: 2.0 Beta
Component: Build Version:
Keywords: Cc:
Completion:

Description

Since the scons build identifies all available platforms to build on and builds them all by default…when it checks for the different libraries that could be available it should check for them on all the different platforms it will build for. As it stands, on my x86_64 machine it sees that it can build 32 and 64 and that jpg,png, and gif are available(which is really only available for the 64bit build). It then starts building 32bit and soon errors out because libjpeg isn't available to link against 32bit.

Change History

09/11/06 15:20:02 changed by allenb

  • owner changed from unassigned to allenb.
  • status changed from new to assigned.

How critical is it to everyone to be able to compile for multiple architectures at the same time?

The reason I ask is that I don't see a good solution to this without making the build much more complex. If people are willing to live with having to compile multiple times (once per architecture) I would rather fix this by eliminating the feature.

09/11/06 20:22:06 changed by dirk

I think that's ok. The only benefit of being able to compile multiple archutectures at once that I can see is a little bit of efficiency due to the overlap of two archs when running in parallel. That doesn't seem to be worth the pain.

(follow-up: ↓ 4 ) 09/12/06 15:50:54 changed by dshipton

Eliminating that I don't think solves the problem. The problem is when your on a 64 bit arch and you try to compile 32bit, when scons checks for jpg it doesn't check for a 32bit version. So it will find jpg/gif/etc even though it is not available.

(in reply to: ↑ 3 ) 09/12/06 15:54:14 changed by allenb

Replying to dshipton:

Eliminating that I don't think solves the problem. The problem is when your on a 64 bit arch and you try to compile 32bit, when scons checks for jpg it doesn't check for a 32bit version. So it will find jpg/gif/etc even though it is not available.

This can be solved though if we only focus on one architecture at a time. For example if the build was told to build 64bit then it could setup all the compiler and libs options for option processing to use 64bit flags and paths. It would require some work but it would be easier and less convoluted then supporting all archs at the same time.

01/05/07 17:15:41 changed by allenb

  • priority changed from major to critical.
  • estimated_completion changed.
  • summary changed from Checks needed for jpg,png,gif,etc on an architecture basis to Fix arch variants in build to just build a single arch at a time..

01/05/07 17:15:47 changed by allenb

  • milestone set to 2.0 Beta.