From 58a098e08ec131338b0c29b902472c54b2a26168 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 6 Dec 2016 12:58:55 -0500 Subject: Fixes and cleans up build/cache directory usage Changes include: - Building is isolated to a .build directory that is git ignored - Caching is isolated to a .cache directory that is git ignored - Build scripts have been variablized, and relative paths have been removed - Unused files removed - build.sh, make file cleaned up - Fixed broken building of markupsafe and jinja2 packages - make clean-cache will remove the cache now - per item cleans are removed in place of simple clean .build now - includes fix for OSC issue with LP# 1642301 Change-Id: I42b8e4eb694bf0a2c398858814f8b73785931896 Signed-off-by: Tim Rozet --- build/variables.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build/variables.sh') diff --git a/build/variables.sh b/build/variables.sh index 0c938775..c9ce80f6 100644 --- a/build/variables.sh +++ b/build/variables.sh @@ -8,6 +8,11 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +BUILD_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +BUILD_DIR="$(dirname ${BUILD_ROOT})/.build" +CACHE_DIR="$(dirname ${BUILD_ROOT})/.cache" +CACHE_HISTORY=".cache_history" + rdo_images_uri=http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean onos_release_uri=https://downloads.onosproject.org/nightly/ onos_release_file=onos-1.6.0-rc2.tar.gz -- cgit 1.2.3-korg