Commit Graph

36 Commits

Author SHA1 Message Date
Jérôme Duval
2e4481508d Bootstrap: sync bootstrap package list
* also add the needed libtool_cross_generic on x86_64, x86, x86_gcc2.
2014-11-07 00:15:47 +01:00
Jonathan Schleifer
7f2419ee59 Add less to bootstrap image 2014-10-28 18:56:02 +01:00
Jonathan Schleifer
982bb9f713 Update python_bootstrap to 2.7.6
Python 2.7.x has *much* better cross-compiling support so that it's now
actually possible to properly cross-compile Python during the bootstrap.
Before, it would just depend a lot on luck and the build host used, now
it even cross-compiles on OS X.

This means it's now possible to build a working bootstrap image on OS X!
:)
2014-10-28 15:18:28 +01:00
Jonathan Schleifer
1436138938 Update icu_bootstrap
Our code wouldn't compile with the old one anymore (issuing warnings
when -Werror is enabled).
2014-10-25 23:16:57 +02:00
Jérôme Duval
d02e38fb13 moves /bin/sh to bash packages.
* bash is a mandatory package.
2014-10-01 23:48:12 +02:00
Jérôme Duval
b2d0f2e7b6 Use bash_bootstrap for the bootstrap build.
* don't build the in-tree bash.
* bash doesn't need to be a mandatory package, it's now a dependency of
the haiku package.
2014-10-01 22:34:45 +02:00
Oliver Tappe
e29a6c4cd4 Introduce stage0 into the bootstrap process.
* This stage builds the gcc packages to get the shared syslibs, which
  only requires the Haiku glue code.
* Add separate declaration section for stage0 packages to
  HaikuPortsCross repository files.
* For the bootstrap_stage0 platform, fall back to the gcc headers
  provided by the cross-compiler.
2014-08-13 13:34:26 +02:00
Jérôme Duval
756ed316a7 gcc_bootstrap: bump revision. 2014-07-04 00:08:07 +02:00
Arvind S Raj
c2da73b90e Corrected version of gcc_bootstrap to match the version in HaikuPorts recipe.
* There was a version mismatch between HaikuPorts gcc_bootstrap recipe
  and build/jam/repositories/HaikuPortsCross/arm which prevented
  building @bootstrap-raw for ARM. Thanks Ingo for helping out!
* Ditto for ppc, x86, x86_64.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-07-03 22:26:02 +02:00
Ithamar R. Adema
5e58d0c597 sync arm bootstrap package list with x86_64
This also adds the libtool_cross_generic package to ARM bootstrap,
which seems to be required for building ncurses successfully. I did
not have the time to verify that this is the case for x86_64 too, so
I'm not yet adding it to there (yet).
2014-06-25 17:30:30 +02:00
Oliver Tappe
f35543f6bd Correct gcc_bootstrap versions.
* Referring to a gcc_bootstrap version that actually exists improves
  the bootstrap insofar as it will no longer try to build gcc_bootstrap
  every time.
2014-04-21 23:26:21 +02:00
PulkoMandy
aa284789e6 Update gcc version to match bootstrap repo.
* Fix bootstrap image build.
2014-04-19 10:11:40 +02:00
Oliver Tappe
9109e44e2e Include findutils_bootstrap on x86* versions of bootstrap image. 2014-03-22 23:21:25 +01:00
Jérôme Duval
c2719465fa Update binutils version in haikuports.cross repository. 2014-03-19 20:55:44 +01:00
Jonathan Schleifer
36ab9ee174 Use correct gawk_bootstrap version
This prevents rebuilding it every time jam is called.
2014-03-11 22:13:24 +01:00
Oliver Tappe
526132b58d Add missgin gawk_bootstrap, it is required on the bootstrap image. 2014-03-11 22:05:26 +01:00
Jonathan Schleifer
98ae6f2784 Update HaikuPortsCross repo for all archs 2014-03-10 04:24:55 +01:00
Oliver Tappe
66bd70a983 Update gcc4 version in haikuports.cross repository. 2014-03-02 21:55:26 +01:00
Oliver Tappe
dbc5041b9f Add curl to bootstrap package list for x86_64. 2014-03-02 21:55:26 +01:00
Alexander von Gluck IV
27c7c040de HaikuPortsCross: Add rest of needed bootstrap packages for PowerPC 2014-01-26 14:33:11 -06:00
Alexander von Gluck IV
547466c035 ppc: Add icu HaikuPortsCross package
* Work towards resolving #10240
2014-01-25 23:44:18 -06:00
Ingo Weinhold
efd7a43c66 HaikuPortCross repository: Update libsolv version 2013-10-03 23:01:13 +02:00
François Revol
b019bb2f4f Add definitions for M68K repositories and package infos 2013-09-30 02:35:28 +02:00
François Revol
55cc9f852a Add definitions for PPC repositories and package infos 2013-09-30 01:29:03 +02:00
François Revol
396fc0b0eb Add definitions for ARM repositories and package infos 2013-09-29 03:43:02 +02:00
Oliver Tappe
818ed1eaf0 Remove blocks for secondary packages for x86_64. 2013-09-06 17:21:35 +02:00
Oliver Tappe
eb658691e9 Add definitions for x86_64 repositories and package infos. 2013-08-27 23:30:23 +02:00
Ingo Weinhold
648a97f716 HaikuPortsCross: update gcc package versions 2013-08-22 15:49:34 +02:00
Ingo Weinhold
b35337eb1e Add repositories for x86
Almost complete. bepdf is still missing, since it doesn't build with gcc
4 and a few source packages are missing as well (binutils and gcc
because haikuporter doesn't build them correctly ATM, mesa due to an
oversight).
2013-08-21 16:45:48 +02:00
Ingo Weinhold
d1251475e2 Add the missing secondary arch bootstrap packages
The Haiku bootstrap image is now built with (hopefully) all required
primary and secondary architecture packages. The runtime loader is still
resisting our wish to run secondary architecture programs, though.
2013-08-06 03:37:45 +02:00
Ingo Weinhold
93cfb72270 build features/bootstrap repo: support secondary arch
* Add rule FSplitPackageName. It splits a package name into port name
  and package suffix.
