bayesmix-dev / bayesmix

Flexible Bayesian nonparametric mixture models in C++
https://bayesmix.rtfd.io
BSD 3-Clause "New" or "Revised" License
22 stars 18 forks source link

Update `bayesmix` dependencies #154

Closed TeoGiane closed 7 months ago

TeoGiane commented 7 months ago

Summary

  1. Update to boost v.1.84.0 (currently fetching stan-dev/math.git)
  2. Update to matplotplusplus v.1.2.1 + improved patch to switch off openCV (otherwise I can not compile on my laptop)

Checks

To Do

  1. Sync bayesmix-dev/math with upstream repo
  2. Fetching bayesmix-dev/math in cmake/math.cmake
mberaha commented 7 months ago

It is working on my laptop

CMAKE_MODULE_PATH /Users/marioberaha/dev/bayesmix_origin
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2") 
-- Found OpenMP_C: -Xclang -fopenmp (found version "5.0") 
-- Found OpenMP_CXX: -Xclang -fopenmp (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
.....

So the clang version is correct.

make run_mcmc produced no error as also ./examples/tutorial/run.sh

I would sync our fork of math and merge this PR