mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge pull request #904 from jordancarlin/installation
More installation updates
This commit is contained in:
		
						commit
						fa772c652a
					
				| @ -67,7 +67,7 @@ git_check() { | |||||||
| # Log output to a file and only print lines with keywords | # Log output to a file and only print lines with keywords | ||||||
| logger() { | logger() { | ||||||
|     local log="$RISCV/logs/$1.log" |     local log="$RISCV/logs/$1.log" | ||||||
|     cat < /dev/stdin | tee -a "$log" | (grep -iE --color=never "(\bwarning|\berror|\bfail|\bsuccess|\bstamp)" || true) | (grep -viE --color=never "(Wno-error)" || true) |     cat < /dev/stdin | tee -a "$log" | (grep -iE --color=never "(\bwarning|\berror|\bfail|\bsuccess|\bstamp)" || true) | (grep -viE --color=never "(_warning|warning_|_error|error_|-warning|warning-|-error|error-|Werror|error\.o|warning flags)" || true) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| set -e # break on error | set -e # break on error | ||||||
| @ -135,7 +135,7 @@ section_header "Setting up Python Environment" | |||||||
| STATUS="python virtual environment" | STATUS="python virtual environment" | ||||||
| cd "$RISCV" | cd "$RISCV" | ||||||
| if [ ! -e "$RISCV"/riscv-python/bin/activate ]; then | if [ ! -e "$RISCV"/riscv-python/bin/activate ]; then | ||||||
|     "$PYTHON_VERSION" -m venv riscv-python |     "$PYTHON_VERSION" -m venv riscv-python --prompt cvw | ||||||
|     echo -e "${OK_COLOR}Python virtual environment created!\nInstalling pip packages.${ENDC}" |     echo -e "${OK_COLOR}Python virtual environment created!\nInstalling pip packages.${ENDC}" | ||||||
| else | else | ||||||
|     echo -e "${OK_COLOR}Python virtual environment already exists.\nUpdating pip packages.${ENDC}" |     echo -e "${OK_COLOR}Python virtual environment already exists.\nUpdating pip packages.${ENDC}" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user