Skip to content

Commit

Permalink
更新 compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git authored Jun 17, 2024
1 parent bc1f594 commit 6431334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compile.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
g++ -O3 -Wall -shared -std=c++17 -fPIC -undefined dynamic_lookup $(python3 -m pybind11 --includes) src/svuvm.cpp -o svuvm$(python3-config --extension-suffix) $(python3-config --ldflags --embed) -I inc
verilator --binary +define+NOUVM -top top test/svuvm_pkg.sv test/api.sv svuvm.cpython-312-darwin.so -LDFLAGS "$(python3-config --ldflags --embed)"
verilator --binary +define+NOUVM -top top test/svuvm_pkg.sv test/api.sv $(python -c "import sysconfig; print(sysconfig.get_path('svuvm'))"
)/svuvm.cpython-312-darwin.so -LDFLAGS "$(python3-config --ldflags --embed)"

0 comments on commit 6431334

Please sign in to comment.