-
Notifications
You must be signed in to change notification settings - Fork 90
Ship-room: Added libomp instructions.
#901
Conversation
| * Install [.NET Core 3 SDK](https://dotnet.microsoft.com/download) | ||
| * On [WSL](https://docs.microsoft.com/en-us/windows/wsl/)/Linux: | ||
| * Install `g++` (e.g. in Ubuntu 20.04 `sudo apt-get install g++`). | ||
| * Install [`libomp`](https://openmp.llvm.org) needed for the native (C++) full-state simulator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For other platforms the libomp is installed automatically:
Mac: src\Simulation\Native\prerequisites.ps1
Win: As part of MSVC/Clang.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, this is only the build instructions, right? If I understand correctly, since libomp is included in the NuGet package, we should have no user-facing dependencies at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct.
| * Install [.NET Core 3 SDK](https://dotnet.microsoft.com/download) | ||
| * On [WSL](https://docs.microsoft.com/en-us/windows/wsl/)/Linux: | ||
| * Install `g++` (e.g. in Ubuntu 20.04 `sudo apt-get install g++`). | ||
| * Install [`libomp`](https://openmp.llvm.org) needed for the native (C++) full-state simulator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, this is only the build instructions, right? If I understand correctly, since libomp is included in the NuGet package, we should have no user-facing dependencies at all.
62c8275 to
f767b6e
Compare
f767b6e to
7f328dc
Compare
* Update .NET Azure Quantum SDK version * Temporarily adjusting broken links * Update xfield/update-net-sdk (#907) * Fix capitalization in xref links (#902) xref links in https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubitwithintolerance and https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubit don't render as links. I believe docgen doesn't recognize API links if they are given in lowercase, it needs proper capitalization in xref. Co-authored-by: XField <[email protected]> * Update macOS build scripts for libomp dependency (#906) * Link against checked in libomp.dylib * Try another explicit link strategy * Show contents of osx folder * Try another linker strategy * go back to old linker pattern * try other syntax * Try checked in openmp headers * try getting more info from otool * Try adapting libomp rpath on mac * Ensure libomp lands in drops folder * Additional copy of libomp * Add explanatory comments * Use @loader_path instead of @executable_path Co-authored-by: Mariia Mykhailova <[email protected]> Co-authored-by: Stefan J. Wernli <[email protected]> * Added `libomp` instructions. (#901) Co-authored-by: Mariia Mykhailova <[email protected]> Co-authored-by: Stefan J. Wernli <[email protected]> Co-authored-by: Robin Kuzmin <[email protected]>
No description provided.