#
d9f698ea |
| 02-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Fix copying clang_headers for non-x86 architectures.
Also allow Clang for PowerPC builds.
|
#
20dbf032 |
| 01-Aug-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
configure: Allow Clang for ARM builds.
|
#
a107d3b4 |
| 01-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Do --update check earlier.
Previously we initialized variables and ran a few $CC tests first (which was what the old version of --update needed.) Now, we can do it almost immediately afte
configure: Do --update check earlier.
Previously we initialized variables and ran a few $CC tests first (which was what the old version of --update needed.) Now, we can do it almost immediately after the script begins.
Spotted by running --update on a GCCless system (as the $CC tests gave warning messages due to no GCC, while CC= was set in --update environs.)
show more ...
|
#
1c307243 |
| 01-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Detect lld and elfedit properly under Clang.
|
#
c44472c5 |
| 01-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
Enable use of Clang's integrated assembler.
|
#
101564e4 |
| 03-Jul-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Fix "unsupported target architecture" message.
|
#
32b50a88 |
| 23-Jun-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Add missing word-boundary marker to test invocation.
Fixes specifying a secondary cross-arch that is a substring of the first (e.g. "x86_gcc2"+"x86".) Thanks to nielx for noticing!
|
#
c1249957 |
| 18-Jun-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Cleaner grouping of compiler settings.
Now, instead of breaking them up, all settings related to or gleaned from the compiler are listed first (except for BOOT_CXXFLAGS_...). No functiona
configure: Cleaner grouping of compiler settings.
Now, instead of breaking them up, all settings related to or gleaned from the compiler are listed first (except for BOOT_CXXFLAGS_...). No functional change intended.
show more ...
|
#
6c5fcb4f |
| 18-Jun-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Move deduplifying targetArchs to where HAIKU_PACKAGING_ARCHS is built.
If one specifies a cross-tools path instead of --build-cross-tools along with --use-clang, then the specified archit
configure: Move deduplifying targetArchs to where HAIKU_PACKAGING_ARCHS is built.
If one specifies a cross-tools path instead of --build-cross-tools along with --use-clang, then the specified architecture winds up in the list twice, as the first test looks for the arch name where only "unknown" exists (since in the case of cross-tools paths, we delay fetching the arch.) So we need to move this check to there instead.
show more ...
|
#
ddf7f643 |
| 18-Jun-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: If set, pass the cross-tools-prefix when invoking Clang.
This lets clang use our linker and other binutils instead of its own. Now clang builds produce a working bootloader and get all th
configure: If set, pass the cross-tools-prefix when invoking Clang.
This lets clang use our linker and other binutils instead of its own. Now clang builds produce a working bootloader and get all the way to the "rocket" icon, at which point userland init fails.
show more ...
|
#
b337e9a8 |
| 13-Jun-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove HAIKU_INCLUDE_PATENTED_CODE.
Nothing uses it anymore. Fixes #8935.
|
#
1f839e89 |
| 23-May-2018 |
waddlesplash <waddlesplash@gmail.com> |
configure: Rebuild cross-tools if GCC configure is newer than built GCC.
|
#
43f5f35a |
| 15-Apr-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Make sure the output directory exists before running xattr tests.
|
#
e5d446fc |
| 01-Mar-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
configure: Improve toolchain validation
* Seeing an issue on our builders where the toolchain directory exists, but the gcc binaries do not. * Check for the path, as well as the actual compiler bi
configure: Improve toolchain validation
* Seeing an issue on our builders where the toolchain directory exists, but the gcc binaries do not. * Check for the path, as well as the actual compiler binaries to improve detection of need to rebuild toolchain.
Change-Id: I54fd5789e3255c8295136bb0614e72c5393718fe
show more ...
|
#
8a9e1e0d |
| 31-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now actually impossible to build Haiku components on non-Hai
Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now actually impossible to build Haiku components on non-Haiku platforms (BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this.
This is only the first part; still to be removed are: * SetSubDirSupportedPlatformsBeOSCompatible * HOST_PLATFORM_BEOS_COMPATIBLE * TARGET_PLATFORM_BEOS_COMPATIBLE
show more ...
|
#
503ef6d4 |
| 15-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
build: Correct libroot_build's usage of xattrs on a Haiku host.
Implemented by just not defining the functions at all and letting the Haiku ones shine through. In the future, though, we should wrap
build: Correct libroot_build's usage of xattrs on a Haiku host.
Implemented by just not defining the functions at all and letting the Haiku ones shine through. In the future, though, we should wrap them properly.
(Between the switch to libroot_build and this commit, libroot_build was using the generic attribute emulation layer on Haiku ... whoops.)
show more ...
|
#
36f28382 |
| 13-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Properly test for set crossToolsPrefix and targetArchs.
Now you can specify a --build-cross-tools and then override just GCC from it with a following --use-clang in the same configure inv
configure: Properly test for set crossToolsPrefix and targetArchs.
Now you can specify a --build-cross-tools and then override just GCC from it with a following --use-clang in the same configure invocation.
show more ...
|
#
fc2c93fb |
| 05-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Enable use-xattr or use-xattr-ref automatically.
The previous commit only checked that they worked if the user enabled them, but now they will be enabled automatically if the underlying f
configure: Enable use-xattr or use-xattr-ref automatically.
The previous commit only checked that they worked if the user enabled them, but now they will be enabled automatically if the underlying filesystem supports them.
The ReadMe.Compiling has been updated accordingly.
show more ...
|
#
a5c952db |
| 05-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Actually check the host's support for extended attributes.
Previously the helptext just displayed a warning to "make sure your file system supports sufficient attribute sizes", and left t
configure: Actually check the host's support for extended attributes.
Previously the helptext just displayed a warning to "make sure your file system supports sufficient attribute sizes", and left the actual checks to libroot_build at runtime.
Now we use the native command-line tools of each platform to make sure that we can actually set attributes large enough for --use-xattr and --use-xattr-ref respectively.
show more ...
|
#
825700d3 |
| 05-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Rewrite implementation of --update.
Previously --update was kind of a hack, as it just dumped all the variables from BuildConfig back into ./configure and attempted to rerun from there.
configure: Rewrite implementation of --update.
Previously --update was kind of a hack, as it just dumped all the variables from BuildConfig back into ./configure and attempted to rerun from there.
Instead, now we store all of the variables and environs configure was invoked with in the top of BuildConfig and re-call it using them. This is much more robust, as configure will actually recompute all of the values from the BuildConfig.
As a side effect, if configure was originally invoked to build crosstools, it would have done so again, so instead add a check to see if they exist, and skip them if they do. It's easy enough to delete the directory if you want to force a crosstools rebuild.
Briefly discussed with mmlr on IRC.
show more ...
|
#
9c292427 |
| 03-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Remove totally useless --enable-multiuser switch.
It's not used anywhere in the build system at all.
|
#
1f6fe055 |
| 02-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
build: Copy and use Clang's vector intrinsics headers.
When compiling with GCC, these headers get pulled in from the gcc_syslibs_devel package, but we cannot do something similar for Clang as Clang
build: Copy and use Clang's vector intrinsics headers.
When compiling with GCC, these headers get pulled in from the gcc_syslibs_devel package, but we cannot do something similar for Clang as Clang adds/removes internal builtins used by the headers nearly every version. So instead we just copy all the intrinsics headers from current Clang into generated, and make sure this directory is included before any others.
show more ...
|
#
65706842 |
| 01-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Further fixes to Clang support.
* Actually locate the clang executable, and allow user overrides * Properly preserve arguments in get_build_tool_path * Fix get_build_tool_path for comm
configure: Further fixes to Clang support.
* Actually locate the clang executable, and allow user overrides * Properly preserve arguments in get_build_tool_path * Fix get_build_tool_path for commands with dashes (e.g. "clang-5.0")
show more ...
|
#
e042a53b |
| 23-Nov-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Avoid bashism introduced in previous hrev.
|
#
d73993ff |
| 23-Nov-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
configure: Fix & enhance --use-clang.
Now you set the arch along with the argument, and specify the binutils manually (and thus build without a complete crosstools environment.)
|