Comments (6)
Forgot to thank you for this one, @kevinhartman!
from qe-compiler.
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.
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.
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.
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.
Closing as a workaround now exists for M1
from qe-compiler.
Related Issues (20)
- Default Conan profile on Ubuntu 22 uses libstdc++ instead of libstdc++11. HOT 1
- Expose `compile()` via a new library based on `QSSCLib`
- VariableEliminationPass (quir-eliminate-variables) causing test failures on M1 HOT 2
- libzip build issue on vanilla Ubuntu 22.04 HOT 2
- CMake project target CXX build issue on vanilla Ubuntu 22.04 HOT 3
- Building conan cache is slow on vanilla Ubuntu 22.04 HOT 2
- Compiler CLI --direct and python_lib compile_str() doesn't work HOT 1
- Lowering to Pulse Dialect HOT 2
- Python bindings to QSSC AST/IR
- [feature request] alternative to --config CLI flag
- Segmentation fault while running unit tests on macOS Ventura / arm64 / Xcode 14.3 HOT 6
- Upgrade MLIR interfaces to work with LLVM 16.
- Rename from qss (quantum systems software) to qe (quantum engine) - compiler
- ThreadedCompilationManager is not threadsafe for multiple concurrent calls
- Parametric performance regression with update to LLVM 17
- Need to add Codeowners file
- Mock tests are failing with debug builds
- Add support for operation precedance in expression
- Failure to parse classical expressions with binary and unary operations combined
- question: how to develop based on qe-compiler HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qe-compiler.