Skip to content

Commit

Permalink
feat: gcc is not required to build Harvest
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrinds committed Aug 22, 2023
1 parent 18f9990 commit 2a2eeab
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

.PHONY: help deps clean build test fmt vet package asup dev fetch-asup

###############################################################################
# Check for GCC, GO version, etc and anything we are dependent on.
###############################################################################
SHELL := /bin/bash
GCC_EXISTS := $(shell which gcc)
REQUIRED_GO_VERSION := 1.21
ifneq (, $(shell which go))
FOUND_GO_VERSION := $(shell go version | cut -d" " -f3 | cut -d"o" -f 2)
Expand Down Expand Up @@ -49,13 +45,6 @@ header:
@echo

deps: header ## Check dependencies
@echo "checking Harvest dependencies"
ifeq (${GCC_EXISTS}, )
@echo
@echo "Harvest requires that you have gcc installed."
@echo
@exit 1
endif
@# Make sure that go exists
ifeq (${FOUND_GO_VERSION}, )
@echo
Expand Down

0 comments on commit 2a2eeab

Please sign in to comment.