Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified | # | |
| # Set developer paths and environment variables here, | |
| # user settings go in ./env.sh | |
| function __setpaths() { | |
| local DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")") | |
| [ "$(find $DIR/dependencies -type f -user root)" ] && echo "WARNING! Files set up by sudo found in $DIR" | |
| export PATH="$DIR/dependencies/bin:$PATH" | |
| export CMAKE_INSTALL_RPATH=$DIR/dependencies/lib:$DIR/dependencies/lib64 | |
| if [[ "$OSTYPE" == "darwin"* ]]; then | |
| export CMAKE_PREFIX_PATH="$(brew --prefix or-tools)" | |
| export QT_QPA_PLATFORM=cocoa | |
| fi | |
| } | |
| __setpaths | |
| unset -f __setpaths | |