Skip to content

Commit 29b636e

Browse files
committed
Add slang into the langutils recipe
1 parent 26eca32 commit 29b636e

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

recipes/langutils

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ RUN git clone --depth 1 https://github.com/ldoolitt/vhd2vl \
2929
&& cd vhd2vl && make -j$(nproc) \
3030
&& cp src/vhd2vl /usr/local/bin
3131

32+
#
33+
# Slang
34+
#
35+
36+
RUN git clone --depth 1 https://github.com/MikePopoloski/slang.git \
37+
&& cd slang && cmake -B build && cmake --build build -j8 \
38+
&& cmake --install build --strip
39+
3240
#
3341
# Surelog
3442
#
@@ -39,6 +47,26 @@ RUN git clone --depth 1 https://github.com/alainmarcel/Surelog.git \
3947

4048
###############################################################################
4149

50+
## slang
51+
#/usr/local/lib/libfmt.a
52+
#/usr/local/include/fmt
53+
#/usr/local/lib/cmake/fmt
54+
#/usr/local/include/ieee1800
55+
#/usr/local/lib/libfmt.a
56+
#/usr/local/lib/libmimalloc.a
57+
#/usr/local/include/mimalloc-2.1
58+
#/usr/local/include/slang
59+
#/usr/local/include/slang
60+
#/usr/local/bin/slang
61+
#/usr/local/bin/slang-netlist
62+
#/usr/local/bin/slang-tidy
63+
#/usr/local/bin/slang-reflect
64+
#/usr/local/bin/slang-hier
65+
#/usr/local/lib/libsvlang.a
66+
#/usr/local/bin/slang
67+
#/usr/local/lib/cmake/slang
68+
#/usr/local/share/pkgconfig/sv-lang.pc
69+
4270
## Surelog
4371
#/usr/local/lib/libcapnp.a
4472
#/usr/local/lib/libkj.a

tests/langutils.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
set -e
33

44
bash ../run.sh langutils 'vhd2vl --version'
5+
bash ../run.sh langutils 'slang --version'
56
bash ../run.sh langutils 'surelog --version'

0 commit comments

Comments
 (0)