Skip to content

Commit b1de58f

Browse files
authored
Merge pull request #78 from eunos-1128/master
2 parents 1dc3166 + 3df6add commit b1de58f

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

io.github.pemsley.coot.yaml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ modules:
3131
config-opts:
3232
- -DUSE_PYTHON=1
3333
- -DPYTHON_INSTALL_DIR=/app/lib/python3.12/site-packages
34+
build-options:
35+
cxxflags: "-fPIC -O2"
3436
sources:
3537
- type: git
3638
url: https://github.com/project-gemmi/gemmi.git
@@ -42,6 +44,8 @@ modules:
4244
- --enable-shared
4345
- --enable-float
4446
- --disable-static
47+
build-options:
48+
cflags: "-fPIC -O3"
4549
sources:
4650
- type: archive
4751
url: https://fftw.org/fftw-2.1.5.tar.gz
@@ -57,7 +61,7 @@ modules:
5761
- --enable-shared
5862
- --disable-static
5963
build-options:
60-
cxxflags: "-g -O2"
64+
cxxflags: "-g -O2 -fPIC -std=c++11"
6165
sources:
6266
- type: archive
6367
url: https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/dependencies/mmdb2-2.0.22.tar.gz
@@ -69,6 +73,9 @@ modules:
6973
- --enable-shared
7074
- --disable-static
7175
- --disable-fortran
76+
build-options:
77+
cflags: "-fPIC -O2"
78+
cxxflags: "-fPIC -O2"
7279
sources:
7380
- type: archive
7481
url: https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/dependencies/libccp4-8.0.0.tar.gz
@@ -85,7 +92,7 @@ modules:
8592
- --enable-shared
8693
- --disable-static
8794
build-options:
88-
cxxflags: "-g -O2 -fno-strict-aliasing -Wno-narrowing"
95+
cxxflags: "-g -O2 -fno-strict-aliasing -Wno-narrowing -fPIC -std=c++11"
8996
sources:
9097
- type: archive
9198
url: https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/dependencies/clipper-2.1.20180802.tar.gz
@@ -111,7 +118,7 @@ modules:
111118
- name: raster3d
112119
buildsystem: simple
113120
build-options:
114-
cxxflags: "-g -O2 -fno-strict-aliasing -Wno-narrowing"
121+
cxxflags: "-g -O2 -fno-strict-aliasing -Wno-narrowing -fPIC"
115122
build-commands:
116123
- make linux
117124
- make all
@@ -181,12 +188,13 @@ modules:
181188
buildsystem: cmake-ninja
182189
builddir: true
183190
config-opts:
184-
- -DDYNAMIC_ARCH=1
185-
- -DUSE_OPENMP=1
186-
- -DNUM_THREADS=56
187-
- -DNO_SVE=1
191+
- -DUSE_OPENMP=ON
192+
- -DNUM_THREADS=64
193+
- -DNO_SVE=ON
188194
- -DBUILD_SHARED_LIBS=ON
189195
- -DDYNAMIC_ARCH=ON
196+
build-options:
197+
cflags: "-fPIC -O3"
190198
post-install:
191199
- ln -s /app/lib/libopenblas.so /app/lib/libblas.so
192200
- ln -s /app/lib/libopenblas.so /app/lib/liblapack.so
@@ -201,6 +209,8 @@ modules:
201209
- --disable-debug
202210
- --disable-docs
203211
- --disable-dependency-tracking
212+
build-options:
213+
cflags: "-fPIC -O2"
204214
sources:
205215
- type: git
206216
url: https://github.com/ivmai/bdwgc
@@ -329,7 +339,7 @@ modules:
329339
- --with-backward
330340
- --with-libdw
331341
build-options:
332-
cxxflags: "-g -O1"
342+
cxxflags: "-g -O1 -fPIC"
333343
env:
334344
GLM_CFLAGS: "-I/app/include"
335345
GLM_LIBS: "-L/app/lib -lglm"

0 commit comments

Comments
 (0)