Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0 release build failure #436

Closed
chenrui333 opened this issue Mar 8, 2024 · 1 comment
Closed

7.0.0 release build failure #436

chenrui333 opened this issue Mar 8, 2024 · 1 comment

Comments

@chenrui333
Copy link

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log
  [ 50%] Building C object CMakeFiles/ltest.dir/ltest.c.o
  /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang  -I/usr/local/opt/suite-sparse/include -O3 -DNDEBUG -std=gnu99 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -MD -MT CMakeFiles/ltest.dir/ltest.c.o -MF CMakeFiles/ltest.dir/ltest.c.o.d -o CMakeFiles/ltest.dir/ltest.c.o -c /tmp/sundials-20240306-5618-nkv28f/sundials-7.0.0/build/KLU_TEST/ltest.c
  /tmp/sundials-20240306-5618-nkv28f/sundials-7.0.0/build/KLU_TEST/ltest.c:1:10: fatal error: 'klu.h' file not found
  #include "klu.h"
           ^~~~~~~
  1 error generated.
  make[2]: *** [CMakeFiles/ltest.dir/ltest.c.o] Error 1
  make[1]: *** [CMakeFiles/ltest.dir/all] Error 2
  make: *** [all] Error 2

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/8165362852/job/22324343392?pr=165191
relates to Homebrew/homebrew-core#165191

@gardner48
Copy link
Member

When building SUNDIALS, Homebrew is setting KLU_INCLUDE_DIR to /opt/homebrew/opt/suite-sparse/include which was correct for older versions of SuiteSparse. Recent versions (I believe starting with 7.4.0) have moved the headers to /opt/homebrew/opt/suite-sparse/include/suitesparse and the Homebrew formula needs to be updated accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants