Skip to content

Commit

Permalink
Merge pull request #4599 from openscad/update-manifold
Browse files Browse the repository at this point in the history
Bump manifold version to latest master.
  • Loading branch information
t-paul committed Apr 13, 2023
2 parents 8f8ea24 + 0dbf7eb commit 29dacde
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Expand Up @@ -87,7 +87,6 @@ jobs:
export OPENSCAD_VERSION="$(date +%Y.%m.%d).ai${CIRCLE_BUILD_NUM}"
if [ x"${CIRCLE_BRANCH}" = xmaster ]; then export SUFFIX=""; else export SUFFIX="_$(echo ${CIRCLE_BRANCH} | sed -e 's,pull/,PR,')"; fi
git submodule update --init --recursive
( cd submodules/manifold && git apply thrust.diff )
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DEXPERIMENTAL=ON -DSNAPSHOT=ON -DOPENSCAD_VERSION="$OPENSCAD_VERSION" -DOPENSCAD_COMMIT="$OPENSCAD_COMMIT"
make -j4
Expand Down Expand Up @@ -126,7 +125,6 @@ jobs:
if [ x"${CIRCLE_BRANCH}" = xmaster ]; then export SUFFIX=""; else export SUFFIX="_$(echo ${CIRCLE_BRANCH} | sed -e 's,pull/,PR,')"; fi
export PKG_CONFIG_PATH="/emsdk/upstream/emscripten/cache/sysroot/lib/pkgconfig"
git submodule update --init --recursive
( cd submodules/manifold && git apply thrust.diff )
emcmake cmake -B ../build . \
-DWASM=ON \
-DSNAPSHOT=ON \
Expand Down Expand Up @@ -173,7 +171,6 @@ jobs:
steps:
- checkout
- run: git submodule update --init --recursive
- run: ( cd submodules/manifold && git apply thrust.diff )
- run:
name: System Info
command: |
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -38,9 +38,6 @@ jobs:
- name: Submodules
run: git submodule update --init --recursive

- name: Manifold patches
run: ( cd submodules/manifold && git apply thrust.diff )

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/linux.yml
Expand Up @@ -29,8 +29,6 @@ jobs:
uses: actions/checkout@v3
- name: Submodules
run: git submodule update --init --recursive
- name: Manifold patches
run: ( cd submodules/manifold && git apply thrust.diff )
- name: Install dependencies
run: ./scripts/travis-ci-before-install-linux.sh ${{ matrix.distro }}
- name: Dependency fixup
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -135,7 +135,6 @@ To pull the various submodules (incl. the [MCAD library](https://github.com/open

cd openscad
git submodule update --init --recursive
( cd submodules/manifold && git apply thrust.diff )

### Building for macOS

Expand Down
4 changes: 1 addition & 3 deletions scripts/docker-build.sh
Expand Up @@ -7,9 +7,7 @@

test -d openscad || git clone --depth=50 --branch=master https://github.com/openscad/openscad.git openscad
( cd openscad; \
git submodule update --init --recursive; \
cd submodules/manifold; \
git apply thrust.diff )
git submodule update --init --recursive; )

mkdir -p docker
cat <<'EOF'> docker/Dockerfile
Expand Down
1 change: 0 additions & 1 deletion scripts/release-common.sh
Expand Up @@ -170,7 +170,6 @@ esac
echo "Checking pre-requisites..."

git submodule update --init --recursive
( cd submodules/manifold ; git apply thrust.diff || true )

echo "Building openscad-$VERSION ($VERSIONDATE)"
echo " CMake args: $CMAKE_CONFIG"
Expand Down
2 changes: 1 addition & 1 deletion submodules/manifold
Submodule manifold updated 48 files
+9 −11 .github/workflows/manifold.yml
+2 −1 .vscode/settings.json
+1 −2 CMakeLists.txt
+18 −5 README.md
+3 −0 bindings/c/conv.cpp
+1 −0 bindings/c/include/types.h
+369 −142 bindings/python/pymanifold.cpp
+1 −1 bindings/wasm/CMakeLists.txt
+4 −1 bindings/wasm/bindings.cpp
+9 −0 bindings/wasm/bindings.js
+11 −1 bindings/wasm/manifold-encapsulated-types.d.ts
+1 −0 bindings/wasm/manifold.d.ts
+7 −0 extras/CMakeLists.txt
+67 −0 extras/convert_file.cpp
+0 −1 flake.nix
+4 −2 meshIO/CMakeLists.txt
+1 −6 meshIO/include/meshIO.h
+ samples/models/perfSpheres.png
+1 −4 src/collider/include/collider.h
+26 −18 src/collider/src/collider.cpp
+15 −21 src/cross_section/src/cross_section.cpp
+76 −5 src/manifold/include/manifold.h
+19 −2 src/manifold/src/constructors.cpp
+29 −18 src/manifold/src/csg_tree.cpp
+27 −0 src/manifold/src/edge_op.cpp
+1 −1 src/manifold/src/face_op.cpp
+53 −62 src/manifold/src/impl.cpp
+9 −11 src/manifold/src/manifold.cpp
+57 −0 src/manifold/src/mesh_fixes.h
+3 −5 src/manifold/src/properties.cpp
+6 −0 src/manifold/src/shared.h
+177 −0 src/manifold/src/sort.cpp
+8 −1 src/polygon/include/polygon.h
+37 −7 src/polygon/src/polygon.cpp
+2 −0 src/third_party/CMakeLists.txt
+1 −1 src/third_party/clipper2
+494 −301 src/third_party/graphlite/include/graph_lite.h
+1 −1 src/third_party/thrust
+5 −1 src/utilities/CMakeLists.txt
+20 −77 src/utilities/include/public.h
+16 −17 test/boolean_test.cpp
+9 −1 test/cross_section_test.cpp
+70 −14 test/manifold_test.cpp
+2,058 −2,089 test/polygon_test.cpp
+10 −12 test/samples_test.cpp
+3 −2 test/test.h
+41 −10 test/test_main.cpp
+0 −49 thrust.diff

0 comments on commit 29dacde

Please sign in to comment.