|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
# . ./build.vars and set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
pkg_clang_host_configure_pre() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
build_fileop rm ${WORKDIR}/Makefile;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
pkg_clang_host_configure() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
build_fileop rm ../cfe-${PKG_VERSION}-host;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
build_fileop mkdir ../cfe-${PKG_VERSION}-host;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
build_fileop cd ../cfe-${PKG_VERSION}-host;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
log_msg info "Bootstrapping clang_host...";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
(${PREFIX}/bin/cmake ../cfe-${PKG_VERSION}.src \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCLANG_INCLUDE_DOCS:BOOL=OFF \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCLANG_INCLUDE_TESTS:BOOL=OFF \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCMAKE_BUILD_TYPE=Release \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCMAKE_INSTALL_PREFIX="" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DCMAKE_VERBOSE_MAKEFILE=NO \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DLIBCLANG_BUILD_STATIC:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-DLLVM_PREFIX="${PKG_PREFIX}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-G "Unix Makefiles" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
-Wno-dev);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
log_msg info "Finished bootstrapping clang_host.";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
585426 |
# vim:filetype=sh
|