Giter VIP home page Giter VIP logo

Comments (11)

dibakch avatar dibakch commented on June 3, 2024 1

I see. Thanks :)

Feel free to re-open if the windows build is failing. Everything under cc/postgres/ and cc/accounting is not tested and is not supported for Windows.

from differential-privacy.

dasmdasm avatar dasmdasm commented on June 3, 2024

This is because we add a
copts = ["-Wno-sign-compare"],
line to every build rule. I guess that compiler flag isn't available on windows. It's not necessary, it just suppresses compiler warnings, so I'll look into making it platform-dependent. In the mean time, if you need a workaround you can remove it from the rules you're trying to build.

from differential-privacy.

aitsam12 avatar aitsam12 commented on June 3, 2024

Is it available for windows now? I am still getting this error.
If not, then how to remove it from rules.

from differential-privacy.

dasmdasm avatar dasmdasm commented on June 3, 2024

Nope, we have not made any progress on this yet. The workaround is to remove the copts = ["-Wno-sign-compare"], from the build rules you want to use on Windows.

from differential-privacy.

TedTed avatar TedTed commented on June 3, 2024

Do @BenjaminDev's patches solve this error, @Dipinka, or is the workaround still necessary?

from differential-privacy.

BenjaminDev avatar BenjaminDev commented on June 3, 2024

@TedTed as far as I'm aware my patches solved the issue. PyDP have the windows build as part of the ci and no one is complaining there. Just a note that PyDP is normally a few commits behind.

@Dipinka if you getting build issues take a look at the GitHub Actions for PyDP as it might shed some light on how we build it.

from differential-privacy.

jasmiem avatar jasmiem commented on June 3, 2024

GitHub Actions for PyDP, which is not exist

from differential-privacy.

miracvbasaran avatar miracvbasaran commented on June 3, 2024

It seems that file was moved/merged into https://github.com/OpenMined/PyDP/blob/dev/.github/workflows/publish.yml

from differential-privacy.

BenjaminDev avatar BenjaminDev commented on June 3, 2024

I've not been working on PyDP in a while and a lot has changed. If google/differential-privacy wants to support windows "officially" I'd suggest we add some form of CI that builds for windows - otherwise there will forever be breaks that go unnoticed until PyDP tries to do a release.

I'd be happy to have a go at making a google/differential-privacy/.github/workflows/windows.yml which does a windows build. Then we can catch breaks when they happen. Just want to be sure we want to support windows in this way i.e if it breaks windows we fix before landing on main.

from differential-privacy.

dibakch avatar dibakch commented on June 3, 2024

We have an internal CI job that runs on Windows. However, it builds the C++ library without the postgres and accounting folders, i.e. using the following line:

bazelisk build -- ... -postgres/... -accounting/...

Could you provide more information about the error? Which commit of the library are you using and which targets cause the issue?

from differential-privacy.

BenjaminDev avatar BenjaminDev commented on June 3, 2024

We have an internal CI job that runs on Windows

Oh, cool. I just happened to do the initial work to get the windows builds going and thought I could assist. If CI is happy then all good. Thanks @dibakch

from differential-privacy.

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.