Skip to content

Commit

Permalink
Default profile creation making sure a profile is setup (#339)
Browse files Browse the repository at this point in the history
Based on issue
[issue](#309 (comment)
), we added changes to README.md while installing.

---------

Co-authored-by: Thomas Alexander <thomasalexander2718@gmail.com>
  • Loading branch information
anurag-quantum and taalexander authored Nov 6, 2024
1 parent 671679e commit 2be5832
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ To build:
2. Install Python dependencies: `pip install -r requirements-dev.txt`
3. Export local Conan recipe dependencies to Conan: `./conan_deps.sh`
4. `mkdir build && cd build`
5. Install Conan dependencies: `conan install .. --build=outdated -pr:h default -pr:b default`
6. Invoke the build with Conan: `conan build ..`. This will build the compiler.
7. To run tests: `conan build .. --test`
5. If installing Conan for the first time, create a new profile `conan profile new default --detect`
6. Install Conan dependencies: `conan install .. --build=outdated -pr:h default -pr:b default`
7. Invoke the build with Conan: `conan build ..`. This will build the compiler.
8. To run tests: `conan build .. --test`

Alternatively instead of steps 6/7, you can build directly with CMake (also from within the build folder):
1. Configure - `cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE="Release" ..`
Expand Down

0 comments on commit 2be5832

Please sign in to comment.