diff options
author | Adam Sampson <ats@offog.org> | 2022-08-21 17:47:35 +0100 |
---|---|---|
committer | Adam Sampson <ats@offog.org> | 2022-08-21 17:48:01 +0100 |
commit | 19160f10ae8916f9bb22166ce38186550c56b6d5 (patch) | |
tree | 3e1c5cd75b7d260d477ea6f04d4ce15a8556a061 /fpga_interchange/examples/tests.cmake | |
parent | 05167fcb8bf9cd85ea605331ca36cac6f25ce67f (diff) | |
download | nextpnr-19160f10ae8916f9bb22166ce38186550c56b6d5.tar.gz nextpnr-19160f10ae8916f9bb22166ce38186550c56b6d5.tar.bz2 nextpnr-19160f10ae8916f9bb22166ce38186550c56b6d5.zip |
Use CMake's Python3 rather than PythonInterp in subdirs
Diffstat (limited to 'fpga_interchange/examples/tests.cmake')
-rw-r--r-- | fpga_interchange/examples/tests.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpga_interchange/examples/tests.cmake b/fpga_interchange/examples/tests.cmake index 48b1cee3..b568c5df 100644 --- a/fpga_interchange/examples/tests.cmake +++ b/fpga_interchange/examples/tests.cmake @@ -98,7 +98,7 @@ function(add_interchange_test) add_custom_command( OUTPUT ${netlist} COMMAND - ${PYTHON_EXECUTABLE} -mfpga_interchange.yosys_json + ${Python3_EXECUTABLE} -mfpga_interchange.yosys_json --schema_dir ${INTERCHANGE_SCHEMA_PATH} --device ${device_loc} --top ${top} @@ -117,7 +117,7 @@ function(add_interchange_test) add_custom_command( OUTPUT ${netlist_yaml} COMMAND - ${PYTHON_EXECUTABLE} -mfpga_interchange.convert + ${Python3_EXECUTABLE} -mfpga_interchange.convert --schema_dir ${INTERCHANGE_SCHEMA_PATH} --schema logical --input_format capnp @@ -248,7 +248,7 @@ function(add_interchange_test) add_custom_command( OUTPUT ${phys_yaml} COMMAND - ${PYTHON_EXECUTABLE} -mfpga_interchange.convert + ${Python3_EXECUTABLE} -mfpga_interchange.convert --schema_dir ${INTERCHANGE_SCHEMA_PATH} --schema physical --input_format capnp @@ -296,7 +296,7 @@ function(add_interchange_test) add_custom_command( OUTPUT ${fasm} COMMAND - ${PYTHON_EXECUTABLE} -mfpga_interchange.fasm_generator + ${Python3_EXECUTABLE} -mfpga_interchange.fasm_generator --schema_dir ${INTERCHANGE_SCHEMA_PATH} --family ${device_family} ${device_loc} |