Comments (11)
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.
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.
Is it available for windows now? I am still getting this error.
If not, then how to remove it from rules.
from differential-privacy.
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.
Do @BenjaminDev's patches solve this error, @Dipinka, or is the workaround still necessary?
from differential-privacy.
@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.
GitHub Actions for PyDP, which is not exist
from differential-privacy.
It seems that file was moved/merged into https://github.com/OpenMined/PyDP/blob/dev/.github/workflows/publish.yml
from differential-privacy.
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.
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.
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)
- Build fails on Mac HOT 6
- Is there a plan to address the issues pointed out in Casacuberta et al? HOT 2
- > Is there a plan to address this:loating-point implementations are subject to the vulnerabilities described in [Casacuberta et al. "Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix it"](https://arxiv.org/abs/2207.10635) (specifically the rounding, repeated rounding, and re-ordering attacks). HOT 1
- Updated Maven artifacts? HOT 6
- Google Colab ? HOT 3
- SQL Queries HOT 4
- Why the privacy-on-beam is not implemented by java? HOT 1
- Implementing a custom noisy threshold HOT 3
- Making the Introduction of the Readme Section Easier to Read and Understand HOT 3
- Do ZetaSQL examples supports JOIN queries? HOT 4
- Invalid uses of `list` type HOT 1
- Invalid use of `list` type should be `typing.List` HOT 5
- Relax dependency for scipy~=1.7.1 in dp_accounting HOT 2
- run `bazelisk build execute_query` failed HOT 5
- bazel build excute_query with "linkopts = ["-static"]", and the output binary does not work as expected HOT 22
- Maven artifact with LongBoundedSum HOT 3
- postgres extension docker build failed HOT 4
- install postgres extension failed with `./postgres/install_extension.sh` HOT 2
- .
- Feature: Bounded Laplace Mechanism ("bounded domain") HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from differential-privacy.