Skip to content

Commit

Permalink
Update Unicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Dec 20, 2024
1 parent 7ec3a97 commit 4f4a79b
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:

- name: Install Z3
run: |
wget https://github.com/Z3Prover/z3/releases/download/z3-4.13.3/z3-4.13.3-arm64-osx-13.7.zip
unzip z3-4.13.3-arm64-osx-13.7.zip
wget -q https://github.com/Z3Prover/z3/releases/download/z3-4.13.3/z3-4.13.3-arm64-osx-13.7.zip
unzip -q z3-4.13.3-arm64-osx-13.7.zip
sudo python -m pip install z3-solver==4.13.3.0
- name: Install Deps
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Install Capstone
run: |
wget https://github.com/aquynh/capstone/archive/5.0.3.tar.gz
wget -q https://github.com/aquynh/capstone/archive/5.0.3.tar.gz
tar -xf ./5.0.3.tar.gz
cd ./capstone-5.0.3
bash ./make.sh
Expand All @@ -66,24 +66,24 @@ jobs:
run: |
sudo python -m pip install lief
# - name: Compile Triton
# run: |
# mkdir ./build
# cd ./build
# cmake ..
# cmake -DZ3_INTERFACE=ON \
# -DZ3_INCLUDE_DIRS=${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/include \
# -DZ3_LIBRARIES=${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/bin/libz3.a \
# -DBITWUZLA_INTERFACE=ON \
# -DBITWUZLA_INCLUDE_DIRS=${{ github.workspace }}/bitwuzla/install/include \
# -DBITWUZLA_LIBRARIES=${{ github.workspace }}/bitwuzla/install/lib/libbitwuzla.dylib \
# -DLLVM_INTERFACE=ON \
# -DCMAKE_PREFIX_PATH=${{env.LLVM_PATH}} \
# -DBOOST_INTERFACE=OFF ..
# sudo make -j3 install
# env:
# Z3_INCLUDE_DIRS: ${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/include
# Z3_LIBRARIES: ${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/bin/libz3.a
- name: Compile Triton
run: |
mkdir ./build
cd ./build
cmake ..
cmake -DZ3_INTERFACE=ON \
-DZ3_INCLUDE_DIRS=${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/include \
-DZ3_LIBRARIES=${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/bin/libz3.a \
-DBITWUZLA_INTERFACE=ON \
-DBITWUZLA_INCLUDE_DIRS=${{ github.workspace }}/bitwuzla/install/include \
-DBITWUZLA_LIBRARIES=${{ github.workspace }}/bitwuzla/install/lib/libbitwuzla.dylib \
-DLLVM_INTERFACE=ON \
-DCMAKE_PREFIX_PATH=${{env.LLVM_PATH}} \
-DBOOST_INTERFACE=OFF ..
sudo make -j3 install
env:
Z3_INCLUDE_DIRS: ${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/include
Z3_LIBRARIES: ${{ github.workspace }}/z3-4.13.3-arm64-osx-13.7/bin/libz3.a

# # NOTE Tests will fail because currently they only pass with Unicorn
# # v2.0.0. However, Unicorn v2.0.0 does not build on the macos-14 runner.
Expand Down

0 comments on commit 4f4a79b

Please sign in to comment.