diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index fea281d1..3c22a072 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -109,3 +109,20 @@ jobs: export PATH=${PATH}:${HOME}/local/bin export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/local/lib python -m pytest + + binaries: + name: "Create Artifact" + needs: tests + if: ${{ always() && needs.tests.result != 'failed' }} + runs-on: ubuntu-22.04 + strategy: + fail-fast: false + matrix: + python-version: ["3.10"] + steps: + - uses: actions/upload-artifact@v3 + with: + name: modified-dakota + path: local/dakota-${{ env.DAKOTA_VERSION }}.tar.gz + + diff --git a/resources/BuildDarwinPG.cmake b/resources/BuildDarwinPG.cmake index 5cd7c11d..51dfe4d6 100644 --- a/resources/BuildDarwinPG.cmake +++ b/resources/BuildDarwinPG.cmake @@ -9,7 +9,7 @@ # brew install gcc --without-multilib # export HOMEBREW_CC=gcc-5 (DAKOTA is not clang compatable) # export HOMEBREW_CXX=g++-5 -# brew install boost --c++11 --with-mpi --withput-single (`brew edit boost` -> layout=system) +# brew install boost --c++14 --with-mpi --withput-single (`brew edit boost` -> layout=system) # brew install lapack | # brew install openmotif (if this formula is still not available you can use the one I found \|/) @@ -19,7 +19,7 @@ # # unset HOMEBREW_CC # unset HOMEBREW_CXX -# brew install boost-python --c++11 +# brew install boost-python --c++14 # # # INSTRUCTIONS diff --git a/resources/BuildDarwin_without_mpi.cmake b/resources/BuildDarwin_without_mpi.cmake index fb7c4ef7..b1ef96eb 100644 --- a/resources/BuildDarwin_without_mpi.cmake +++ b/resources/BuildDarwin_without_mpi.cmake @@ -9,8 +9,8 @@ # brew install gcc --without-multilib # export HOMEBREW_CC=gcc-5 # export HOMEBREW_CXX=g++-5 -# brew install boost --c++11 --without-single (change layout=system) -# brew install boost-python --c++11 +# brew install boost --c++14 --without-single (change layout=system) +# brew install boost-python --c++14 # # INSTRUCTIONS # ------------ diff --git a/setup.py b/setup.py index 1f223a74..df9b3843 100755 --- a/setup.py +++ b/setup.py @@ -154,7 +154,7 @@ def get_carolina_extension(): include_dirs=include_dirs, define_macros=define_macros, extra_link_args=['-Wl,-z origin'], - extra_compile_args=['-std=c++11'], + extra_compile_args=['-std=c++14'], library_dirs=library_dirs, libraries=libraries, language='c++')