Re: [sundials-users] [LLNL/sundials] Problem building Sundials 6.2.0 with cmake 3.21 on macOS (Issue #157)

3 views
Skip to first unread message

Daniel R. Reynolds

unread,
Jun 13, 2022, 12:03:56 PM6/13/22
to SUNDIAL...@listserv.llnl.gov

It's a bit unclear from your post, but can you clarify the build directory structure for your call? From the first line it looks like you have something like:

git clone g...@github.com:LLNL/sundials.git
cd sundials
mkdir build
cd build
/Users/mottelet/git/CMake/bin/cmake cmake ../src -DCMAKE_INSTALL_PREFIX=/Users/mottelet/git/sundials6.2.0/inst/ -DEXAMPLES_INSTALL_PATH=/Users/mottelet/git/sundials6.2.0/examples

If that is the case, then I recommend that you change your cmake command to instead be

/Users/mottelet/git/CMake/bin/cmake cmake .. -DCMAKE_INSTALL_PREFIX=/Users/mottelet/git/sundials6.2.0/inst/ -DEXAMPLES_INSTALL_PATH=/Users/mottelet/git/sundials6.2.0/examples

to ensure that CMake is directed to the top-level SUNDIALS folder, and not the src subfolder.

If that was not your setup, then could you provide a bit more information about how this is laid out for you?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <LLNL/sundials/issues/157/1153948542@github.com>



To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV

Reply all
Reply to author
Forward
0 new messages