* FSetConditionsHold: Rename to FConditionsHold and replace the set
  parameter by a predicate rule parameter, thus adding more flexibility.
* FIsBuildFeatureEnabled: Use the faster check.
* Add rule FQualifiedBuildFeatureName. Given a build feature name, it
  prepends the current packaging architecture to yield a qualified
  feature name. Is used by the other build feature rules so that the
  same build feature can be configured differently for each arch.
* ExtractBuildFeatureArchives: The supplied list is now filtered via
  FFilterByBuildFeatures, allowing for build feature conditions in the
  list.
* Add rule InitArchitectureBuildFeatures. It is called early for each
  configured architecture, setting up some basic build features for it.
  "primary" is set for the primary architecture and a "secondary_<arch>"
  is set for each secondary architecture.
* BuildFeatures: Add secondary architecture support: Use the correct
  paths for libraries and headers (subdir for secondary architecture)
  and configure the icu and zlib sources only for the primary
  architecture.
* BootstrapPackageRepository: The package lists are now filtered via
  FFilterByBuildFeatures, allowing for build feature conditions in the
  lists.
* IsPackageAvailable, FetchPackage: Add secondary architecture support.
* HaikuPortsCross/x86_gcc2: Add icu and zlib x86 secondary packages.

The second stage Haiku cross devel package for the secondary
architecture can now be built.
2013-08-05 07:09:45 +02:00
Oliver Tappe
f30881d7fe Replace makeinfo_bootstrap with texinfo_bootstrap.
* using texinfo_bootstrap has the advantage of allowing implicit
  mapping between _bootstrap packages and the corresponding 
  non-bootstrap packages
2013-08-04 21:05:24 +02:00
Ingo Weinhold
81bd962f27 Add haikuporter and python to Haiku bootstrap image 2013-07-21 23:58:37 +02:00
Ingo Weinhold
26b0aa1ccd HaikuPortsCross repository: fix binutils, gcc revision mismatch
I don't think it makes that much sense to increment the revisions in
the cross recipes anyway, since there isn't any actual package
repository.
2013-07-21 21:34:02 +02:00
Ingo Weinhold
a7ab22a0c0 HaikuPortsCross repository: icu_bootstrap is now available 2013-07-21 18:23:45 +02:00
Ingo Weinhold
e173a1ec1c Integrate building the HaikuPorts bootstrap packages
* Add configure option --bootstrap which allows specifying the
  haikuporter and HaikuPorts repository paths.
* Add rules for supporting a second repository type. The
  PackageRepository rule is now private and RemotePackageRepository is
  used for remote repositories. The new BootstrapPackageRepository rule
  is for defining a bootstrap repository (there will probably be only
  the HaikuPorts cross repository) whose packages can be built as needed
  via haikuporter.
* Rename DownloadPackage to FetchPackage.
* Define repository HaikuPortsCross.
* HaikuCrossDevel package(s): There are now two sets of packages: A
  "stage1" set with the same content as before and a final set
  additionally containing the libraries libbe, libnetwork, libpackage.
  Those are needed for building the libsolv bootstrap package while for
  building them we need other bootstrap packages (ICU, libz).

This is basically all that's required to build a bootstrap Haiku
completely from sources, with a few caveats:
* There's no ICU bootstrap recipe yet (so one has to cheat and use the
  prebuilt package ATM).
* Probably doesn't work on Haiku yet (tested on Linux only).
* A 32 bit environment must be used (otherwise building the gcc 2
  bootstrap package fails).
* Building with multiple jobs doesn't work yet, since haikuporter uses
  common directories for building different packages and there's no
  explicit serialization yet.
* Haven't tested the resulting image save for booting it. So it probably
  needs a bit more work before it can actually build the final
  HaikuPorts packages.
2013-07-21 04:10:48 +02:00