Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 3, 2024
1 parent ff4d1e1 commit 48a0012
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-wheels-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ TAG=${PYTAG}-${ABI}-${PLATFORM}
PYVER=${PYTAG:2:1}.${PYTAG:3}

# setup brew dependencies
brew install --overwrite coreutils openblas swig boost python@${PYVER} tbb nlopt cminpack ceres-solver bison flex hdf5 ipopt primesieve spectra pagmo libxml2 nanoflann cuba
brew install --overwrite coreutils openblas swig boost python@${PYVER} tbb bison flex libxml2 cminpack
#nlopt cminpack ceres-solver hdf5 ipopt primesieve spectra pagmo nanoflann cuba
export PATH=/Library/Frameworks/Python.framework/Versions/${PYVER}/bin:$PATH
python${PYVER} -m pip install delocate --break-system-packages
python${PYVER} -m pip debug --verbose
Expand All @@ -32,6 +33,8 @@ git clone --depth 1 -b ${GIT_VERSION} https://github.com/openturns/openturns.git
cd openturns
sed -i'.bak' "s|Metadata-Version: 2.0|Metadata-Version: 1.2|g" python/src/METADATA.in
patch -p1 -i ${SCRIPTPATH}/csv.patch
c++ ./cmake/have_fr_loc.cxx
./a.out || echo "nope"
git diff
VERSION=`cat VERSION`

Expand Down Expand Up @@ -60,6 +63,7 @@ cmake -LAH -DCMAKE_INSTALL_PREFIX=$PWD/install \
make install

# run a few tests
PYTHONPATH=$PWD/install/lib/python${PYVER}/site-packages ${BREWPREFIX}/bin/python${PYVER} ../python/test/t_Sample_csv_fr.py
ctest -R "Ipopt|Bonmin|Dlib_std|NLopt|Study|SymbolicFunction|SquareMatrix|CMinpack|Ceres|Sample_csv|Pagmo" -E cppcheck --output-on-failure ${MAKEFLAGS}

cd install/lib/python*/site-packages/
Expand Down

0 comments on commit 48a0012

Please sign in to comment.