midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/clang_host.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 585426
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# 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) 585426
pkg_clang_host_configure() {
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	ex_rtl_fileop rm "../cfe-${PKG_VERSION}-host";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	ex_rtl_fileop mkdir "../cfe-${PKG_VERSION}-host";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	ex_rtl_fileop cd "../cfe-${PKG_VERSION}-host";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	ex_rtl_log_msg info "Bootstrapping clang_host...";
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
	("${PREFIX}/bin/cmake"				\
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
		"../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) ec19f0
	ex_rtl_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