Giter Club home page Giter Club logo

Comments (6)

YngveNPettersen avatar YngveNPettersen commented on June 14, 2024 1

Just adding my +1 for a Windows worker/runner. Scheduler, storage etc. is planned to run on Linux, so in my case I don't need that working on Windows (also working on getting a Linux system working, then will try Mac)

from bb-remote-execution.

EdSchouten avatar EdSchouten commented on June 14, 2024

Hi Marka,

Getting Buildbarn to work on Windows is something that I haven't experimented with. I think it would be better to first start out getting bb-storage to build and work on Windows, as the other bb-* repositories depend on it. Doing the build on Windows itself is something that will likely break, but you can just run the following on Linux/macOS:

bazel build --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_storage

The build currently breaks, because this specific source file has absolutely not been written with Windows in mind:

https://github.com/buildbarn/bb-storage/blob/master/pkg/filesystem/local_directory.go

We should likely rename it to local_directory_unix.go and provide a separate implementation for Windows. Is this something you'd be interested in working on?

from bb-remote-execution.

MarkaRagnos0815 avatar MarkaRagnos0815 commented on June 14, 2024

Hi,

Thanks for your quick reply.

My idea is to build a cluster to build Linux/Windows code (because of c++). Your current approach packages everything into docker images (which is a great idea, it simplifies the basic setup). In the end I want to have a machine providing a remote cache and different workers for remote execution to build Linux/Windows. (means bb_storage always runs on a Linux machine while workers run on Windows/Linux and connect to the same storage). If this is possible I am interested in, at least running runner/worker/scheduler on a windows machine.

from bb-remote-execution.

EdSchouten avatar EdSchouten commented on June 14, 2024

Hi there,

Yes, I understood that part; you only want to run bb-worker + bb-runner on Windows. But here's the issue: bb-worker depends on bb-storage in terms of code. bb-worker uses the same storage layer as bb-storage under the hood. This means that if bb-storage doesn't build on Windows, bb-worker won't build either.

from bb-remote-execution.

edbaunton avatar edbaunton commented on June 14, 2024

Once the storage is factored to work on Windows, there remains the problem of a worker that works on Windows (I believe); if we address #2 with the new worker protocol then we might be able to have some interop between BuildBarn and the workers we are working on for BuildGrid.

from bb-remote-execution.

EdSchouten avatar EdSchouten commented on June 14, 2024

Closing this issue due to inactivity. I’m not against adding support for Windows. PRs are more than welcome! It’s just that issues that stay open for a year without meaningful progress are distracting. :-)

from bb-remote-execution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.