Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script is not Apple M* or ARM compatible #2429

Open
zaun opened this issue Apr 26, 2024 · 1 comment
Open

Install script is not Apple M* or ARM compatible #2429

zaun opened this issue Apr 26, 2024 · 1 comment

Comments

@zaun
Copy link

zaun commented Apr 26, 2024

I'm on a Mac with the Apple M2 chip. Running the install script does install the plugin, but it's not compatible with the system.

Install:

curl https://api.github.com/repos/chipsalliance/synlig/releases/latest | jq -r '.assets | .[] | select(.name | startswith("synlig-plugin-debian")) | .browser_download_url' | xargs wget -O - | tar -xz

./install_plugin.sh

Testing:

yosis
plugin -I systemverilog
ERROR: Can't load module `./systemverilog': dlopen(/Users/justinzaun/local/brew/bin/../share/yosys/plugins/systemverilog.so, 0x0005): tried: '/Users/justinzaun/local/brew/bin/../share/yosys/plugins/systemverilog.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/justinzaun/local/brew/bin/../share/yosys/plugins/systemverilog.so' (no such file), '/Users/justinzaun/local/brew/bin/../share/yosys/plugins/systemverilog.so' (not a mach-o file), '/Users/justinzaun/local/brew/Cellar/yosys/0.40/share/yosys/plugins/systemverilog.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/justinzaun/local/brew/Cellar/yosys/0.40/share/yosys/plugins/systemverilog.so' (no such file), '/Users/justinzaun/local/brew/Cellar/yosys/0.40/share/yosys/plugins/systemverilog.so' (not a mach-o file)

The last bit not a mach-o file looks like the installed plugin is not setup for arm.

The install script should look at the system an isntalll the correct version of the plugin.

@zaun zaun changed the title Install script is not Mac M* compatible Install script is not Apple M* or ARM compatible Apr 26, 2024
@zaun
Copy link
Author

zaun commented Apr 27, 2024

I ended up compiling and building from source to get the plugin installed. But it might be worth updating the install steps to support arm, or to add a note that it doesn't support arm.

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

No branches or pull requests

1 participant