Git Product home page Git Product logo

Comments (4)

RiverOtherSide avatar RiverOtherSide commented on August 11, 2024

When checking the code, it was found that the error occurred when compiling /avr/src/reach. Further inspection of the Makefile file revealed that there is a problem with this code:

image-20240204132536466

The main issues include two points:

  • BT_LIB += $(BT_DIR)/deps/btor2tools/build/libbtor2parser.a, there is an overlap problem between $(BT_DIR) and deps/btor2tools/build/libbtor2parser.a.
  • cadical is missing in the deps folder and needs to be installed

from avr.

RiverOtherSide avatar RiverOtherSide commented on August 11, 2024

Solution:

All the following operations are in the project avr/ directory

  1. Download cadical
cd deps
git clone https://github.com/arminbiere/cadical.git
  1. Install according to cadical readme
cd /deps/cadical
./configure
make
  1. Modify the problematic area (lines 37-45) of the Makefile in /src/reach to the following
ifeq ($(ENABLE_BT), 1)
  BT_DIR = $(DEPS)/boolector
  BT_LIB = $(BT_DIR)/build/lib/libboolector.a
  BT_LIB +=  $(DEPS)/btor2tools/build/lib/libbtor2parser.a
  BT_LIB +=  $(DEPS)/cadical/build/libcadical.a
  INCLUDE += -I$(BT_DIR)/src
  LINKLIBS += $(BT_LIB)
  CFLAGS += -D_BT
endif

Then recompile in /src/reach

cd /src/reach
make

from avr.

RiverOtherSide avatar RiverOtherSide commented on August 11, 2024

@aman-goel This deps dependency is missing and the /src/reach/Makefile bug. Please take a look at it to help modify it.

from avr.

aman-goel avatar aman-goel commented on August 11, 2024

(Apologies for my super late response)

Thanks for raising the issue.

  • Bto2tools library path is now corrected.
  • Cadical is installed when installing Boolector here

from avr.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.