You are not logged in.

#1 2017-12-25 13:09:09

SJ
Member
Registered: 2017-12-25
Posts: 17

LLVM suite compile options

The official PKGBUILD for LLVM, clang and other tools is something I've never worked with. Copy different sources into a single tree, run a single build function and split the packages afterwards. Can I add my compile-time flags in the form of -DCLANG_FOO_BAR or -DLLD_FOO_BAR (where only global DCMAKE_FOO_BAR and -DLLVM_FOO_BAR options are set) to the PKGBUILD's build function or how would I go about to configure the individual packages?

Offline

#2 2018-01-04 10:20:03

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: LLVM suite compile options

The build function / cmake is the correct place for such settings.

Afaik llvm build system only supports building/configuring  everything in one spot.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB