minix/sys/external/bsd/compiler_rt/prepare-import.sh
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

18 lines
612 B
Bash
Executable file

#!/bin/sh
# $NetBSD: prepare-import.sh,v 1.1 2013/07/04 22:12:40 joerg Exp $
#
# Checkout compiler_rt into dist.
# Run this script and check for additional files and directories to prune,
# only relevant content should be included.
set -e
cd dist
rm -rf .svn
rm -rf BlocksRuntime SDKs cmake include make www
rm -f .arcconfig .gitignore CMakeLists.txt Makefile
rm -rf lib/asan lib/interception lib/msan lib/msandr lib/sanitizer_common
rm -rf lib/tsan lib/ubsan
rm -f lib/*/Makefile.mk lib/Makefile.mk lib/CMakeLists.txt
rm -f lib/apple_versioning.c lib/lit.common.* lib/profile/CMakeLists.txt
rmdir lib/sparc64