Skip to content

Commit

Permalink
make compilation of slang faster
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Nov 17, 2024
1 parent 2547616 commit 6181ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default/scripts/yosys-slang-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ sed -i 's/Windows.h/windows.h/g' third_party/slang/source/util/OS.cpp
sed -i 's,/yosyshq/share,../yosys/yosyshq/share,g' ../yosys/yosyshq/bin/yosys-config
sed -i 's,/yosyshq/include,../yosys/yosyshq/share/yosys/include,g' ../yosys/yosyshq/bin/yosys-config
sed -i 's,/yosyshq/lib,../yosys/yosyshq/lib,g' ../yosys/yosyshq/bin/yosys-config
make YOSYS_CONFIG=../yosys/yosyshq/bin/yosys-config
make YOSYS_CONFIG=../yosys/yosyshq/bin/yosys-config -j${NPROC}
mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}/share/yosys/plugins
cp -rf build/slang.so ${OUTPUT_DIR}${INSTALL_PREFIX}/share/yosys/plugins/.

0 comments on commit 6181ad8

Please sign in to comment.