Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4 from pulp-platform/rel-v1.1.1
Browse files Browse the repository at this point in the history
Release v1.1.1
  • Loading branch information
alessandrocapotondi committed Oct 18, 2018
2 parents ae5bc4d + 52d1132 commit 2f33a69
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/), and this project adheres to
[Semantic Versioning](http://semver.org).

## v1.1.1 - 2018-10-18

### Fixed
- `scripts/*`: environmental variables are now based on absolute addresses. `setup.sh` can be called from any location.


## v1.1.0 - 2018-10-17

### Added
Expand Down
8 changes: 4 additions & 4 deletions scripts/hero_arm_toolchain_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ if [[ ! ${HERO_TOOLCHAIN_DIR+x} ]]; then
HERO_TOOLCHAIN_DIR=`readlink -f .`
fi

HERO_GCC_INSTALL_DIR=`readlink -f install`
HERO_GCC_INSTALL_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/install`
if [ ! -d "${HERO_GCC_INSTALL_DIR}" ]; then
mkdir -p ${HERO_GCC_INSTALL_DIR}
fi

HERO_GCC_BUILD_DIR=`readlink -f build`
HERO_GCC_BUILD_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/build`
if [ ! -d "${HERO_GCC_BUILD_DIR}" ]; then
mkdir -p ${HERO_GCC_BUILD_DIR}
fi

HERO_HOST_SRC_DIR=`readlink -f src`
HERO_HOST_SRC_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/src`
if [ ! -d "${HERO_HOST_SRC_DIR}" ]; then
mkdir -p ${HERO_HOST_SRC_DIR}
fi

HERO_HOST_GCC_SRC_DIR=`readlink -f src/riscv-gcc`
HERO_HOST_GCC_SRC_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/src/riscv-gcc`
if [ ! -d "${HERO_HOST_GCC_SRC_DIR}" ]; then
mkdir -p ${HERO_HOST_GCC_SRC_DIR}
fi
Expand Down
8 changes: 4 additions & 4 deletions scripts/hero_riscv32_toolchain_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ if [[ ! ${HERO_TOOLCHAIN_DIR+x} ]]; then
HERO_TOOLCHAIN_DIR=`readlink -f .`
fi

HERO_GCC_INSTALL_DIR=`readlink -f install`
HERO_GCC_INSTALL_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/install`
if [ ! -d "${HERO_GCC_INSTALL_DIR}" ]; then
mkdir -p ${HERO_GCC_INSTALL_DIR}
fi

HERO_GCC_BUILD_DIR=`readlink -f build`
HERO_GCC_BUILD_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/build`
if [ ! -d "${HERO_GCC_BUILD_DIR}" ]; then
mkdir -p ${HERO_GCC_BUILD_DIR}
fi

HERO_ACCEL_SRC_DIR=`readlink -f ./src`
HERO_ACCEL_SRC_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/src`
if [ ! -d "${HERO_ACCEL_SRC_DIR}" ]; then
mkdir -p ${HERO_ACCEL_SRC_DIR}
fi

HERO_ACCEL_GCC_SRC_DIR=`readlink -f ./src/riscv-gcc`
HERO_ACCEL_GCC_SRC_DIR=`readlink -f ${HERO_TOOLCHAIN_DIR}/src/riscv-gcc`
if [ ! -d "${HERO_ACCEL_GCC_SRC_DIR}" ]; then
mkdir -p ${HERO_ACCEL_GCC_SRC_DIR}
fi
Expand Down
4 changes: 2 additions & 2 deletions scripts/hero_toolchain_get_sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#
# Authors: Alessandro Capotondi, University of Bologna (alessandro.capotondi@unibo.it)

source scripts/hero_arm_toolchain_env.sh
source scripts/hero_riscv32_toolchain_env.sh
source ${HERO_TOOLCHAIN_DIR}/scripts/hero_arm_toolchain_env.sh
source ${HERO_TOOLCHAIN_DIR}/scripts/hero_riscv32_toolchain_env.sh

get_submodules() {
if [[ ! ${HERO_CI+x} ]]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#
# Authors: Alessandro Capotondi, University of Bologna (alessandro.capotondi@unibo.it)

source scripts/hero_arm_toolchain_env.sh
source scripts/hero_riscv32_toolchain_env.sh
source ${HERO_TOOLCHAIN_DIR}/scripts/hero_arm_toolchain_env.sh
source ${HERO_TOOLCHAIN_DIR}/scripts/hero_riscv32_toolchain_env.sh

RET=0
if [ -z "${HERO_TARGET_HOST}" ]; then
Expand Down
8 changes: 6 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
# This script build the GCC 7.1.1 toolchain for the HERO host

# Setup the envioronmental variables
source scripts/hero_riscv32_toolchain_env.sh
source scripts/hero_arm_toolchain_env.sh
if [[ ! ${HERO_TOOLCHAIN_DIR+x} ]]; then
HERO_TOOLCHAIN_DIR=`readlink -f .`
fi

source ${HERO_TOOLCHAIN_DIR}/scripts/hero_riscv32_toolchain_env.sh
source ${HERO_TOOLCHAIN_DIR}/scripts/hero_arm_toolchain_env.sh

export HERO_GCC_INSTALL_DIR=$HERO_GCC_INSTALL_DIR
export PATH=$PATH
Expand Down

0 comments on commit 2f33a69

Please sign in to comment.