Skip to content

Conversation

@dozyio
Copy link

@dozyio dozyio commented Dec 8, 2025

No description provided.

- **Ubuntu/Debian**: [setup.sh](./scripts/setup.sh)
- **macOS**: [setup-macos.sh](./scripts/setup-macos.sh)

### macOS Setup Notes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't it's nice to ask users to uninstall rust


# Run template example
cd compiler-tests/template/
PHANTOM_THREADS=$(sysctl -n hw.ncpu) PHANTOM_DEBUG=false PHANTOM_VERBOSE_TIMINGS=true cargo run --release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, phantom detect no. of cores and uses them. So setting sysctl -n hw.ncpu is not required

@Janmajayamall
Copy link
Contributor

Thanks for the PR!

As commented, I don't think it's a nice idea to ask users to uninstall rust.

Question: did you come across any issues when running phantom on macos? If so, can you please let me us know? Perhaps it'll be better to amend the readme with instructions that directly address the issues instead of adding a new setup script.

We have the ubuntu setup script for docker/server purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants