diff --git a/.github/workflows/darwin-x64.yml b/.github/workflows/darwin-x64.yml index 3e9e9df..3480949 100644 --- a/.github/workflows/darwin-x64.yml +++ b/.github/workflows/darwin-x64.yml @@ -554,6 +554,40 @@ jobs: tag: bucket-darwin-x64 artifacts: "darwin-x64-openfpgaloader.tgz" token: ${{ secrets.GITHUB_TOKEN }} + darwin-x64-aiger: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + with: + repository: 'yosyshq/oss-cad-suite-build' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: _sources + key: cache-sources-aiger + - name: Download previous build + run: | + URL="https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-darwin-x64/darwin-x64-aiger.tgz" + if wget --spider "${URL}" 2>/dev/null; then + wget -qO- "${URL}" | tar xvfz - + else + echo "Previous version not found in bucket" + fi + - name: Build + run: ./builder.py build --arch=darwin-x64 --target=aiger --single --tar + - uses: ncipollo/release-action@v1 + if: hashFiles('darwin-x64-aiger.tgz') != '' + with: + allowUpdates: True + prerelease: True + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + tag: bucket-darwin-x64 + artifacts: "darwin-x64-aiger.tgz" + token: ${{ secrets.GITHUB_TOKEN }} darwin-x64-avy: runs-on: ubuntu-latest continue-on-error: true @@ -1477,7 +1511,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} darwin-x64-default: runs-on: ubuntu-latest - needs: [ darwin-x64-avy, darwin-x64-bitwuzla, darwin-x64-boolector, darwin-x64-dfu-util, darwin-x64-ecpdap, darwin-x64-ecpprog, darwin-x64-flask, darwin-x64-fujprog, darwin-x64-graphviz, darwin-x64-gtkwave, darwin-x64-icesprog, darwin-x64-icestorm, darwin-x64-iverilog, darwin-x64-mcy, darwin-x64-nextpnr-ecp5, darwin-x64-nextpnr-generic, darwin-x64-nextpnr-ice40, darwin-x64-nextpnr-machxo2, darwin-x64-nextpnr-nexus, darwin-x64-openfpgaloader, darwin-x64-openocd, darwin-x64-pono, darwin-x64-prjoxide, darwin-x64-prjtrellis, darwin-x64-pyhdl, darwin-x64-python-programmers, darwin-x64-python3, darwin-x64-sby, darwin-x64-sby-gui, darwin-x64-system-resources, darwin-x64-utils, darwin-x64-verilator, darwin-x64-xdot, darwin-x64-yices, darwin-x64-yosys, darwin-x64-z3 ] + needs: [ darwin-x64-aiger, darwin-x64-avy, darwin-x64-bitwuzla, darwin-x64-boolector, darwin-x64-dfu-util, darwin-x64-ecpdap, darwin-x64-ecpprog, darwin-x64-flask, darwin-x64-fujprog, darwin-x64-graphviz, darwin-x64-gtkwave, darwin-x64-icesprog, darwin-x64-icestorm, darwin-x64-iverilog, darwin-x64-mcy, darwin-x64-nextpnr-ecp5, darwin-x64-nextpnr-generic, darwin-x64-nextpnr-ice40, darwin-x64-nextpnr-machxo2, darwin-x64-nextpnr-nexus, darwin-x64-openfpgaloader, darwin-x64-openocd, darwin-x64-pono, darwin-x64-prjoxide, darwin-x64-prjtrellis, darwin-x64-pyhdl, darwin-x64-python-programmers, darwin-x64-python3, darwin-x64-sby, darwin-x64-sby-gui, darwin-x64-system-resources, darwin-x64-utils, darwin-x64-verilator, darwin-x64-xdot, darwin-x64-yices, darwin-x64-yosys, darwin-x64-z3 ] steps: - name: Get current date id: date @@ -1485,6 +1519,8 @@ jobs: - uses: actions/checkout@v2 with: repository: 'yosyshq/oss-cad-suite-build' + - name: Download darwin-x64-aiger + run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-darwin-x64/darwin-x64-aiger.tgz" | tar xvfz - - name: Download darwin-x64-avy run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-darwin-x64/darwin-x64-avy.tgz" | tar xvfz - - name: Download darwin-x64-bitwuzla diff --git a/.github/workflows/linux-arm.yml b/.github/workflows/linux-arm.yml index 15a1e03..b66bfd3 100644 --- a/.github/workflows/linux-arm.yml +++ b/.github/workflows/linux-arm.yml @@ -554,6 +554,40 @@ jobs: tag: bucket-linux-arm artifacts: "linux-arm-openfpgaloader.tgz" token: ${{ secrets.GITHUB_TOKEN }} + linux-arm-aiger: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + with: + repository: 'yosyshq/oss-cad-suite-build' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: _sources + key: cache-sources-aiger + - name: Download previous build + run: | + URL="https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm/linux-arm-aiger.tgz" + if wget --spider "${URL}" 2>/dev/null; then + wget -qO- "${URL}" | tar xvfz - + else + echo "Previous version not found in bucket" + fi + - name: Build + run: ./builder.py build --arch=linux-arm --target=aiger --single --tar + - uses: ncipollo/release-action@v1 + if: hashFiles('linux-arm-aiger.tgz') != '' + with: + allowUpdates: True + prerelease: True + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + tag: bucket-linux-arm + artifacts: "linux-arm-aiger.tgz" + token: ${{ secrets.GITHUB_TOKEN }} linux-arm-avy: runs-on: ubuntu-latest continue-on-error: true @@ -1548,7 +1582,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} linux-arm-default: runs-on: ubuntu-latest - needs: [ linux-arm-avy, linux-arm-bitwuzla, linux-arm-boolector, linux-arm-dfu-util, linux-arm-ecpdap, linux-arm-ecpprog, linux-arm-flask, linux-arm-fujprog, linux-arm-graphviz, linux-arm-gtkwave, linux-arm-icesprog, linux-arm-icestorm, linux-arm-iverilog, linux-arm-mcy, linux-arm-nextpnr-ecp5, linux-arm-nextpnr-generic, linux-arm-nextpnr-ice40, linux-arm-nextpnr-machxo2, linux-arm-nextpnr-nexus, linux-arm-openfpgaloader, linux-arm-openocd, linux-arm-pono, linux-arm-prjoxide, linux-arm-prjtrellis, linux-arm-pyhdl, linux-arm-python-programmers, linux-arm-python2, linux-arm-python3, linux-arm-sby, linux-arm-sby-gui, linux-arm-suprove, linux-arm-system-resources, linux-arm-utils, linux-arm-verilator, linux-arm-xdot, linux-arm-yices, linux-arm-yosys, linux-arm-z3 ] + needs: [ linux-arm-aiger, linux-arm-avy, linux-arm-bitwuzla, linux-arm-boolector, linux-arm-dfu-util, linux-arm-ecpdap, linux-arm-ecpprog, linux-arm-flask, linux-arm-fujprog, linux-arm-graphviz, linux-arm-gtkwave, linux-arm-icesprog, linux-arm-icestorm, linux-arm-iverilog, linux-arm-mcy, linux-arm-nextpnr-ecp5, linux-arm-nextpnr-generic, linux-arm-nextpnr-ice40, linux-arm-nextpnr-machxo2, linux-arm-nextpnr-nexus, linux-arm-openfpgaloader, linux-arm-openocd, linux-arm-pono, linux-arm-prjoxide, linux-arm-prjtrellis, linux-arm-pyhdl, linux-arm-python-programmers, linux-arm-python2, linux-arm-python3, linux-arm-sby, linux-arm-sby-gui, linux-arm-suprove, linux-arm-system-resources, linux-arm-utils, linux-arm-verilator, linux-arm-xdot, linux-arm-yices, linux-arm-yosys, linux-arm-z3 ] steps: - name: Get current date id: date @@ -1556,6 +1590,8 @@ jobs: - uses: actions/checkout@v2 with: repository: 'yosyshq/oss-cad-suite-build' + - name: Download linux-arm-aiger + run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm/linux-arm-aiger.tgz" | tar xvfz - - name: Download linux-arm-avy run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm/linux-arm-avy.tgz" | tar xvfz - - name: Download linux-arm-bitwuzla diff --git a/.github/workflows/linux-arm64.yml b/.github/workflows/linux-arm64.yml index fb60a74..3b13913 100644 --- a/.github/workflows/linux-arm64.yml +++ b/.github/workflows/linux-arm64.yml @@ -554,6 +554,40 @@ jobs: tag: bucket-linux-arm64 artifacts: "linux-arm64-openfpgaloader.tgz" token: ${{ secrets.GITHUB_TOKEN }} + linux-arm64-aiger: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + with: + repository: 'yosyshq/oss-cad-suite-build' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: _sources + key: cache-sources-aiger + - name: Download previous build + run: | + URL="https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm64/linux-arm64-aiger.tgz" + if wget --spider "${URL}" 2>/dev/null; then + wget -qO- "${URL}" | tar xvfz - + else + echo "Previous version not found in bucket" + fi + - name: Build + run: ./builder.py build --arch=linux-arm64 --target=aiger --single --tar + - uses: ncipollo/release-action@v1 + if: hashFiles('linux-arm64-aiger.tgz') != '' + with: + allowUpdates: True + prerelease: True + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + tag: bucket-linux-arm64 + artifacts: "linux-arm64-aiger.tgz" + token: ${{ secrets.GITHUB_TOKEN }} linux-arm64-avy: runs-on: ubuntu-latest continue-on-error: true @@ -1548,7 +1582,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} linux-arm64-default: runs-on: ubuntu-latest - needs: [ linux-arm64-avy, linux-arm64-bitwuzla, linux-arm64-boolector, linux-arm64-dfu-util, linux-arm64-ecpdap, linux-arm64-ecpprog, linux-arm64-flask, linux-arm64-fujprog, linux-arm64-graphviz, linux-arm64-gtkwave, linux-arm64-icesprog, linux-arm64-icestorm, linux-arm64-iverilog, linux-arm64-mcy, linux-arm64-nextpnr-ecp5, linux-arm64-nextpnr-generic, linux-arm64-nextpnr-ice40, linux-arm64-nextpnr-machxo2, linux-arm64-nextpnr-nexus, linux-arm64-openfpgaloader, linux-arm64-openocd, linux-arm64-pono, linux-arm64-prjoxide, linux-arm64-prjtrellis, linux-arm64-pyhdl, linux-arm64-python-programmers, linux-arm64-python2, linux-arm64-python3, linux-arm64-sby, linux-arm64-sby-gui, linux-arm64-suprove, linux-arm64-system-resources, linux-arm64-utils, linux-arm64-verilator, linux-arm64-xdot, linux-arm64-yices, linux-arm64-yosys, linux-arm64-z3 ] + needs: [ linux-arm64-aiger, linux-arm64-avy, linux-arm64-bitwuzla, linux-arm64-boolector, linux-arm64-dfu-util, linux-arm64-ecpdap, linux-arm64-ecpprog, linux-arm64-flask, linux-arm64-fujprog, linux-arm64-graphviz, linux-arm64-gtkwave, linux-arm64-icesprog, linux-arm64-icestorm, linux-arm64-iverilog, linux-arm64-mcy, linux-arm64-nextpnr-ecp5, linux-arm64-nextpnr-generic, linux-arm64-nextpnr-ice40, linux-arm64-nextpnr-machxo2, linux-arm64-nextpnr-nexus, linux-arm64-openfpgaloader, linux-arm64-openocd, linux-arm64-pono, linux-arm64-prjoxide, linux-arm64-prjtrellis, linux-arm64-pyhdl, linux-arm64-python-programmers, linux-arm64-python2, linux-arm64-python3, linux-arm64-sby, linux-arm64-sby-gui, linux-arm64-suprove, linux-arm64-system-resources, linux-arm64-utils, linux-arm64-verilator, linux-arm64-xdot, linux-arm64-yices, linux-arm64-yosys, linux-arm64-z3 ] steps: - name: Get current date id: date @@ -1556,6 +1590,8 @@ jobs: - uses: actions/checkout@v2 with: repository: 'yosyshq/oss-cad-suite-build' + - name: Download linux-arm64-aiger + run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm64/linux-arm64-aiger.tgz" | tar xvfz - - name: Download linux-arm64-avy run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-arm64/linux-arm64-avy.tgz" | tar xvfz - - name: Download linux-arm64-bitwuzla diff --git a/.github/workflows/linux-riscv64.yml b/.github/workflows/linux-riscv64.yml index 2b8c570..7f03dad 100644 --- a/.github/workflows/linux-riscv64.yml +++ b/.github/workflows/linux-riscv64.yml @@ -554,6 +554,40 @@ jobs: tag: bucket-linux-riscv64 artifacts: "linux-riscv64-openfpgaloader.tgz" token: ${{ secrets.GITHUB_TOKEN }} + linux-riscv64-aiger: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + with: + repository: 'yosyshq/oss-cad-suite-build' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: _sources + key: cache-sources-aiger + - name: Download previous build + run: | + URL="https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-riscv64/linux-riscv64-aiger.tgz" + if wget --spider "${URL}" 2>/dev/null; then + wget -qO- "${URL}" | tar xvfz - + else + echo "Previous version not found in bucket" + fi + - name: Build + run: ./builder.py build --arch=linux-riscv64 --target=aiger --single --tar + - uses: ncipollo/release-action@v1 + if: hashFiles('linux-riscv64-aiger.tgz') != '' + with: + allowUpdates: True + prerelease: True + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + tag: bucket-linux-riscv64 + artifacts: "linux-riscv64-aiger.tgz" + token: ${{ secrets.GITHUB_TOKEN }} linux-riscv64-avy: runs-on: ubuntu-latest continue-on-error: true @@ -1548,7 +1582,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} linux-riscv64-default: runs-on: ubuntu-latest - needs: [ linux-riscv64-avy, linux-riscv64-bitwuzla, linux-riscv64-boolector, linux-riscv64-dfu-util, linux-riscv64-ecpdap, linux-riscv64-ecpprog, linux-riscv64-flask, linux-riscv64-fujprog, linux-riscv64-graphviz, linux-riscv64-gtkwave, linux-riscv64-icesprog, linux-riscv64-icestorm, linux-riscv64-iverilog, linux-riscv64-mcy, linux-riscv64-nextpnr-ecp5, linux-riscv64-nextpnr-generic, linux-riscv64-nextpnr-ice40, linux-riscv64-nextpnr-machxo2, linux-riscv64-nextpnr-nexus, linux-riscv64-openfpgaloader, linux-riscv64-openocd, linux-riscv64-pono, linux-riscv64-prjoxide, linux-riscv64-prjtrellis, linux-riscv64-pyhdl, linux-riscv64-python-programmers, linux-riscv64-python2, linux-riscv64-python3, linux-riscv64-sby, linux-riscv64-sby-gui, linux-riscv64-suprove, linux-riscv64-system-resources, linux-riscv64-utils, linux-riscv64-verilator, linux-riscv64-xdot, linux-riscv64-yices, linux-riscv64-yosys, linux-riscv64-z3 ] + needs: [ linux-riscv64-aiger, linux-riscv64-avy, linux-riscv64-bitwuzla, linux-riscv64-boolector, linux-riscv64-dfu-util, linux-riscv64-ecpdap, linux-riscv64-ecpprog, linux-riscv64-flask, linux-riscv64-fujprog, linux-riscv64-graphviz, linux-riscv64-gtkwave, linux-riscv64-icesprog, linux-riscv64-icestorm, linux-riscv64-iverilog, linux-riscv64-mcy, linux-riscv64-nextpnr-ecp5, linux-riscv64-nextpnr-generic, linux-riscv64-nextpnr-ice40, linux-riscv64-nextpnr-machxo2, linux-riscv64-nextpnr-nexus, linux-riscv64-openfpgaloader, linux-riscv64-openocd, linux-riscv64-pono, linux-riscv64-prjoxide, linux-riscv64-prjtrellis, linux-riscv64-pyhdl, linux-riscv64-python-programmers, linux-riscv64-python2, linux-riscv64-python3, linux-riscv64-sby, linux-riscv64-sby-gui, linux-riscv64-suprove, linux-riscv64-system-resources, linux-riscv64-utils, linux-riscv64-verilator, linux-riscv64-xdot, linux-riscv64-yices, linux-riscv64-yosys, linux-riscv64-z3 ] steps: - name: Get current date id: date @@ -1556,6 +1590,8 @@ jobs: - uses: actions/checkout@v2 with: repository: 'yosyshq/oss-cad-suite-build' + - name: Download linux-riscv64-aiger + run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-riscv64/linux-riscv64-aiger.tgz" | tar xvfz - - name: Download linux-riscv64-avy run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-riscv64/linux-riscv64-avy.tgz" | tar xvfz - - name: Download linux-riscv64-bitwuzla diff --git a/.github/workflows/linux-x64.yml b/.github/workflows/linux-x64.yml index be11685..69e3aac 100644 --- a/.github/workflows/linux-x64.yml +++ b/.github/workflows/linux-x64.yml @@ -767,6 +767,40 @@ jobs: tag: bucket-linux-x64 artifacts: "linux-x64-openfpgaloader.tgz" token: ${{ secrets.GITHUB_TOKEN }} + linux-x64-aiger: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + with: + repository: 'yosyshq/oss-cad-suite-build' + - name: Cache sources + id: cache-sources + uses: actions/cache@v2 + with: + path: _sources + key: cache-sources-aiger + - name: Download previous build + run: | + URL="https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-x64/linux-x64-aiger.tgz" + if wget --spider "${URL}" 2>/dev/null; then + wget -qO- "${URL}" | tar xvfz - + else + echo "Previous version not found in bucket" + fi + - name: Build + run: ./builder.py build --arch=linux-x64 --target=aiger --single --tar + - uses: ncipollo/release-action@v1 + if: hashFiles('linux-x64-aiger.tgz') != '' + with: + allowUpdates: True + prerelease: True + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + tag: bucket-linux-x64 + artifacts: "linux-x64-aiger.tgz" + token: ${{ secrets.GITHUB_TOKEN }} linux-x64-avy: runs-on: ubuntu-latest continue-on-error: true @@ -1795,7 +1829,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} linux-x64-default: runs-on: ubuntu-latest - needs: [ linux-x64-avy, linux-x64-bitwuzla, linux-x64-boolector, linux-x64-dfu-util, linux-x64-ecpdap, linux-x64-ecpprog, linux-x64-flask, linux-x64-fujprog, linux-x64-ghdl, linux-x64-ghdl-yosys-plugin, linux-x64-graphviz, linux-x64-gtkwave, linux-x64-icesprog, linux-x64-icestorm, linux-x64-iverilog, linux-x64-mcy, linux-x64-nextpnr-ecp5, linux-x64-nextpnr-generic, linux-x64-nextpnr-ice40, linux-x64-nextpnr-machxo2, linux-x64-nextpnr-nexus, linux-x64-openfpgaloader, linux-x64-openocd, linux-x64-pono, linux-x64-prjoxide, linux-x64-prjtrellis, linux-x64-pyhdl, linux-x64-python-programmers, linux-x64-python2, linux-x64-python3, linux-x64-sby, linux-x64-sby-gui, linux-x64-suprove, linux-x64-system-resources, linux-x64-utils, linux-x64-verilator, linux-x64-xdot, linux-x64-yices, linux-x64-yosys, linux-x64-z3 ] + needs: [ linux-x64-aiger, linux-x64-avy, linux-x64-bitwuzla, linux-x64-boolector, linux-x64-dfu-util, linux-x64-ecpdap, linux-x64-ecpprog, linux-x64-flask, linux-x64-fujprog, linux-x64-ghdl, linux-x64-ghdl-yosys-plugin, linux-x64-graphviz, linux-x64-gtkwave, linux-x64-icesprog, linux-x64-icestorm, linux-x64-iverilog, linux-x64-mcy, linux-x64-nextpnr-ecp5, linux-x64-nextpnr-generic, linux-x64-nextpnr-ice40, linux-x64-nextpnr-machxo2, linux-x64-nextpnr-nexus, linux-x64-openfpgaloader, linux-x64-openocd, linux-x64-pono, linux-x64-prjoxide, linux-x64-prjtrellis, linux-x64-pyhdl, linux-x64-python-programmers, linux-x64-python2, linux-x64-python3, linux-x64-sby, linux-x64-sby-gui, linux-x64-suprove, linux-x64-system-resources, linux-x64-utils, linux-x64-verilator, linux-x64-xdot, linux-x64-yices, linux-x64-yosys, linux-x64-z3 ] steps: - name: Get current date id: date @@ -1803,6 +1837,8 @@ jobs: - uses: actions/checkout@v2 with: repository: 'yosyshq/oss-cad-suite-build' + - name: Download linux-x64-aiger + run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-x64/linux-x64-aiger.tgz" | tar xvfz - - name: Download linux-x64-avy run: wget -qO- "https://github.com/yosyshq/oss-cad-suite-build/releases/download/bucket-linux-x64/linux-x64-avy.tgz" | tar xvfz - - name: Download linux-x64-bitwuzla diff --git a/default/rules/default.py b/default/rules/default.py index 5fbc4f2..779fa29 100644 --- a/default/rules/default.py +++ b/default/rules/default.py @@ -19,6 +19,7 @@ 'dfu-util', 'ecpprog', 'openfpgaloader', + 'aiger', 'avy', 'bitwuzla', 'boolector', diff --git a/default/rules/solvers.py b/default/rules/solvers.py index d81872c..57035fc 100644 --- a/default/rules/solvers.py +++ b/default/rules/solvers.py @@ -187,3 +187,26 @@ sources = [ 'z3' ], license_file = 'z3/LICENSE.txt', ) + +# aiger + +SourceLocation( + name = 'aiger', + vcs = 'git', + location = 'https://github.com/arminbiere/aiger', + revision = 'origin/master' +) + +SourceLocation( + name = 'picosat', + vcs = 'git', + location = 'https://github.com/mmicko/picosat', + revision = 'origin/main' +) + +Target( + name = 'aiger', + sources = [ 'picosat', 'lingeling', 'aiger' ], + arch = [ 'linux-x64', 'linux-arm', 'linux-arm64', 'linux-riscv64', 'darwin-x64', 'darwin-arm64' ], + license_file = 'aiger/LICENSE', +) diff --git a/default/scripts/aiger.sh b/default/scripts/aiger.sh new file mode 100644 index 0000000..926a7a0 --- /dev/null +++ b/default/scripts/aiger.sh @@ -0,0 +1,16 @@ +cd picosat +./configure.sh +make +cd ../aiger +$CC -O3 -DNDEBUG -c aiger.c +cd ../lingeling +./configure.sh +make +cd ../aiger +sed -i 's,/@CC@/$CC/,|@CC@|$CC|,g' configure.sh +sed -i 's,/usr/local,${OUTPUT_DIR}${INSTALL_PREFIX},g' makefile.in +sed -i 's,755 -s,755,g' makefile.in +./configure.sh +mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}/bin +make install +${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/*