vmware-archive / cascade

A Just-In-Time Compiler for Verilog from VMware Research
Other
433 stars 44 forks source link

Setup doesn't work on latest version of MacOS without hacks #241

Open bhatkishor opened 4 years ago

bhatkishor commented 4 years ago

The setup script doesn't work out of the box on my version of MacOS. Environment details:

OS: MacOS 10.15.4 Cascade: Latest commit on master (f14c2de0b50e33a9df97d76a9a522f4bc267f63b) Bash: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)

The following changes allowed me to successfully install cascade:

  1. Comment out the check for /usr/include (https://github.com/vmware/cascade/blob/master/setup#L280-L291) - /Library/Developer/CommandLineTools/Packages/ no longer exists; I believe this change was introduced in Mojave (10.14), but I only did enough research to get past the issue. :)
  2. $ export CPLUS_INCLUDE_PATH=/usr/local/include
  3. $ export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/gtest/lib/:/usr/local/opt/google-benchmark/lib/"
eschkufz commented 4 years ago

This repository is no longer being actively maintained (I've left vmware and am no longer affiliated with the project in that capacity).

The most recent version of our codebase is here: https://github.com/eschkufz/cascade

I believe this bug was fixed recently. Give the new code a shot and see if it helps!