-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gmds build script updated with comment for macos
- Loading branch information
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#========================================== | ||
# First get a spack release | ||
# On macos v0.22.3 or v0.23 should be chosen (because of the system's python-3.12 version ?) | ||
git clone --depth=1 -b v0.22.2 https://github.com/spack/spack.git | ||
# git clone --depth=1 -b v0.23 https://github.com/spack/spack.git | ||
#========================================== | ||
# can be mandatory if you have already used spack on your computer | ||
# 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 | |
# you will probably want build_type=Debug or RelWithDebInfo. | ||
# Choose the variants you need, you can check them using `spack info gmds`. | ||
# The dev_path option does not seem to handle relative paths. | ||
spack install gmds+python+blocking+cgns dev_path=$PWD/gmds build_type=Debug ^cgns~mpi ^hdf5~mpi | ||
spack install gmds+python+blocking+cgns dev_path=$PWD/gmds build_type=Debug ^cgns~mpi ^hdf5~mpi ^[email protected] | ||
|
||
# On macos for the MCTS component : | ||
# 1. In the blocking component used for the MCTS the latest cgal-6.0.1 does not work, | ||
# cgal-5.6 should be installed instead | ||
# 2. the glib .pc interface file contains an incorrect rpath option; in the file | ||
# spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/glib-2.78.3-3vfyja7wiuk536ni2jpm6b2e2lv34s45//lib/pkgconfig/glib-2.0.pc | ||
# appears an option | ||
# -rpath=/home/legoffn/travail/gmds/build_20240904/spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/gettext-0.22.5-z3gxvfsrgp25buly2kju6ktqv73qk7aj/lib | ||
# where the '=' character is not recognized by the apple-clang linker; the comma ',' character should be used instead. | ||
# The compilation of gmds will fail; so replace the '=' character and launch 'spack install' again | ||
|
||
|
||
# to configure an IDE | ||
|