Skip to content

Commit

Permalink
Fixed location of gcc in makefile for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
wulffern committed Feb 3, 2024
1 parent 74c51ce commit 3182458
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ YOSYS_VER=master
GTKWAVE_VER=3.3.117
OPENROAD_VER=master

ifeq (${OS},mac)
CC_GCC=gcc-13
CC_GPP=g++-13
else
CC_GCC=gcc
CC_GPP=g++
endif

#---------------------------------------------------------------------
#- Variables
Expand All @@ -59,6 +52,15 @@ ifeq ($(UNAME_S),Darwin)
OS = mac
endif

ifeq (${OS},mac)
CC_GCC=gcc-13
CC_GPP=gcc-13
else
CC_GCC=gcc
CC_GPP=g++
endif



ifeq (${OS},mac)
X11_LIB = /opt/X11/lib
Expand All @@ -80,7 +82,7 @@ eda_compile: magic_compile \
#iverilog_compile \
#yosys_compile \
#gtkwave_compile
make ngspice_compile
-make ngspice_compile
make ngspice_compile

eda_install: magic_install \
Expand Down Expand Up @@ -110,13 +112,14 @@ ifeq (${OS},mac)
brew install libomp
brew install automake
brew install glib
brew install cairo
brew install libxaw
brew install flex
brew install tcl-tk
brew install gcc
brew install gtk+
brew install gtk-mac-integration
brew install libxft
#brew uninstall libxft
else
sudo apt update
sudo test -d /opt || mkdir /opt
Expand Down

0 comments on commit 3182458

Please sign in to comment.