Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for libssh 0.10.6 #7903

Merged
merged 4 commits into from
Jan 5, 2024
Merged

Conversation

JamesWrigley
Copy link
Contributor

Package for https://www.libssh.org.

Some oddities:

  • This has an extra FileProduct for the Doxygen tag file (useful when generating docs)
  • GSSAPI support is only enabled on Linux and freebsd because our Kerberos is only built for those platforms. This causes some warnings on OSX/windows about the dependency not having a product, but I think they can be safely ignored since the library won't try to use it anyway.
  • Windows builds show this warning: Minimum instruction set detected for bin/libssh.dll is avx2, not x86_64 as desired. I've looked through the code to try to see where those instructions might be coming from but didn't find anything. Not sure how serious it is.

L/libssh/build_tarballs.jl Outdated Show resolved Hide resolved
L/libssh/build_tarballs.jl Outdated Show resolved Hide resolved
L/libssh/build_tarballs.jl Outdated Show resolved Hide resolved
L/libssh/build_tarballs.jl Outdated Show resolved Hide resolved
L/libssh/build_tarballs.jl Outdated Show resolved Hide resolved
# Bash recipe for building across all platforms
script = raw"""
# Necessary for cmake to find openssl on Windows
if [[ ${target} == *w64* ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest w64 is a bit obscure, I think

Suggested change
if [[ ${target} == *w64* ]]; then
if [[ ${target} == x86_64-*-mingw* ]]; then

would be slightly clearer: the architecture and the runtime parts of the triple are clearly spelled out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, fixed in 52ccbf4.

HostBuildDependency("Doxygen_jll"),
Dependency("Kerberos_krb5_jll"; compat="1.19.3"),
Dependency(PackageSpec(name="OpenSSL_jll", uuid="458c3c95-2e84-50aa-8efc-19380b2a3a95"); compat="3.0.8"),
Dependency(PackageSpec(name="Zlib_jll", uuid="83775a58-1f1d-513f-b197-d71354ab007a"); compat="1.2.13")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't be installable in Julia v1.6: https://github.com/JuliaLang/julia/blob/v1.6.0/stdlib/Zlib_jll/Project.toml#L3

Suggested change
Dependency(PackageSpec(name="Zlib_jll", uuid="83775a58-1f1d-513f-b197-d71354ab007a"); compat="1.2.13")
Dependency(PackageSpec(name="Zlib_jll", uuid="83775a58-1f1d-513f-b197-d71354ab007a"); compat="1.2.12")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 822cc46.

@giordano giordano merged commit b81a19d into JuliaPackaging:master Jan 5, 2024
19 checks passed
@JamesWrigley
Copy link
Contributor Author

Many thanks for the help ❤️

@JamesWrigley JamesWrigley deleted the libssh branch January 5, 2024 21:30
MichelJuillard pushed a commit to MichelJuillard/Yggdrasil that referenced this pull request Jan 8, 2024
* Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6
grasph pushed a commit to Moelf/Yggdrasil that referenced this pull request Jul 1, 2024
* Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6

* fixup! Add recipe for libssh 0.10.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants