Skip to content

Commit

Permalink
a little experimentation with adiabatic circuitry, a little bit of cl…
Browse files Browse the repository at this point in the history
…eanup
  • Loading branch information
nbingham1 committed Sep 20, 2024
1 parent 0c2ad57 commit 6fec24e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,19 @@ jobs:
- name: Build binary on Linux
if: matrix.os == 'ubuntu-latest'
run: |
make lib
make linux
shell: bash

- name: Build binary on macOS
if: matrix.os == 'macos-latest'
run: |
make lib
make macos
shell: bash

- name: Build binary on Windows
if: matrix.os == 'windows-latest'
shell: msys2 {0}
run: |
make lib
make windows
- name: Upload Release Asset
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LIBS = \

all: lib

linux:
linux: lib
mkdir -p lm-linux/usr/local/bin
cp bin/ckt/lm lm-linux/usr/local/bin
mkdir -p lm-linux/DEBIAN
Expand All @@ -55,14 +55,16 @@ linux:
echo "Description: Loom" >> lm-linux/DEBIAN/control
echo " A programming language for quasi-delay insensitive asynchronous circuits" >> lm-linux/DEBIAN/control
dpkg-deb --build --root-owner-group lm-linux
rm -rf debian lm-linux

windows:
windows: lib
mkdir -p lm-windows
cp bin/ckt/lm.exe lm-windows
ldd lm-windows/lm.exe | grep "mingw64" | sed 's/.*\/mingw64/\/mingw64/g' | sed 's/ (.*$$//g' | xargs -I{} cp {} lm-windows
zip -r lm-windows.zip lm-windows
rm -rf lm-windows

macos:
macos: lib
cp bin/ckt/lm lm-macos

lib: gdstk
Expand Down
2 changes: 1 addition & 1 deletion bin/ckt
Submodule ckt updated 10 files
+51 −26 src/build.cpp
+15 −9 src/main.cpp
+0 −7 src/plot.h
+4 −4 src/show.cpp
+7 −0 src/show.h
+12 −202 src/sim.cpp
+173 −0 src/vcd.cpp
+27 −0 src/vcd.h
+185 −0 src/verify.cpp
+7 −0 src/verify.h
2 changes: 1 addition & 1 deletion lib/interpret_prs
2 changes: 1 addition & 1 deletion lib/parse_prs
2 changes: 1 addition & 1 deletion lib/prs

0 comments on commit 6fec24e

Please sign in to comment.