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

noaa-gfdl::fre-nctools conda package for MacOS #315

Closed
ilaflott opened this issue Sep 27, 2024 · 9 comments
Closed

noaa-gfdl::fre-nctools conda package for MacOS #315

ilaflott opened this issue Sep 27, 2024 · 9 comments

Comments

@ilaflott
Copy link
Member

Is your feature request related to a problem? Please describe.
no, this is a low-priority, nice-to-have

Describe the solution you'd like
i've enjoyed using conda-installed noaa-gfdl::fre-nctools on linux, and i'd love to play with a MacOS version on my laptop locally with fre-cli and catalogbuilder in the mix too.

Describe alternatives you've considered

Additional context
M3 chip

@mlee03
Copy link
Contributor

mlee03 commented Jan 29, 2025

@ilaflott, should we still keep this issue open?

@HansVahlenkamp
Copy link
Contributor

Just curious, do you mean building with Apple's Xcode or a third-party software environment such as MacPorts?

@ilaflott
Copy link
Member Author

ilaflott commented Jan 29, 2025

@mlee03 let's keep this open for now

@HansVahlenkamp command-line based DevelperTools which is an XCode based package... i haven't ever had excellent luck with MacPorts apps in the past, but admittedly it's been almost a decade since i bothered with MacPorts emacs so... is either easier as an approach over the other?

@ilaflott
Copy link
Member Author

ilaflott commented Jan 29, 2025

wait- now that i look closer at the repo, where is the recipe for the current conda package up on the channel? is that not committed or documented anywhere?

@ceblanton @underwoo i'm confused! am i misunderstanding something about FRENCtools approach to conda packaging?

EDIT: issue #224/ PR #225

@HansVahlenkamp
Copy link
Contributor

I have used both Xcode and MacPorts, but I have not tried to build the GFDL packages with them. However, MacPorts does provide an enormous amount of third-party packages which might help to simplify the build process. Maybe worth testing...

@ilaflott
Copy link
Member Author

from discussion in #225, it seems the intention for the conda recipe in FRE-NCtools was to put it in a separate, "feed-stock" style repository ala conda-forge, but we haven't done this and I doubt anyone is on the cusp of thinking about making it happen at this point. Currently, the FRE-NCtools being used in fre-cli is 2022.02.01, and i'm guessing the latest and greatest PRs merged into FRE-NCtools have not been tested against conda build .

@mlee03
Copy link
Contributor

mlee03 commented Jan 29, 2025

I am confused about conda packaging FRE-NCTools since FRE-NCTools is not in python

@ilaflott
Copy link
Member Author

ilaflott commented Jan 29, 2025

fair, a lot of conda packages we currently have are for python packages. But- conda does more than just python- you have to give it a build.sh script, or equivalently those commands under the build: key in meta.yaml.

from #225 - all @ceblanton's minimal edits work very well for fre-cli, link to those changes

EDIT: i recently did a mkmf conda package, and mkmf is basically just three scripts in either perl or shell: https://github.com/NOAA-GFDL/mkmf/pulls

@ilaflott ilaflott changed the title noaa-gfdl::fre-nctools conda package for MacOS noaa-gfdl::fre-nctools conda package ~~for MacOS~~ Jan 30, 2025
@ilaflott ilaflott changed the title noaa-gfdl::fre-nctools conda package ~~for MacOS~~ noaa-gfdl::fre-nctools conda package ~for MacOS~ Jan 30, 2025
@ilaflott ilaflott changed the title noaa-gfdl::fre-nctools conda package ~for MacOS~ noaa-gfdl::fre-nctools conda package for MacOS Jan 30, 2025
@ilaflott
Copy link
Member Author

OK so at this point, since fre-cli sees fre-nctools as a conda-package dependency, and that conda packaging hasn't been committed to main, I'm going to re-boot that effort for fre-cli's sake and leave a MacOS based package for later.

closing as superceded by #347

@ilaflott ilaflott closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants