File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ build --action_env=CXX=clang++
2323build --host_action_env=CC=clang
2424build --host_action_env=CXX=clang++
2525
26- # linux-specific options
27- build:linux --linkopt="-fuse-ld=lld"
28-
2926# macos specific options
3027# openmp is not supported in apple clang
3128build:macos --//:enable_openmp=0
Original file line number Diff line number Diff line change @@ -7,9 +7,16 @@ if ! bazel version; then
77 arch=" arm64"
88 fi
99 echo " Downloading $arch Bazel binary from GitHub releases."
10- curl -L -o $HOME /bin/bazel --create-dirs " https://github.com/bazelbuild/bazel/releases/download/8.1 .0/bazel-8.1 .0-linux-$arch "
10+ curl -L -o $HOME /bin/bazel --create-dirs " https://github.com/bazelbuild/bazel/releases/download/8.4 .0/bazel-8.4 .0-linux-$arch "
1111 chmod +x $HOME /bin/bazel
1212else
1313 # Bazel is installed for the correct architecture
1414 exit 0
1515fi
16+
17+ # Openmp for OpenFHE
18+ #
19+ # Using `gomp` here for best compatibility with gcc, but `libomp` is also an
20+ # option if it doesn't work. Note that `-fopenmp` is supposed to automatically
21+ # switch between `libgomp` and `libomp` depending on the compiler.
22+ dnf install -y libgomp
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ OPENFHE_COPTS = [
2525
2626_OPENFHE_LINKOPTS = [
2727 "-fopenmp" ,
28- "-lomp" ,
2928]
3029
3130_OPENMP_COPTS = [
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ where = ["frontend"]
6969[tool .cibuildwheel ]
7070build = " cp311-* cp312-* cp313-*"
7171build-frontend = " build[uv]"
72- skip = " *-musllinux_* pp-* "
72+ skip = " *-musllinux_*"
7373# The test must be run in an isolated directory so that python uses the wheel
7474# when running `import heir` instead of the local source files. cibuildwheel
7575# creates an isolated directory for this purpose, and cd's to it before running
You can’t perform that action at this time.
0 commit comments