Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion chipfoundry_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3604,13 +3604,17 @@ def maybe_abort_no_space(err, step_label):
capture_output=True
)
# Install from GitHub source (workaround: PyPI package is under efabless, we use chipfoundry repo)
env = os.environ.copy()
if sys.platform == 'darwin':
env['LDSHARED'] = 'clang++ -dynamiclib -undefined dynamic_lookup'
subprocess.run(
[
venv_python, '-m', 'pip', 'install', '--upgrade', '--no-cache-dir',
'git+https://github.com/chipfoundry/caravel-sim-infrastructure.git@main#subdirectory=cocotb'
],
check=True,
capture_output=True
capture_output=True,
env=env
)
console.print("[green]✓[/green] Cocotb environment set up successfully")

Expand Down