Git Product home page Git Product logo

Comments (6)

vrpascuzzi avatar vrpascuzzi commented on May 27, 2024 2

Forgot to thank you for this one, @kevinhartman!

from qe-compiler.

vrpascuzzi avatar vrpascuzzi commented on May 27, 2024 1

I fixed my issue by specifying the release type when building with cmake.

Then it's a different issue. The Conan approach to satisfying dependencies itself is failing in my case, which happens before I even get to run cmake.

EDIT: IMO, it's odd that adding CMAKE_BUILD_TYPE fixed your build, considering if the option is omitted, the build should default to Debug.

EDIT-2: Wrong project. It defaults to Release. My bad.

from qe-compiler.

kevinhartman avatar kevinhartman commented on May 27, 2024 1

Odd. This works on Linux and x86 Mac, so unfortunately I cannot help debug. Hopefully GitHub Actions will add macOS ARM at some point.

As a workaround, try using the following when building on M1:

conan install .. -pr macos_arm64_apple-clang_14_release \
  -o qasm:shared=True \
  -o gmp:shared=False \
  -o mpc:shared=False \
  -o mpfr:shared=False

Unfortunately we cannot change the default as per internal licensing guidance.

from qe-compiler.

taalexander avatar taalexander commented on May 27, 2024

Perhaps, related - I'm dealing with error while loading shared libraries: libqasmParser.so.0: cannot open shared object file: in a linux environment.

from qe-compiler.

taalexander avatar taalexander commented on May 27, 2024

I fixed my issue by specifying the release type when building with cmake.

cmake3 -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE="Debug" .. && ninja

from qe-compiler.

taalexander avatar taalexander commented on May 27, 2024

Closing as a workaround now exists for M1

from qe-compiler.

Related Issues (20)

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.