Skip to content

Commit

Permalink
Rename repository to vtk-wasm-demos
Browse files Browse the repository at this point in the history
- these are all demo applications and not benchmarks.
  • Loading branch information
jspanchu committed Aug 23, 2024
1 parent b91181d commit b8ee0cf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ $sdk_dir="/VTK-install/$sdk_config/lib/cmake/vtk"

docker run `
--rm `
-v"$pwd":/vtkWasmBenchmarks `
-v"$pwd":/vtk-wasm-demos `
${sdk_image}:${sdk_version} `
emcmake cmake -GNinja -S /vtkWasmBenchmarks -B /vtkWasmBenchmarks/out -DCMAKE_BUILD_TYPE="$sdk_config" -DVTK_DIR="$sdk_dir"
emcmake cmake -GNinja -S /vtk-wasm-demos -B /vtk-wasm-demos/out -DCMAKE_BUILD_TYPE="$sdk_config" -DVTK_DIR="$sdk_dir"

docker run `
--rm `
-v"$pwd":/vtkWasmBenchmarks `
-v"$pwd":/vtk-wasm-demos `
${sdk_image}:${sdk_version} `
cmake --build /vtkWasmBenchmarks/out
cmake --build /vtk-wasm-demos/out

npm i

Expand Down
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ readonly sdk_dir
docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v"$PWD":/vtkWasmBenchmarks \
-v"$PWD":/vtk-wasm-demos \
$sdk_image:$sdk_version \
emcmake cmake -GNinja -S /vtkWasmBenchmarks -B /vtkWasmBenchmarks/out -DCMAKE_BUILD_TYPE=$sdk_config -DVTK_DIR=$sdk_dir
emcmake cmake -GNinja -S /vtk-wasm-demos -B /vtk-wasm-demos/out -DCMAKE_BUILD_TYPE=$sdk_config -DVTK_DIR=$sdk_dir

docker run \
--rm \
-v"$PWD":/vtkWasmBenchmarks \
-v"$PWD":/vtk-wasm-demos \
$sdk_image:$sdk_version \
cmake --build /vtkWasmBenchmarks/out
cmake --build /vtk-wasm-demos/out

npm i

Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ export default defineConfig({
server: {
port: 3000,
},
base: '/vtkWasmBenchmarks/',
base: '/vtk-wasm-demos/',
})

0 comments on commit b8ee0cf

Please sign in to comment.