midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/llvm_host.vars

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) 585426
pkg_llvm_host_configure() {
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
	secure_rm ../llvm-${PKG_VERSION}-host;
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
	insecure_mkdir ../llvm-${PKG_VERSION}-host;
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
	cd ../llvm-${PKG_VERSION}-host;
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
	log_msg info "Bootstrapping llvm_host...";
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
	(${PREFIX}/bin/cmake ../llvm-${PKG_VERSION}.src			\
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
		-DLLVM_BUILD_DOCS=NO					\
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
		-DLLVM_BUILD_EXAMPLES=NO				\
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
		-DLLVM_BUILD_TESTS=NO					\
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
		-DLLVM_ENABLE_SPHINX=NO					\
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
		-DLLVM_TARGETS_TO_BUILD=X86				\
Lucio Andrés Illanes Albornoz (arab, vxp) 585426
		-DSPHINX_WARNINGS_AS_ERRORS=NO				\
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 llvm_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