aquiles viza
06/01/2024, 12:29 AM.va
files into .osdi
required to use the pdk?
• Compilation of openvaf fails, and using the shared executables crash when using on <http://psp103_nqs.va|psp103_nqs.va>
. How can I debug this? Or is it documented somewhere?
Thanks for the effort put into making another free and open source PDK alternative 🙂aquiles viza
06/01/2024, 12:54 AMerror: could not find native static library `Polly`, perhaps an -L flag is missing?
...
error: could not compile `llvm` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
warning: `hir` (lib) generated 1 warning (run `cargo fix --lib -p hir` to apply 1 suggestion)
aquiles viza
06/01/2024, 1:34 AM.va
files (psp103.va psp103_nqs.va juncap200.va psp103t.va) All of them should be compiled with openvaf? There are more files?Michael Strothjohann
06/01/2024, 10:53 AMaquiles viza
06/01/2024, 3:23 PM.va
into .osdi
happens because I was not on the .../ngspice/openvaf
directory, now I can compile that, Thanks.
The main confusion I have is on the openvaf installation script because it applies a patch in the <http://build.rs|build.rs>
file. Is that patch required?Michael Strothjohann
06/01/2024, 5:24 PMaquiles viza
06/01/2024, 7:38 PMMichael Strothjohann
06/01/2024, 8:41 PMKrzysztof Herman
06/03/2024, 12:21 PMaquiles viza
06/03/2024, 3:44 PMMichael Strothjohann
06/05/2024, 10:32 AMsudo apt install -y g++ cargo
mkdir -p temp && cd temp
wget <https://openva.fra1.cdn.digitaloceanspaces.com/llvm-15.0.7-x86_64-unknown-linux-gnu-FULL.tar.zst>
zstd -d -c --long=31 llvm-15.0.7-x86_64-unknown-linux-gnu-FULL.tar.zst | tar -xf -
LLVM_CONFIG=${PWD}/LLVM/bin/llvm-config
PATH=${PWD}/LLVM/bin:$PATH
git clone <https://github.com/pascalkuthe/OpenVAF.git> && cd OpenVAF
git checkout "a9697ae7780518f021f9f64e819b3a57033bd39f"
cargo build --release --bin openvaf
Besides setting LLVM_CONFIG (as stated in https://github.com/pascalkuthe/OpenVAF/blob/master/README.md) it is required to set PATH (so llvm, clang-cl, and others ... can be found)aquiles viza
06/13/2024, 2:49 AMaquiles viza
06/13/2024, 2:50 AMaquiles viza
06/13/2024, 3:05 AMKrzysztof Herman
06/13/2024, 7:58 AMMichael Strothjohann
06/13/2024, 2:02 PM