Skip to content

Commit

Permalink
Configure before building.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Apr 23, 2024
1 parent 7458b13 commit 4dd7b96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/dynamic_shapes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ them.
4. Build the `iree_samples_dynamic_shapes` CMake target
```
cmake -B ../iree-build/ -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DIREE_BUILD_COMPILER=OFF .
cmake --build ../iree-build/ --target iree_samples_dynamic_shapes
```
Expand Down
1 change: 1 addition & 0 deletions samples/dynamic_shapes/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ iree-compile \
${ARTIFACTS_DIR}/dynamic_shapes.mlir -o ${ARTIFACTS_DIR}/dynamic_shapes_cpu.vmfb

# 4. Build the `iree_samples_dynamic_shapes` CMake target.
cmake -B ${BUILD_DIR} -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DIREE_BUILD_COMPILER=OFF .
cmake --build ${BUILD_DIR} --target iree_samples_dynamic_shapes -- -k 0

# 5. Run the sample binary.
Expand Down

0 comments on commit 4dd7b96

Please sign in to comment.