1-

Fixes for llvm are attached, one is the .desc change mentioned below to not build at stage0, and 2 changes for the .conf so it only builds dynamic and not partly dynamic / partly static libs, and a fix for the comment in the same line to make it clearer why needed.

2-

a) In target/generic/pkgsel/40-minimal-xorg.in 'markupsafe' and 'mako' have been apparently relaced within 'meson', i've disabled mine for now until I can do a full independant build.

b) In target/generic/pkgsel/40-minimal-xorg.in, a number of other deps are missing and are now needed to be added, they are xproto, fontsproto, xf86driproto, inputproto, glproto, pyopengl, and fontutil.

and that's todays work as it's building stage 5 at present!

regards
scsijon


On 05/02/20 14:25, scsijon wrote:

On 05/02/20 01:06, scsijon wrote:

first two things found with 40-minimal-xorg added

go into develop/intltool/intltool.desc and change 0----5--- to -----5--- as intltool wants the perl module xmlparser and that's not built till '5' and perl itself built in '2'. Can't see it needed in earlier stages anyway.

i've also turned off llvm as it's failing wanting stuff that's musl/clang only, maybe there is a switch missing with glib/gcc since they went that route. I'll look at it when I get to that point of needing it as we don't use it in quirky.

Interesting, i've got to the 5-$package stage with llvm off and of course xorg-server failed as it wants it. And now having added it back on (X ilo O) it seems to be building ok, at least it's up to 73% and still going strong, I wonder if llvm shouldn't be set not as 01---5---9 but -1---5---9 ? I shall try when I start a fresh rebuild and see what happens and report back.

By the way, there are a few missing dependancies in 4-minimal-xorg and apparently with meson included a couple of others are no longer needed.

I really wish they hadn't played with the old

<.configure ; make ; make test ; make install>

routine. Just because they couldn't write a decent configure script we have to put up with all this extra 'stuff' to learn and have to use!

scsijon


On 04/02/20 17:46, scsijon wrote:

Just a quick note that I had a sucessfull 20-minimal build using r49158 and patches / fixes, which failed again when updated to r49191, even though I added the fixes, so i've gone back to r49158 and trying by adding to 40-minimal-xorg as I will be diverting after this point. When it's right at 40-minimal-xorg i'll start updating revisions.

Yet to add a full info sheet and attach's, that will happen after a 'few' cleanup's and something that others can use, it's a bit cryptic at present, I can understand it but most others won't.

I'm also back to using this thread rather than a new one for the 40-minimal-xorg or mixing things up by using Jans.

scsijon


----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] T2 SDE: package/.../llvm/llvm.desc
[COPY] Copyright (C) 2008 - 2019 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- T2-COPYRIGHT-NOTE-END ---

[I] Low Level Virtual Machine

[T] Low-Level Virtual Machine (LLVM) is a compiler infrastructure designed for
[T] compile-time, link-time, run-time, and "idle-time" optimization of
[T] programs from arbitrary programming languages. It currently supports
[T] compilation of C, Objective-C, and C++ programs, using front-ends derived
[T] from GCC 4.0, GCC 4.2, and a custom new front-end, "clang". It supports
[T] x86, x86-64, ia64, PowerPC, and SPARC, with support for Alpha and ARM
[T] under development.

[U] http://llvm.org/
[U] http://clang.llvm.org/
[U] http://vmkit.llvm.org/

[A] University of Illinois/NCSA
[A] Chris Lattner <[email protected]>
[M] Rene Rebe <[email protected]>

[C] extra/development
[F] CROSS

[L] BSD
[S] Stable
[V] 9.0.1
[P] X -1---5---9 102.500

[CV-URL] https://github.com/llvm/llvm-project/releases/
[D] 639b49553cffc0745abea6bebfe4c25fff6b2b2c225f790a3bf7bbb1 
llvm-9.0.1.src.tar.xz 
https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../llvm/llvm.conf
# Copyright (C) 2009 - 2019 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---

hook_add preconf 5 "mkdir -p objdir; cd objdir"
cmakelists="../CMakeLists.txt"
#atstage cross && export DESTDIR="$root"
var_append cmakeopt " " "-DCMAKE_INSTALL_PREFIX=$root/$prefix 
-DCMAKE_BUILD_TYPE:STRING=Release"
var_append cmakeopt " " "-DLLVM_TARGETS_TO_BUILD='host;AMDGPU;BPF;WebAssembly'"
# AArch64 Hexagon Lanai Mips MSP430 NVPTX PowerPC Sparc SystemZ XCore

#hook_add prepatch 5 "patch -p0 < `match_source_file -p diff`"

if atstage toolchain; then
        var_append cmakeopt " " "-DLLVM_DEFAULT_TARGET_TRIPLE=$arch_target"
        #-DLLVM_TARGET_ARCH=ARM
        #-DLLVM_TARGETS_TO_BUILD=ARM
fi

[ "${libdir##*/lib}" ] && var_append cmakeopt " " 
"-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}"
# builds libraries as static and links all of them into an unique shared one
#var_append cmakeopt " " "-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON"
# added shared_libs=on as replaces above line and builds all as shared, not 
only some, also comment fix
var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_RTTI=ON" # Mesa 
v19+
var_append cmakeopt " " ".."

#var_append extraconfopt ' ' '--disable-bindings' # TODO: config option
[ $arch = powerpc64 ] && var_append GCC_WRAPPER_APPEND ' ' -mminimal-toc
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to