Skip to content

Commit 3603cae

Browse files
authored
Add ppc64le support to setup.py (#214)
1 parent 0b9a2be commit 3603cae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ def build_libcharm(charm_src_dir, build_dir):
140140
cmd = './build charm4py netlrts-linux-arm8 tcp -j' + str(build_num_cores) + ' --with-production ' + extra_build_opts
141141
else:
142142
cmd = './build charm4py netlrts-linux-arm7 tcp -j' + str(build_num_cores) + ' --with-production ' + extra_build_opts
143+
elif arch == "ppc64le":
144+
if build_mpi:
145+
cmd = './build charm4py mpi-linux-ppc64le -j' + str(build_num_cores) + ' --with-production ' + extra_build_opts
146+
else:
147+
cmd = './build charm4py netlrts-linux-ppc64le tcp -j' + str(build_num_cores) + ' --with-production ' + extra_build_opts
143148
else:
144149
if build_mpi:
145150
cmd = './build charm4py mpi-linux-x86_64 -j' + str(build_num_cores) + ' --with-production ' + extra_build_opts

0 commit comments

Comments
 (0)