Skip to content

Commit 83dc12d

Browse files
Added Conda Environment Yaml for MacOS (#210)
I have never been able to successfully build the Olympia Conda environment on my Mac, so I'm checking in a yaml that works for me. It's derived from the Sparta Conda environment with some modifications (i.e. removing version specifications from a few libraries like boost).
1 parent 1f6f187 commit 83dc12d

File tree

2 files changed

+228
-4
lines changed

2 files changed

+228
-4
lines changed

conda/README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ If `conda` is not already set up or the preference is to have a local
1313

1414
## Create a New Environment or Update Existing Conda Environment
1515

16-
** If these steps do no work, follow the directions on
17-
[Map/Sparta](https://github.com/sparcians/map/tree/master#building-map)
18-
instead **
16+
**If these steps do no work, follow the directions on
17+
[Map/Sparta](https://github.com/sparcians/map/tree/master#building-map)
18+
instead**
1919

2020
A new environment can be created using `environment.yaml` file as follows:
2121

@@ -31,4 +31,8 @@ If an environment named `riscv_perf_model` exists, it can be updated as follows:
3131
conda env update --file environment.yml --prune
3232
```
3333

34-
Thw file `environment_from_history.yml` provides a minimal specification, in case, there is a need to build the conda environment from scratch.
34+
The file `environment_for_macos.yml` provides an alternative specification if encountering problems
35+
while building the conda environement for macOS.
36+
37+
The file `environment_from_history.yml` provides a minimal specification, in case, there is a need
38+
to build the conda environment from scratch.

conda/environment_for_macos.yml

+220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
name: riscv_perf_model
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- asttokens=2.4.1=pyhd8ed1ab_0
6+
- bison>=3.8
7+
- boost-cpp
8+
- brotli-bin=1.1.0=h00291cd_2
9+
- brotli-python=1.1.0=py310h53e7c6a_2
10+
- brotli=1.1.0=h00291cd_2
11+
- bzip2=1.0.8=hfdf4475_7
12+
- bzip2=1.0.8=hfdf4475_7
13+
- c-ares=1.33.1=h44e7173_0
14+
- c-ares=1.33.1=h44e7173_0
15+
- ca-certificates=2024.8.30=h8857fd0_0
16+
- ca-certificates=2024.8.30=h8857fd0_0
17+
- cairo=1.18.0=h9f650ed_2
18+
- cctools_osx-64=1010.6=h98e843e_1
19+
- cctools_osx-64=1010.6=h98e843e_1
20+
- certifi=2024.8.30=pyhd8ed1ab_0
21+
- cffi=1.17.1=py310hfce808e_0
22+
- charset-normalizer=3.3.2=pyhd8ed1ab_0
23+
- clang-17=17.0.6=default_hb173f14_6
24+
- clang-17=17.0.6=default_hb173f14_6
25+
- clang=17.0.6=default_he371ed4_6
26+
- clang=17.0.6=default_he371ed4_6
27+
- clang_impl_osx-64=17.0.6=h1af8efd_19
28+
- clang_impl_osx-64=17.0.6=h1af8efd_19
29+
- clang_osx-64=17.0.6=hb91bd55_19
30+
- clang_osx-64=17.0.6=hb91bd55_19
31+
- clangxx=17.0.6=default_he371ed4_6
32+
- clangxx=17.0.6=default_he371ed4_6
33+
- clangxx_impl_osx-64=17.0.6=hc3430b7_19
34+
- clangxx_impl_osx-64=17.0.6=hc3430b7_19
35+
- clangxx_osx-64=17.0.6=hb91bd55_19
36+
- clangxx_osx-64=17.0.6=hb91bd55_19
37+
- cmake=3.30.3=h7243fc2_0
38+
- compiler-rt=17.0.6=h1020d70_2
39+
- compiler-rt=17.0.6=h1020d70_2
40+
- compiler-rt_osx-64=17.0.6=hf2b8a54_2
41+
- compiler-rt_osx-64=17.0.6=hf2b8a54_2
42+
- contourpy=1.2.1=py310hb3b189b_0
43+
- cppcheck=2.15.0=py310h86d0328_1
44+
- cycler=0.12.1=pyhd8ed1ab_0
45+
- cython=3.0.11=py310h53e7c6a_2
46+
- decorator=5.1.1=pyhd8ed1ab_0
47+
- doxygen=1.10.0=h5ff76d1_0
48+
- exceptiongroup=1.2.2=pyhd8ed1ab_0
49+
- executing=2.1.0=pyhd8ed1ab_0
50+
- expat=2.6.3=hac325c4_0
51+
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
52+
- font-ttf-inconsolata=3.000=h77eed37_0
53+
- font-ttf-source-code-pro=2.038=h77eed37_0
54+
- font-ttf-ubuntu=0.83=h77eed37_2
55+
- fontconfig=2.14.2=h5bb23bf_0
56+
- fonts-conda-ecosystem=1=0
57+
- fonts-conda-forge=1=0
58+
- fonttools=4.53.1=py310h837254d_1
59+
- freetype=2.12.1=h60636b9_2
60+
- gettext-tools=0.22.5=hdfe23c8_3
61+
- gettext=0.22.5=hdfe23c8_3
62+
- gmp=6.3.0=hf036a51_2
63+
- graphite2=1.3.13=h73e2aa4_1003
64+
- h2=4.1.0=pyhd8ed1ab_0
65+
- harfbuzz=8.5.0=h053f038_0
66+
- hdf5=1.14.3=nompi_h687a608_105
67+
- hpack=4.0.0=pyh9f0ad1d_0
68+
- hyperframe=6.0.1=pyhd8ed1ab_0
69+
- icu
70+
- idna=3.10=pyhd8ed1ab_0
71+
- ipython=8.27.0=pyh707e725_0
72+
- jedi=0.19.1=pyhd8ed1ab_0
73+
- kiwisolver=1.4.7=py310hfa8da69_0
74+
- krb5=1.21.3=h37d8d59_0
75+
- krb5=1.21.3=h37d8d59_0
76+
- lcms2=2.16=ha2f27b4_0
77+
- ld64_osx-64=951.9=h38c89e5_1
78+
- ld64_osx-64=951.9=h38c89e5_1
79+
- lerc=4.0.0=hb486fe8_0
80+
- libaec=1.1.3=h73e2aa4_0
81+
- libasprintf-devel=0.22.5=hdfe23c8_3
82+
- libasprintf=0.22.5=hdfe23c8_3
83+
- libblas=3.9.0=22_osx64_openblas
84+
- libboost-devel
85+
- libboost-headers
86+
- libboost
87+
- libbrotlicommon=1.1.0=h00291cd_2
88+
- libbrotlidec=1.1.0=h00291cd_2
89+
- libbrotlienc=1.1.0=h00291cd_2
90+
- libcblas=3.9.0=22_osx64_openblas
91+
- libclang-cpp17=17.0.6=default_hb173f14_6
92+
- libclang-cpp17=17.0.6=default_hb173f14_6
93+
- libcurl=8.10.1=h58e7537_0
94+
- libcurl=8.10.1=h58e7537_0
95+
- libcxx-devel=19.1.0=h7c275be_0
96+
- libcxx-devel=19.1.0=h7c275be_0
97+
- libcxx=19.1.0=hf95d169_0
98+
- libcxx=19.1.0=hf95d169_0
99+
- libdeflate=1.21=hfdf4475_0
100+
- libedit=3.1.20191231=h0678c8f_2
101+
- libedit=3.1.20191231=h0678c8f_2
102+
- libev=4.33=h10d778d_2
103+
- libev=4.33=h10d778d_2
104+
- libexpat=2.6.3=hac325c4_0
105+
- libffi=3.4.2=h0d85af4_5
106+
- libffi=3.4.2=h0d85af4_5
107+
- libgettextpo-devel=0.22.5=hdfe23c8_3
108+
- libgettextpo=0.22.5=hdfe23c8_3
109+
- libgfortran5=13.2.0=h2873a65_3
110+
- libgfortran5=13.2.0=h2873a65_3
111+
- libgfortran=5.0.0=13_2_0_h97931a8_3
112+
- libgfortran=5.0.0=13_2_0_h97931a8_3
113+
- libglib=2.80.2=h0f68cf7_0
114+
- libiconv=1.17=hd75f5a5_2
115+
- libiconv=1.17=hd75f5a5_2
116+
- libintl-devel=0.22.5=hdfe23c8_3
117+
- libintl=0.22.5=hdfe23c8_3
118+
- libjpeg-turbo=3.0.0=h0dc2134_1
119+
- liblapack=3.9.0=22_osx64_openblas
120+
- libllvm17=17.0.6=hbedff68_1
121+
- libllvm17=17.0.6=hbedff68_1
122+
- libnghttp2=1.58.0=h64cf6d3_1
123+
- libnghttp2=1.58.0=h64cf6d3_1
124+
- libopenblas=0.3.27=openmp_h8869122_1
125+
- libpng=1.6.44=h4b8f8c9_0
126+
- libsqlite=3.46.1=h4b8f8c9_0
127+
- libsqlite=3.46.1=h4b8f8c9_0
128+
- libssh2=1.11.0=hd019ec5_0
129+
- libssh2=1.11.0=hd019ec5_0
130+
- libtiff=4.7.0=h5f227bf_0
131+
- libuv=1.48.0=h67532ce_0
132+
- libwebp-base=1.4.0=h10d778d_0
133+
- libxcb=1.16=h00291cd_1
134+
- libxml2
135+
- libzlib=1.3.1=h87427d6_1
136+
- libzlib=1.3.1=h87427d6_1
137+
- llvm-openmp=18.1.8=h15ab845_1
138+
- llvm-openmp=18.1.8=h15ab845_1
139+
- llvm-tools=17.0.6=hbedff68_1
140+
- llvm-tools=17.0.6=hbedff68_1
141+
- lz4-c=1.9.4=hf0c8a7f_0
142+
- make=4.4.1=h00291cd_1
143+
- matplotlib-base=3.8.4=py310h7ea1ff3_2
144+
- matplotlib-inline=0.1.7=pyhd8ed1ab_0
145+
- mpfr=4.2.1=haed47dc_3
146+
- munkres=1.1.4=pyh9f0ad1d_0
147+
- ncurses=6.5=hf036a51_1
148+
- ncurses=6.5=hf036a51_1
149+
- numpy=1.21.6=py310hb608527_0
150+
- openjpeg=2.5.2=h7310d3a_0
151+
- openssl=3.3.2=hd23fc13_0
152+
- openssl=3.3.2=hd23fc13_0
153+
- packaging=24.1=pyhd8ed1ab_0
154+
- parso=0.8.4=pyhd8ed1ab_0
155+
- pathlib2=2.3.7.post1=py310h2ec42d9_4
156+
- pcre2=10.43=h0ad2156_0
157+
- pcre=8.45=he49afe7_0
158+
- pexpect=4.9.0=pyhd8ed1ab_0
159+
- pickleshare=0.7.5=py_1003
160+
- pillow=10.4.0=py310h4e5c94f_1
161+
- pip=24.2=pyh8b19718_1
162+
- pip=24.2=pyh8b19718_1
163+
- pixman=0.43.4=h73e2aa4_0
164+
- popt=1.16=h7b079dc_2002
165+
- prompt-toolkit=3.0.47=pyha770c72_0
166+
- pthread-stubs=0.4=h00291cd_1002
167+
- ptyprocess=0.7.0=pyhd3deb0d_0
168+
- pure_eval=0.2.3=pyhd8ed1ab_0
169+
- pycparser=2.22=pyhd8ed1ab_0
170+
- pygments=2.18.0=pyhd8ed1ab_0
171+
- pyparsing=3.1.4=pyhd8ed1ab_0
172+
- pypubsub=4.0.3=py_0
173+
- pysocks=1.7.1=pyha2e5f31_6
174+
- python-dateutil=2.9.0=pyhd8ed1ab_0
175+
- python.app=1.4=py310h6729b98_3
176+
- python=3.10.15=h6bafeb6_0_cpython
177+
- python=3.10.15=h6bafeb6_0_cpython
178+
- python_abi=3.10=5_cp310
179+
- pyyaml=6.0.2=py310h837254d_1
180+
- rapidjson=1.1.0.post20240409=hf036a51_1
181+
- readline=8.2=h9e318b2_1
182+
- readline=8.2=h9e318b2_1
183+
- requests=2.32.3=pyhd8ed1ab_0
184+
- rhash=1.4.4=h0dc2134_0
185+
- rsync=3.3.0=h5aaac6a_0
186+
- setuptools=74.1.2=pyhd8ed1ab_0
187+
- setuptools=74.1.2=pyhd8ed1ab_0
188+
- sigtool=0.1.3=h88f4db0_0
189+
- sigtool=0.1.3=h88f4db0_0
190+
- six=1.16.0=pyh6c4a22f_0
191+
- sqlite=3.46.1=he26b093_0
192+
- stack_data=0.6.2=pyhd8ed1ab_0
193+
- tapi=1300.6.5=h390ca13_0
194+
- tapi=1300.6.5=h390ca13_0
195+
- texlive-core=20230313=hb35b1a5_12
196+
- tinyxml2=10.0.0=h73e2aa4_0
197+
- tk=8.6.13=h1abcd95_1
198+
- tk=8.6.13=h1abcd95_1
199+
- traitlets=5.14.3=pyhd8ed1ab_0
200+
- typing_extensions=4.12.2=pyha770c72_0
201+
- tzdata=2024a=h8827d51_1
202+
- tzdata=2024a=h8827d51_1
203+
- unicodedata2=15.1.0=py310h6729b98_0
204+
- urllib3=2.2.3=pyhd8ed1ab_0
205+
- wcwidth=0.2.13=pyhd8ed1ab_0
206+
- wheel=0.44.0=pyhd8ed1ab_0
207+
- wheel=0.44.0=pyhd8ed1ab_0
208+
- wxpython=4.2.1=py310h2693ab4_5
209+
- xorg-libxau=1.0.11=h0dc2134_0
210+
- xorg-libxdmcp=1.1.3=h35c211d_0
211+
- xxhash=0.8.2=h4140336_0
212+
- xz=5.2.6=h775f41a_0
213+
- xz=5.2.6=h775f41a_0
214+
- yaml-cpp=0.8.0=he965462_0
215+
- yaml=0.2.5=h0d85af4_2
216+
- zlib=1.3.1=h87427d6_1
217+
- zlib=1.3.1=h87427d6_1
218+
- zstandard=0.23.0=py310h41d873f_1
219+
- zstd=1.5.6=h915ae27_0
220+
- zstd=1.5.6=h915ae27_0

0 commit comments

Comments
 (0)