Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change CPP version for building carolina #39

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


4 changes: 2 additions & 2 deletions resources/BuildDarwinPG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 \|/)

Expand All @@ -19,7 +19,7 @@
#
# unset HOMEBREW_CC
# unset HOMEBREW_CXX
# brew install boost-python --c++11
# brew install boost-python --c++14
#
#
# INSTRUCTIONS
Expand Down
4 changes: 2 additions & 2 deletions resources/BuildDarwin_without_mpi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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++')
Expand Down