File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,9 @@ endforeach(name)
109109add_subdirectory (${PYBIND11_DIR} ./pybind11)
110110
111111find_package (ZLIB)
112- find_package (GLEW REQUIRED)
113112
114113target_compile_definitions (XPLTLib PRIVATE HAVE_ZLIB)
115114target_link_libraries (XPLTLib PRIVATE ${ZLIB_LIBRARY_RELEASE} )
116- target_link_libraries (PostLib PRIVATE ${GLEW_LIBRARIES} GLEW::glew)
117115
118116pybind11_add_module(fbs PyFBS.cpp PyFBSCore.cpp PyFBSPost.cpp PyFBSMesh.cpp PyFBSGeom.cpp)
119117
Original file line number Diff line number Diff line change 77
88chmod +x cmbuild/bin/*
99scp cmbuild/bin/* repo:~ /$REMOTE_PATH /bin
10- scp pythonModule/* repo:~ /download
10+ find pythonModule/ | grep .so | xargs -I file scp file repo:~ /download
Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ cd ..
3030:: Standalone Python module
3131cd PyLib
3232git clone --depth 1 https://github.com/febiosoftware/FEBio.git
33+ :: TODO: Cmake requires 6 runs to generate correctly
34+ for /l %%a in (1, 1, 6) do (
3335cmake -L . -B cmbuild ^
3436 -DFEBioDir=FEBio ^
3537 -DPython3_INCLUDE_DIR=" C:\Program Files\Python313\include" ^
3638 -DPython3_LIBRARY=" C:\Program Files\Python313\libs\python313.lib" ^
3739 -DPython3_EXECUTABLE=" C:\Program Files\Python313\python.exe"
40+ )
3841cd cmbuild
3942msbuild /v:m /P:Configuration=Release /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS% ALL_BUILD.vcxproj
4043cd ..\..
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ if [ $# == 1 ] && [ "$1" != "develop" ]; then
66fi
77
88scp cmbuild/bin/Release/* repo:~ /$REMOTE_PATH /bin
9- scp pythonModule/* repo:~ /download
9+ find pythonModule/ | grep .pyd | xargs -I file scp file repo:~ /download
Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ main() {
2323 git clone --depth 1 https://github.com/febiosoftware/FEBio.git
2424 cmake -L . -B cmbuild \
2525 -DFEBioDir=FEBio \
26- -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \
27- -DCMAKE_OSX_ARCHITECTURES=x86_64
26+ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
2827 pushd cmbuild
2928 make -j $( sysctl -n hw.ncpu)
3029 popd
Original file line number Diff line number Diff line change 77
88chmod +x cmbuild/bin/FEBioStudio.app/Contents/MacOS/*
99scp -r cmbuild/bin/FEBioStudio.app/Contents/MacOS/* repo:~ /$REMOTE_PATH /FEBioStudio.app/Contents/MacOS
10- scp pythonModule/* repo:~ /download
10+ find pythonModule/ | grep .dylib | xargs -I file scp file repo:~ /download
You can’t perform that action at this time.
0 commit comments