Skip to content

Commit

Permalink
[PMIx] Disable debug again (JuliaPackaging#3966)
Browse files Browse the repository at this point in the history
* [PMIx] add zlib

* disable debug
  • Loading branch information
vchuravy authored Nov 29, 2021
1 parent 9380612 commit 5379e78
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
22 changes: 17 additions & 5 deletions P/PMIx/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ cd pmix-*
--with-libevent=${prefix} \
--with-hwloc=${prefix} \
--without-tests-examples \
--disable-man-pages \
--enable-debug
--disable-man-pages
make -j${nproc}
make install
"""
Expand All @@ -37,19 +36,32 @@ platforms = [
Platform("x86_64", "linux"; libc = "musl"),
Platform("aarch64", "linux"; libc = "musl"),
Platform("armv7l", "linux"; call_abi = "eabihf", libc = "musl"),
Platform("x86_64", "macos"; )
Platform("x86_64", "macos"; ),
Platform("aarch64", "macos"; )
]

# TODO: Configure fails on Windows with:
```
checking for library containing event_config_new... no
checking for event_getcode4name in -levent... no
checking will libevent support be built... no
configure: WARNING: Either libevent or libev support is required, but neither
configure: WARNING: was found. Please use the configure options to point us
configure: WARNING: to where we can find one or the other library
configure: error: Cannot continue
```

# The products that we will ensure are always built
products = [
LibraryProduct("libpmix", :libpmix)
ExecutableProduct("pmix_info", :pmix_info)
]

# Dependencies that must be installed before this package can be built
dependencies = [
Dependency(PackageSpec(name="libevent_jll", uuid="1080aeaf-3a6a-583e-a51c-c537b09f60ec"))
Dependency(PackageSpec(name="Hwloc_jll", uuid="e33a78d0-f292-5ffc-b300-72abe9b543c8"))
Dependency(PackageSpec(name="libevent_jll", uuid="1080aeaf-3a6a-583e-a51c-c537b09f60ec")),
Dependency(PackageSpec(name="Hwloc_jll", uuid="e33a78d0-f292-5ffc-b300-72abe9b543c8")),
Dependency("Zlib_jll"),
]

# Build the tarballs, and possibly a `build.jl` as well.
Expand Down
6 changes: 4 additions & 2 deletions P/prrte/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ cd prte-*
--with-hwloc=${prefix} \
--with-pmix=${prefix} \
--without-tests-examples \
--disable-man-pages \
--enable-debug
--disable-man-pages
make -j${nproc}
make install
"""
Expand All @@ -45,6 +44,9 @@ platforms = [
# The products that we will ensure are always built
products = [
ExecutableProduct("prte", :prte)
ExecutableProduct("prun", :prun)
ExecutableProduct("prte_info", :prte_info)
ExecutableProduct("prterun", :prterun)
]

# Dependencies that must be installed before this package can be built
Expand Down

0 comments on commit 5379e78

Please sign in to comment.