diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 19d97dcc9d..97800b3a9b 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,3 +1,5 @@ +boost: +- '1.78' c_compiler: - gcc c_compiler_version: diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml index 2d2360e2b3..f61f880be0 100644 --- a/.ci_support/osx_64_.yaml +++ b/.ci_support/osx_64_.yaml @@ -2,6 +2,8 @@ MACOSX_DEPLOYMENT_TARGET: - '11.1' MACOSX_SDK_VERSION: - '11.1' +boost: +- '1.78' c_compiler: - clang c_compiler_version: diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml index d4d60e7275..24940654a1 100644 --- a/.ci_support/osx_arm64_.yaml +++ b/.ci_support/osx_arm64_.yaml @@ -2,6 +2,8 @@ MACOSX_DEPLOYMENT_TARGET: - '11.1' MACOSX_SDK_VERSION: - '11.1' +boost: +- '1.78' c_compiler: - clang c_compiler_version: diff --git a/README.md b/README.md index 8a7756afb0..8a623bb6f6 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ installed and would like to build everything (not just sparta). * `conda install -c conda-forge yq` 1. Create a sparta conda development environment * `./scripts/create_conda_env.sh sparta dev` + * If the rendering fails (such as an unexpected error), try with + the safe enviroment: `conda env create -f + scripts/rendered_safe_environment.yaml` 1. Activate the environment * `conda activate sparta` 1. To build Sparta framework components: diff --git a/conda.recipe/conda_build_config.yaml b/conda.recipe/conda_build_config.yaml index c522448a75..91e134c23f 100644 --- a/conda.recipe/conda_build_config.yaml +++ b/conda.recipe/conda_build_config.yaml @@ -46,7 +46,8 @@ python: python_impl: - cpython - +boost: + - 1.78 # The remainder of the file is an example of how you can # specify multiple versions of compilers for each platform diff --git a/scripts/rendered_safe_environment.yaml b/scripts/rendered_safe_environment.yaml new file mode 100644 index 0000000000..0939fb4856 --- /dev/null +++ b/scripts/rendered_safe_environment.yaml @@ -0,0 +1,208 @@ +name: sparta +channels: + - conda-forge + - defaults +dependencies: + - _libgcc_mutex=0.1=conda_forge + - _openmp_mutex=4.5=2_gnu + - _sysroot_linux-64_curr_repodata_hack=3=h69a702a_16 + - adwaita-icon-theme=46.2=unix_0 + - alsa-lib=1.2.12=h4ab18f5_0 + - asttokens=2.4.1=pyhd8ed1ab_0 + - at-spi2-atk=2.38.0=h0630a04_3 + - at-spi2-core=2.40.3=h0630a04_0 + - atk-1.0=2.38.0=h04ea711_2 + - binutils_impl_linux-64=2.40=ha1999f0_7 + - binutils_linux-64=2.40=hb3c18ed_0 + - boost=1.78.0=py310hc4a4660_4 + - boost-cpp=1.78.0=h2c5509c_4 + - brotli=1.1.0=hd590300_1 + - brotli-bin=1.1.0=hd590300_1 + - bzip2=1.0.8=h4bc722e_7 + - c-ares=1.32.3=h4bc722e_0 + - ca-certificates=2024.7.4=hbcca054_0 + - cairo=1.18.0=hbb29018_2 + - certifi=2024.7.4=pyhd8ed1ab_0 + - clang=15.0.7=h39da44c_5 + - clang-15=15.0.7=default_h127d8a8_5 + - clangxx=15.0.7=default_h127d8a8_5 + - cmake=3.30.2=hf8c4bd3_0 + - contourpy=1.2.1=py310hd41b1e2_0 + - cppcheck=2.14.2=py310h5d8bd85_0 + - cycler=0.12.1=pyhd8ed1ab_0 + - cython=3.0.10=py310hc6cd4ac_0 + - dbus=1.13.6=h5008d03_3 + - decorator=5.1.1=pyhd8ed1ab_0 + - doxygen=1.10.0=h661eb56_0 + - epoxy=1.5.10=h166bdaf_1 + - exceptiongroup=1.2.2=pyhd8ed1ab_0 + - executing=2.0.1=pyhd8ed1ab_0 + - expat=2.6.2=h59595ed_0 + - font-ttf-dejavu-sans-mono=2.37=hab24e00_0 + - font-ttf-inconsolata=3.000=h77eed37_0 + - font-ttf-source-code-pro=2.038=h77eed37_0 + - font-ttf-ubuntu=0.83=h77eed37_2 + - fontconfig=2.14.2=h14ed4e7_0 + - fonts-conda-ecosystem=1=0 + - fonts-conda-forge=1=0 + - fonttools=4.53.1=py310h5b4e0ec_0 + - freetype=2.12.1=h267a509_2 + - fribidi=1.0.10=h36c2ea0_0 + - gcc_impl_linux-64=12.4.0=hb2e57f8_0 + - gcc_linux-64=12.4.0=h6b7512a_0 + - gdk-pixbuf=2.42.12=hb9ae30d_0 + - glib=2.80.3=h8a4344b_1 + - glib-tools=2.80.3=h73ef956_1 + - gmp=6.3.0=hac33072_2 + - graphite2=1.3.13=h59595ed_1003 + - gst-plugins-base=1.24.6=hbaaba92_0 + - gstreamer=1.24.6=haf2f30d_0 + - gtk3=3.24.43=h0359ba6_0 + - gxx_impl_linux-64=12.4.0=h557a472_0 + - gxx_linux-64=12.4.0=h8489865_0 + - harfbuzz=8.5.0=hfac3d4d_0 + - hdf5=1.14.3=nompi_hdf9ad27_105 + - hicolor-icon-theme=0.17=ha770c72_2 + - icu=73.2=h59595ed_0 + - ipython=8.26.0=pyh707e725_0 + - jedi=0.19.1=pyhd8ed1ab_0 + - kernel-headers_linux-64=3.10.0=h4a8ded7_16 + - keyutils=1.6.1=h166bdaf_0 + - kiwisolver=1.4.5=py310hd41b1e2_1 + - krb5=1.21.3=h659f571_0 + - lcms2=2.16=hb7c19ff_0 + - ld_impl_linux-64=2.40=hf3520f5_7 + - lerc=4.0.0=h27087fc_0 + - libaec=1.1.3=h59595ed_0 + - libblas=3.9.0=23_linux64_openblas + - libbrotlicommon=1.1.0=hd590300_1 + - libbrotlidec=1.1.0=hd590300_1 + - libbrotlienc=1.1.0=hd590300_1 + - libcblas=3.9.0=23_linux64_openblas + - libclang-cpp15=15.0.7=default_h127d8a8_5 + - libcups=2.3.3=h4637d8d_4 + - libcurl=8.9.1=hdb1bdb2_0 + - libdeflate=1.20=hd590300_0 + - libedit=3.1.20191231=he28a2e2_2 + - libev=4.33=hd590300_2 + - libexpat=2.6.2=h59595ed_0 + - libffi=3.4.2=h7f98852_5 + - libgcc-devel_linux-64=12.4.0=ha4f9413_100 + - libgcc-ng=14.1.0=h77fa898_0 + - libgfortran-ng=14.1.0=h69a702a_0 + - libgfortran5=14.1.0=hc5f4f2c_0 + - libglib=2.80.3=h8a4344b_1 + - libgomp=14.1.0=h77fa898_0 + - libiconv=1.17=hd590300_2 + - libjpeg-turbo=3.0.0=hd590300_1 + - liblapack=3.9.0=23_linux64_openblas + - libllvm15=15.0.7=hb3ce162_4 + - libnghttp2=1.58.0=h47da74e_1 + - libnsl=2.0.1=hd590300_0 + - libogg=1.3.5=h4ab18f5_0 + - libopenblas=0.3.27=pthreads_hac2b453_1 + - libopus=1.3.1=h7f98852_1 + - libpng=1.6.43=h2797004_0 + - librsvg=2.58.2=hf0cb8fb_0 + - libsanitizer=12.4.0=h46f95d5_0 + - libsqlite=3.46.0=hde9e2c9_0 + - libssh2=1.11.0=h0841786_0 + - libstdcxx-devel_linux-64=12.4.0=ha4f9413_100 + - libstdcxx-ng=14.1.0=hc0a3c3a_0 + - libtiff=4.6.0=h1dd3fc0_3 + - libuuid=2.38.1=h0b41bf4_0 + - libuv=1.48.0=hd590300_0 + - libvorbis=1.3.7=h9c3ff4c_0 + - libwebp-base=1.4.0=hd590300_0 + - libxcb=1.16=hd590300_0 + - libxcrypt=4.4.36=hd590300_1 + - libxkbcommon=1.7.0=h2c5496b_1 + - libxml2=2.12.7=h4c95cb1_3 + - libzlib=1.3.1=h4ab18f5_1 + - llvm-tools=15.0.7=hb3ce162_4 + - lz4-c=1.9.4=hcb278e6_0 + - make=4.3=hd18ef5c_1 + - matplotlib-base=3.8.4=py310hef631a5_2 + - matplotlib-inline=0.1.7=pyhd8ed1ab_0 + - mpfr=4.2.1=h38ae2d0_2 + - munkres=1.1.4=pyh9f0ad1d_0 + - ncurses=6.5=h59595ed_0 + - numpy=1.21.6=py310h45f3432_0 + - openjpeg=2.5.2=h488ebb8_0 + - openssl=3.3.1=h4bc722e_2 + - packaging=24.1=pyhd8ed1ab_0 + - pango=1.54.0=h84a9a3c_0 + - parso=0.8.4=pyhd8ed1ab_0 + - pcre=8.45=h9c3ff4c_0 + - pcre2=10.44=h0f59acf_0 + - pexpect=4.9.0=pyhd8ed1ab_0 + - pickleshare=0.7.5=py_1003 + - pillow=10.4.0=py310hebfe307_0 + - pip=24.2=pyhd8ed1ab_0 + - pixman=0.43.2=h59595ed_0 + - popt=1.16=h0b475e3_2002 + - prompt-toolkit=3.0.47=pyha770c72_0 + - pthread-stubs=0.4=h36c2ea0_1001 + - ptyprocess=0.7.0=pyhd3deb0d_0 + - pure_eval=0.2.3=pyhd8ed1ab_0 + - pygments=2.18.0=pyhd8ed1ab_0 + - pyparsing=3.1.2=pyhd8ed1ab_0 + - python=3.10.14=hd12c33a_0_cpython + - python-dateutil=2.9.0=pyhd8ed1ab_0 + - python_abi=3.10=4_cp310 + - pyyaml=6.0.1=py310h2372a71_1 + - rapidjson=1.1.0.post20240409=hac33072_1 + - readline=8.2=h8228510_1 + - rhash=1.4.4=hd590300_0 + - rsync=3.3.0=he6cb5fe_0 + - setuptools=72.1.0=pyhd8ed1ab_0 + - six=1.16.0=pyh6c4a22f_0 + - sqlite=3.46.0=h6d4b2fc_0 + - stack_data=0.6.2=pyhd8ed1ab_0 + - sysroot_linux-64=2.17=h4a8ded7_16 + - texlive-core=20230313=h14aa9ea_12 + - tinyxml2=10.0.0=h59595ed_0 + - tk=8.6.13=noxft_h4845f30_101 + - traitlets=5.14.3=pyhd8ed1ab_0 + - typing_extensions=4.12.2=pyha770c72_0 + - tzdata=2024a=h0c530f3_0 + - unicodedata2=15.1.0=py310h2372a71_0 + - wayland=1.23.0=h5291e77_0 + - wcwidth=0.2.13=pyhd8ed1ab_0 + - wheel=0.43.0=pyhd8ed1ab_1 + - wxpython=4.2.1=py310h809cb23_6 + - wxwidgets=3.2.5=h400ed56_1 + - xkeyboard-config=2.42=h4ab18f5_0 + - xorg-compositeproto=0.4.2=h7f98852_1001 + - xorg-damageproto=1.2.1=h7f98852_1002 + - xorg-fixesproto=5.0=h7f98852_1002 + - xorg-inputproto=2.3.2=h7f98852_1002 + - xorg-kbproto=1.0.7=h7f98852_1002 + - xorg-libice=1.1.1=hd590300_0 + - xorg-libsm=1.2.4=h7391055_0 + - xorg-libx11=1.8.9=hb711507_1 + - xorg-libxau=1.0.11=hd590300_0 + - xorg-libxcomposite=0.4.6=h0b41bf4_1 + - xorg-libxcursor=1.2.0=h0b41bf4_1 + - xorg-libxdamage=1.1.5=h7f98852_1 + - xorg-libxdmcp=1.1.3=h7f98852_0 + - xorg-libxext=1.3.4=h0b41bf4_2 + - xorg-libxfixes=5.0.3=h7f98852_1004 + - xorg-libxi=1.7.10=h4bc722e_1 + - xorg-libxinerama=1.1.5=h27087fc_0 + - xorg-libxrandr=1.5.2=h7f98852_1 + - xorg-libxrender=0.9.11=hd590300_0 + - xorg-libxtst=1.2.5=h4bc722e_0 + - xorg-libxxf86vm=1.1.5=h4bc722e_1 + - xorg-randrproto=1.5.0=h7f98852_1001 + - xorg-recordproto=1.14.2=h7f98852_1002 + - xorg-renderproto=0.11.1=h7f98852_1002 + - xorg-util-macros=1.19.3=h7f98852_0 + - xorg-xextproto=7.3.0=h0b41bf4_1003 + - xorg-xproto=7.0.31=h7f98852_1007 + - xxhash=0.8.2=hd590300_0 + - xz=5.2.6=h166bdaf_0 + - yaml=0.2.5=h7f98852_2 + - yaml-cpp=0.8.0=h59595ed_0 + - zlib=1.3.1=h4ab18f5_1 + - zstd=1.5.6=ha6fb4c9_0