Home | History | Annotate | Line # | Download | only in compiler_rt
prepare-import.sh revision 1.5.18.1
      1       1.1     joerg #!/bin/sh
      2  1.5.18.1  christos # $NetBSD: prepare-import.sh,v 1.5.18.1 2019/06/10 22:07:45 christos Exp $
      3       1.1     joerg #
      4       1.1     joerg # Checkout compiler_rt into dist.
      5       1.1     joerg # Run this script and check for additional files and directories to prune,
      6       1.1     joerg # only relevant content should be included.
      7       1.1     joerg 
      8       1.1     joerg set -e
      9       1.1     joerg 
     10       1.1     joerg cd dist
     11       1.1     joerg rm -rf .svn
     12  1.5.18.1  christos rm -rf SDKs android cmake make third_party unittests www
     13       1.1     joerg rm -f .arcconfig .gitignore CMakeLists.txt Makefile
     14  1.5.18.1  christos rm -rf lib/BlocksRuntime lib/dfsan lib/cfi
     15       1.5     joerg rm -rf  lib/builtins/Darwin-excludes lib/builtins/macho_embedded
     16       1.5     joerg rm -rf test/BlocksRuntime test/asan test/cfi test/dfsan test/lit.* test/lsan
     17       1.5     joerg rm -rf test/msan test/sanitizer_common test/safestack test/tsan test/ubsan
     18       1.3     joerg rm -f lib/*/*/Makefile.mk lib/*/Makefile.mk */Makefile.mk
     19       1.3     joerg rm -f lib/*/CMakeLists.txt */CMakeLists.txt
     20       1.3     joerg rm -f lib/builtins/apple_versioning.c lib/lit.common.*
     21       1.5     joerg cd ..
     22       1.5     joerg find dist -type d -delete 2> /dev/null
     23