Commit d1b85ea4 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Introduce the per-project build cache.

parent f7bcff26
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f lift_model.zip
zip lift_model lift_model/*
[ ! -z "$CLEANUP" ] && rm -rf binary
......
......@@ -14,6 +14,10 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -f user_init_pre.sh ]
then
echo [INFO] Executing user-defined init script
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -f user_init_pre.sh ]
then
echo [INFO] Executing user-defined init script
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 0 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 0 ] ; then
......
......@@ -9,6 +9,10 @@
# Inside these files you may set some environment variables:
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
unset USE_POHIC
unset USE_POHIADA
......
......@@ -11,6 +11,10 @@
# Inside these files you may set some environment variables:
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
unset USE_POHIC
unset USE_POHIADA
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
cd skels
rm -f a.zip
zip a a/*
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -15,6 +15,10 @@
# you will have to merge the changes with the newly-created file.
# clean first to make sure it is build on the host platform
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
make -C contrib/ || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f a.zip
zip a a/*
rm -f b.zip
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f hello.zip
zip hello hello/*
rm -f world.zip
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f f1.zip
zip f1 f1/*
rm -f f2.zip
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
cd skels
rm -f pinger.zip
zip pinger pinger/*
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f function0.zip
zip function0 function0/*
rm -f function1.zip
......
#!/bin/bash
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f a.zip
zip a a/*
rm -f b.zip
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -f user_init_pre.sh ]
then
echo [INFO] Executing user-defined init script
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f my_c_function.zip
zip my_c_function my_c_function/*
rm -f my_simulink_function.zip
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f my_c_function.zip
zip my_c_function my_c_function/*
rm -f my_simulink_function.zip
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f function0.zip
zip function0 function0/*
rm -f function1.zip
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
rm -f a.zip
zip a a/*
rm -f b.zip
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 0 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -11,6 +11,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -f user_init_pre.sh ]
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -13,6 +13,9 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
CWD=$(pwd)
if [ -t 1 ] ; then
......
......@@ -14,6 +14,9 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment