aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/chipdb.cmake
diff options
context:
space:
mode:
authorAdam Sampson <ats@offog.org>2022-08-21 17:47:35 +0100
committerAdam Sampson <ats@offog.org>2022-08-21 17:48:01 +0100
commit19160f10ae8916f9bb22166ce38186550c56b6d5 (patch)
tree3e1c5cd75b7d260d477ea6f04d4ce15a8556a061 /fpga_interchange/examples/chipdb.cmake
parent05167fcb8bf9cd85ea605331ca36cac6f25ce67f (diff)
downloadnextpnr-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/chipdb.cmake')
-rw-r--r--fpga_interchange/examples/chipdb.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpga_interchange/examples/chipdb.cmake b/fpga_interchange/examples/chipdb.cmake
index a060576d..e820124b 100644
--- a/fpga_interchange/examples/chipdb.cmake
+++ b/fpga_interchange/examples/chipdb.cmake
@@ -57,7 +57,7 @@ function(create_patched_device_db)
add_custom_command(
OUTPUT ${output_device_file}
COMMAND
- ${PYTHON_EXECUTABLE} -mfpga_interchange.patch
+ ${Python3_EXECUTABLE} -mfpga_interchange.patch
--schema_dir ${INTERCHANGE_SCHEMA_PATH}
--schema device
--patch_path ${patch_path}
@@ -76,7 +76,7 @@ function(create_patched_device_db)
add_custom_target(${patch_name}-${device}-device-yaml
COMMAND
- ${PYTHON_EXECUTABLE} -mfpga_interchange.convert
+ ${Python3_EXECUTABLE} -mfpga_interchange.convert
--schema_dir ${INTERCHANGE_SCHEMA_PATH}
--schema device
--input_format capnp
@@ -145,7 +145,7 @@ function(patch_device_with_prim_lib)
add_custom_command(
OUTPUT ${output_device_file}
COMMAND
- ${PYTHON_EXECUTABLE} -mfpga_interchange.add_prim_lib
+ ${Python3_EXECUTABLE} -mfpga_interchange.add_prim_lib
--schema_dir ${INTERCHANGE_SCHEMA_PATH}
${input_device_loc}
${output_json_file}
@@ -227,7 +227,7 @@ function(generate_chipdb)
add_custom_command(
OUTPUT ${chipdb_bba}
COMMAND
- ${PYTHON_EXECUTABLE} -mfpga_interchange.nextpnr_emit
+ ${Python3_EXECUTABLE} -mfpga_interchange.nextpnr_emit
--schema_dir ${INTERCHANGE_SCHEMA_PATH}
--output_dir ${CMAKE_CURRENT_BINARY_DIR}
--device_config ${device_config}