Skip to content

Commit

Permalink
Remove the thrust patching, fixed with updated thrust 2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-paul committed Apr 13, 2023
1 parent 2007db3 commit dec7de2
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 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

0 comments on commit dec7de2

Please sign in to comment.