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

Compile Verible on Windows #958

Open
mikhailbond opened this issue Sep 28, 2021 · 5 comments
Open

Compile Verible on Windows #958

mikhailbond opened this issue Sep 28, 2021 · 5 comments
Labels
build system matters pertaining to building Verible help wanted Extra attention is needed releases binary release packages

Comments

@mikhailbond
Copy link

Hi all!
I saw that there were added support to compile Verible on WIndows. But I don't understand what should I do exactly to achieve this.
Could you help me, please, like step by step guide, how to build and run Verible on Windows?

@hzeller
Copy link
Collaborator

hzeller commented Sep 28, 2021

A good starting point for what to do is the Continuous Integration script which runs the compile and test.
https://github.com/chipsalliance/verible/blob/master/.github/workflows/verible-ci.yml#L270-L285

Mostly the important part is to use clang (llvm) to compile as there were issues with msvc (@corco knows the details).

But once you've installed clang and bazel, the compile should work as described in the README. The bazel install will not work AFAIK on windows, so you have to manually copy the resulting executables from bazel-bin/verilog/tools/*/verible-verilog-{syntax,lint,format}

@fangism fangism added build system matters pertaining to building Verible releases binary release packages labels Oct 28, 2021
@lf-
Copy link

lf- commented Nov 3, 2021

I would really appreciate if binaries from compiling Verible on Windows are added to the release artefacts.

@hzeller hzeller added the help wanted Extra attention is needed label Nov 4, 2021
@hzeller
Copy link
Collaborator

hzeller commented Nov 4, 2021

I have no experience in what a good distribution format is for Windows; accepting pull requests that adds something that is useful for Windows systems.

@hzeller
Copy link
Collaborator

hzeller commented Nov 8, 2021

@corco you mentioned in #307 that you'd like to look into extracting windows artifacts from the CI. Are you still up for it ?

@corco
Copy link
Collaborator

corco commented Nov 11, 2021

Yes, I have been heavily side-tracked on this task ;) I will take another look at it next week

hzeller added a commit that referenced this issue Dec 6, 2021
Added Windows release
Issues: #958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system matters pertaining to building Verible help wanted Extra attention is needed releases binary release packages
Projects
None yet
Development

No branches or pull requests

5 participants