Catherine
a951faa16d
CMake: extract bbasm compilation into a function.
...
This fully preserves existing functionality, although the `embed` mode
is untested and seems broken.
2025-01-21 17:13:03 +00:00
Catherine
d214308f5f
CMake: reformat for consistency.
...
Normalize keywords to:
if (...)
elseif (...)
else()
endif()
foreach (...)
endforeach()
other(...)
Normalize whitespace to 4 spaces.
2025-01-16 11:36:44 +01:00
Catherine
574f504787
Find all components of Python at the same time.
...
This is explicitly recommended by the FindPython module documentation
and is required to avoid failed builds on some systems. See:
https://cmake.org/cmake/help/latest/module/FindPython.html
2025-01-13 03:29:43 +00:00
rowanG077
cb4846a58d
build: push INSTALL_PREFIX from env to cmake var
2023-06-12 14:11:36 +02:00
Adam Sampson
19160f10ae
Use CMake's Python3 rather than PythonInterp in subdirs
2022-08-21 17:48:01 +01:00
Yehowshua Immanuel
fe8a011629
Update CMakeLists.txt
...
I believe Prjtrellis has CMAKE define pytrellis as a shared module, not library.
On MacOS, this makes a difference and NextPNR expected ``.dylib``
instead of ``.so``. Things still work on Linux.
2020-11-17 17:53:46 -05:00
William D. Jones
e63270f918
Fix MESSAGE indicating where externally-built .bbas live.
2020-08-22 21:09:21 -04:00
whitequark
18bb70afca
CMake: improve logic for discovering Trellis.
2020-07-01 21:11:03 +00:00
whitequark
f6e30f22f4
CMake: fix path checks in chipdb build scripts.
...
`if(NOT DEFINED)` is not appropriate since a variable that contains
`-NOTFOUND` still counts as `DEFINED`. This can cause issues if
configuration fails, writes `-NOTFOUND` to the cache, and is then
restarted.
2020-07-01 20:22:21 +00:00
whitequark
bf8d4c428e
CMake: require at least version 3.5 (Ubuntu 16.04).
2020-06-25 14:03:37 +00:00
whitequark
1dc1164dce
CMake: rewrite chipdb handling from ground up.
2020-06-25 14:03:37 +00:00