|
1 | 1 | #========================================== |
2 | 2 | # First get a spack release |
| 3 | +# On macos v0.22.3 or v0.23 should be chosen (because of the system's python-3.12 version ?) |
3 | 4 | git clone --depth=1 -b v0.22.2 https://github.com/spack/spack.git |
| 5 | +# git clone --depth=1 -b v0.23 https://github.com/spack/spack.git |
4 | 6 | #========================================== |
5 | 7 | # can be mandatory if you have already used spack on your computer |
6 | 8 | # delete the .spack directory in the home of the user in order to |
|
60 | 62 | # you will probably want build_type=Debug or RelWithDebInfo. |
61 | 63 | # Choose the variants you need, you can check them using `spack info gmds`. |
62 | 64 | # The dev_path option does not seem to handle relative paths. |
63 | | -spack install gmds+python+blocking+cgns dev_path=$PWD/gmds build_type=Debug ^cgns~mpi ^hdf5~mpi |
| 65 | +spack install gmds+python+blocking+cgns dev_path= $PWD/gmds build_type=Debug ^cgns~mpi ^hdf5~mpi ^ [email protected] |
| 66 | + |
| 67 | +# On macos for the MCTS component : |
| 68 | +# 1. In the blocking component used for the MCTS the latest cgal-6.0.1 does not work, |
| 69 | +# cgal-5.6 should be installed instead |
| 70 | +# 2. the glib .pc interface file contains an incorrect rpath option; in the file |
| 71 | +# spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/glib-2.78.3-3vfyja7wiuk536ni2jpm6b2e2lv34s45//lib/pkgconfig/glib-2.0.pc |
| 72 | +# appears an option |
| 73 | +# -rpath=/home/legoffn/travail/gmds/build_20240904/spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/gettext-0.22.5-z3gxvfsrgp25buly2kju6ktqv73qk7aj/lib |
| 74 | +# where the '=' character is not recognized by the apple-clang linker; the comma ',' character should be used instead. |
| 75 | +# The compilation of gmds will fail; so replace the '=' character and launch 'spack install' again |
64 | 76 |
|
65 | 77 |
|
66 | 78 | # to configure an IDE |
|
0 commit comments