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

Test GLIBC compatibility & Use GLIBC 2.28 w/Linux ARM #34

Merged
merged 20 commits into from
Jan 28, 2025

Conversation

conda-forge-admin
Copy link
Contributor

@conda-forge-admin conda-forge-admin commented Jan 27, 2025

  • Make top-level package name distinct (some reorg follows)
  • Use GLIBC 2.28 for Linux ARM builds
  • Use {{ stdlib("c") }} in the compilation test (and drop a related workaround)
  • Run check-glibc
  • Drop os_version (as this is sufficiently handled by the above changes)

Fixes #13

@conda-forge-admin
Copy link
Contributor Author

conda-forge-admin commented Jan 27, 2025

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13003589932. Examine the logs at this URL for more detail.

@conda-forge-admin conda-forge-admin marked this pull request as ready for review January 27, 2025 19:34
@conda-forge-admin conda-forge-admin requested review from a team as code owners January 27, 2025 19:34
@jakirkham jakirkham changed the title MNT: rerender Use GLIBC 2.28 w/Linux ARM Jan 27, 2025
@jakirkham jakirkham force-pushed the conda_forge_admin_13 branch from d8e397f to 3869b12 Compare January 27, 2025 20:18
@jakirkham
Copy link
Member

@conda-forge-admin , please re-render

conda-forge-webservices[bot] and others added 2 commits January 27, 2025 20:21
Rebuild now that Linux ARM uses GLIBC 2.28.
@jakirkham
Copy link
Member

@carterbox could you please review?

@jakirkham jakirkham mentioned this pull request Jan 27, 2025
@carterbox carterbox force-pushed the conda_forge_admin_13 branch from d64b7b1 to ae88637 Compare January 27, 2025 22:33
@carterbox
Copy link
Member

We're getting unexpected behavior because the top-level and first output are merged. i.e.

/home/conda/feedstock_root/build_artifacts/libcublas_1738017321092/work/conda_build.sh: line 7: check-glibc: command not found

@carterbox
Copy link
Member

Demerging those outputs causes(?) the tests for the -dev package to fail.

Since the top-level package name now is `libcublas-split`, we cannot use
`PKG_NAME` in the build script. So add a new variant `component_name` to
`conda_build_config.yaml` and use that throughout.
@jakirkham
Copy link
Member

@conda-forge-admin , please re-render

Comment on lines 35 to +38
else
# Put all other files in targetsDir
mkdir -p ${PREFIX}/${targetsDir}/${PKG_NAME}
cp -rv $i ${PREFIX}/${targetsDir}/${PKG_NAME}
mkdir -p ${PREFIX}/${targetsDir}/${component_name}
cp -rv $i ${PREFIX}/${targetsDir}/${component_name}
Copy link
Member

Choose a reason for hiding this comment

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

We were relying on the PKG_NAME to add some extra bits here. However now they go in libcublas-split (given that is when this build script runs

Have tried to address this here by creating a new variant/variable to handle this install location

conda-forge-webservices[bot] and others added 2 commits January 28, 2025 03:19
@jakirkham
Copy link
Member

@conda-forge-admin , please re-render

Stick to a unique variable name instead of clobbering the conda-build
value. This is clearer long term.
@jakirkham
Copy link
Member

@conda-forge-admin , please re-render

@conda-forge-admin
Copy link
Contributor Author

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13003174999. Examine the logs at this URL for more detail.

Comment on lines +3 to +4
# Run GLIBC check
check-glibc bin/* lib/*.so.* lib64/*.so.*
Copy link
Member

Choose a reason for hiding this comment

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

Is this ok for a check? Or do we need to do anything additional here?

Copy link
Member

Choose a reason for hiding this comment

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

LGTM

The `RECIPE_ROOT` variable was not set after moving the tests into the
package name. However this is not needed anyways as we already instruct
`conda-build` to copy the test file into the test directory. So it
should already be in the current working directory. Given this, just
drop it.
This fixes an issue where the GLIBC 2.17 sysroot would otherwise be
pulled in.
@jakirkham
Copy link
Member

@conda-forge-admin , please re-render

@conda-forge-admin
Copy link
Contributor Author

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13003456521. Examine the logs at this URL for more detail.

@jakirkham jakirkham requested a review from carterbox January 28, 2025 04:26
@jakirkham jakirkham changed the title Use GLIBC 2.28 w/Linux ARM Test GLIBC compatibility & Use GLIBC 2.28 w/Linux ARM Jan 28, 2025
Copy link
Member

@carterbox carterbox left a comment

Choose a reason for hiding this comment

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

@jakirkham
Copy link
Member

Thanks Daniel! 🙏

Yep these are not new warnings. For example we see the same thing on main

@jakirkham jakirkham merged commit be9bb52 into conda-forge:main Jan 28, 2025
6 checks passed
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.

libcublas on aarch64 requires glibc 2.27
3 participants