Skip to content

Commit df6b5cc

Browse files
authored
README: update bash script to Python script (#683)
`aws_build_dcp_from_cl.sh` is gone, replaced by `aws_build_dcp_from_cl.py` Also, expand instructions to correctly configure environment for `cl_mem_perf` Fixes: ``` ./aws_build_dcp_from_cl.sh: No such file or directory ```
1 parent ab17f25 commit df6b5cc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs-rtd/source/hdk/README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ Run the command below to build a DCP with desired clock recipes:
144144

145145
.. code:: bash
146146
147-
./aws_build_dcp_from_cl.sh -c cl_mem_perf --aws_clk_gen --clock_recipe_a A1 --clock_recipe_b B2 --clock_recipe_c C0 --clock_recipe_hbm H2
147+
cd hdk/cl/examples/cl_mem_perf
148+
export CL_DIR=$(pwd)
149+
cd build/scripts
150+
./aws_build_dcp_from_cl.py -c cl_mem_perf --aws_clk_gen --clock_recipe_a A1 --clock_recipe_b B2 --clock_recipe_c C0 --clock_recipe_hbm H2
148151
149152
**NOTE**: The `cl_sde <./cl/examples/cl_sde/README.html>`__ example does not contain
150153
the AWS_CLK_GEN component. This command uses the `cl_mem_perf <./cl/examples/cl_mem_perf/README.html>`__

hdk/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ The Shell supplies two base clocks to the CL: a 250MHz `clk_main_a0` clock and a
8484
Run the command below to build a DCP with desired clock recipes:
8585

8686
```bash
87-
./aws_build_dcp_from_cl.sh -c cl_mem_perf --aws_clk_gen --clock_recipe_a A1 --clock_recipe_b B2 --clock_recipe_c C0 --clock_recipe_hbm H2
87+
cd hdk/cl/examples/cl_mem_perf
88+
export CL_DIR=$(pwd)
89+
cd build/scripts
90+
./aws_build_dcp_from_cl.py -c cl_mem_perf --aws_clk_gen --clock_recipe_a A1 --clock_recipe_b B2 --clock_recipe_c C0 --clock_recipe_hbm H2
8891
```
8992

9093
**NOTE**: The [cl_sde](./cl/examples/cl_sde/) example does not contain the AWS_CLK_GEN component. This command uses the [cl_mem_perf](./cl/examples/cl_mem_perf/) example to demonstrate the AWS_CLK_GEN usage.

0 commit comments

Comments
 (0)