Skip to content

Commit 75a71e7

Browse files
committed
gmds build script updated with comment for macos
1 parent e5c2b7e commit 75a71e7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

build_spack_gmds.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#==========================================
22
# 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 ?)
34
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
46
#==========================================
57
# can be mandatory if you have already used spack on your computer
68
# delete the .spack directory in the home of the user in order to
@@ -60,7 +62,17 @@ git clone [email protected]:LIHPC-Computational-Geometry/gmds.git
6062
# you will probably want build_type=Debug or RelWithDebInfo.
6163
# Choose the variants you need, you can check them using `spack info gmds`.
6264
# 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
6476

6577

6678
# to configure an IDE

0 commit comments

Comments
 (0)