-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add manual triggering option for build * Fix version regex in recipe * Use SSH to clone the MATLAB headers This should be more secure than the password. * Prefer ruamel.yaml dependency * Fix complaints about unsatisfied dependency on ruamel.yaml * Don't fail if there's nothing to delete * Whoops the MATLAB headers need the SSH key * WIP updates to the recipe SKIP CI * Try these config settings * Bump Python 3.10 to NumPy 1.21 * Try to work around Accelerate failures on macOS * Try to fix missing Python on Linux * Update Windows scripts as well * Debug SSH failures * Fix some syntax errors * Move debugging * Bump python for Matlab builds * Try to fix the builds * Debugging * Typo * Typo * >_< * Remove rpath linking from SCons * More debugging! * Fix Windows wheel install * Try to fix cloning the matlab headers * Figure out why scons is rebuilding * Try rsync for the matlab headers * Update recipe dependencies to avoid rebuild * Fix libcantera tests * Bit more debugging * Don't run tests on Python 3.10 Pytest is too old from the main channel * Fix the matlab recipe yaml * Split the library build * Fix Windows rsync * Fix Matlab Windows/macOS builds * Fix libcantera/Python builds * Fixes for Windows * Fixes for Matlab * Fixes for missing deps * Fixes and fixes! * Try to remove some dependencies I'm not sure why these would be required for the lib* recipe. * Remove Windows rename_shared_libs option Let's see how this breaks now * Use Python to set MW_HEADERS on Win rsync needs a /cygdrive style path * Linux/macOS building updates * Try again to fix Matlab Windows rsync * Another try at Windows * Another rsync try * I'm just guessing at this point * A separate rsync for Windows * Another rsync try * Debug * Debug! * Need a bindir * Single quotes? * Only run the POSIX rsync on POSIX * Gotta use a different name for the rsync dir * Move rpath rewrite above interface build * Try Windows 2022 runner * Switch to MSVC 14.2 * Build the interface first * Cut alpha and beta off the PKG_VERSION * Also cut rc from version * Try modern compilers settting on Windows * Try different dependency versions To avoid rebuilding quite so many times * Remove `path` source * Add input to workflow dispatch for uploading [skip ci] Co-authored-by: Ray Speth <speth@mit.edu>
- Loading branch information
1 parent
5c13711
commit 6b7f509
Showing
14 changed files
with
234 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,12 @@ | ||
echo "****************************" | ||
echo "DEVEL LIBRARY INSTALL STARTED" | ||
echo "****************************" | ||
echo "***************************" | ||
echo "DEVEL LIBRARY BUILD STARTED" | ||
echo "***************************" | ||
|
||
set -e | ||
rm -f cantera.conf | ||
|
||
cp "${RECIPE_DIR}/../.ci_support/cantera_base.conf" cantera.conf | ||
|
||
echo "prefix = '${PREFIX}'" >> cantera.conf | ||
echo "boost_inc_dir = '${PREFIX}/include'" >> cantera.conf | ||
|
||
if [[ "${OSX_ARCH}" == "" ]]; then | ||
echo "CC = '${CC}'" >> cantera.conf | ||
echo "CXX = '${CXX}'" >> cantera.conf | ||
echo "blas_lapack_libs = 'mkl_rt,dl'" >> cantera.conf | ||
echo "blas_lapack_dir = '${PREFIX}/lib'" >> cantera.conf | ||
else | ||
echo "CC = '${CLANG}'" >> cantera.conf | ||
echo "CXX = '${CLANGXX}'" >> cantera.conf | ||
echo "cc_flags = '-isysroot ${CONDA_BUILD_SYSROOT} -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}'" >> cantera.conf | ||
fi | ||
|
||
scons install | ||
${BUILD_PREFIX}/bin/python `which scons` install | ||
set +e | ||
|
||
echo "****************************" | ||
echo "DEVEL LIBRARY INSTALL COMPLETED SUCCESSFULLY" | ||
echo "****************************" | ||
echo "*****************************" | ||
echo "DEVEL LIBRARY BUILD COMPLETED" | ||
echo "*****************************" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
call %RECIPE_DIR%/build_devel.bat | ||
echo "****************************" | ||
echo "DELETING files from devel except shared libraries" | ||
echo "****************************" | ||
|
||
rd /s /q %PREFIX%\Library\share | ||
rd /s /q %PREFIX%\Library\include\cantera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source $RECIPE_DIR/build_devel.sh | ||
echo "****************************" | ||
echo "DELETING files from devel except shared libraries" | ||
echo "****************************" | ||
|
||
rm -rf $PREFIX/share | ||
rm -rf $PREFIX/include/cantera | ||
rm -rf $PREFIX/bin | ||
rm -rf $PREFIX/lib/pkg-config | ||
rm -rf $PREFIX/lib/libcantera.a | ||
|
||
if [[ "$target_platform" == osx-* ]]; then | ||
${OTOOL:-otool} -L $PREFIX/lib/libcantera.dylib | ||
fi | ||
|
||
echo "************************" | ||
echo "DELETING files COMPLETED" | ||
echo "************************" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.