definitions_macos.sh 651 Bytes
Newer Older
1
2
export ARCH=amd64
export DISTRO=macOS
3

4
export PYTHONEXE=/usr/bin/python
5
6
# The sed -i"" is compulsory other crashes on macos
export SED_I_COMMAND='sed -i ""'
7
export MDANSE_SOURCE_DIR=$(pwd)
8
9
export MDANSE_TEMPORARY_INSTALLATION_DIR=${MDANSE_SOURCE_DIR}/build
export PYTHONPATH=${MDANSE_TEMPORARY_INSTALLATION_DIR}:${PYTHONPATH}
10
export MDANSE_DEPENDENCIES_DIR=/Users/ci/Projects/mdanse/dependencies
11
12
export RED="\\033[1;31m"
export BLUE="\\033[1;34m"
13
14
15
16
17
export NORMAL="\\033[0m"

# Get revision number from Git
export MDANSE_GIT_CURRENT_COMMIT=$(git rev-parse --short HEAD)
# Get commit branch from Gitlab
18
export MDANSE_GIT_BRANCH_NAME=${CI_COMMIT_REF_NAME}