-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[intel-mkl] Overhaul, install osx #30483
Conversation
Looks okay with arrayfire and coin-or-ipopt building successfully. |
Hmm looks like I didn't adjust |
@dg0yt is it possible to extract the dmg file using 7zip? |
Even though I wasn't asked I already established in the original PR that it is possible. The problem however is to bring the posix variant of of 7zip into vcpkg since the team still has not decided on how to bring tools into vcpkg. |
Personally, I would add it to |
I am against that due to abi_info: changing |
:sigh: I'm working on it: I think the medium term solution for compressors and decompressors will be via
I'm shopping this around with other maintainers this week. |
We didn't get a chance to talk about the tool ports in today's maintainer meeting, ran out of time. Will probably get a go/no go on my concrete spec proposal on Thursday. My current WIP proposal: The Future of Tools in vcpkg.docx TL;DR: Unless there's a reason to do otherwise, => tool ports. Reasons to do otherwise:
Under these rules most of the things @Neumann-A has tried to submit as tool ports qualify as OK but not vcpkg-tool-7zip. But I have not gotten feedback from other maintainers yet. |
I would continue with adding 7z for osx when #30780 finds support. |
You don't expect us to have access to that, right? |
They should be just attached docs? If you can't open word docs with libreoffice or similar I don't know if I can do much... our bosses and boss like entities run on Office |
Let me try again: |
My comments; TL;DR: just small comments; It all depends on how you are going to spec Also |
The answer is no ATM.
|
I looked at the 7zip source code: Both DMG and APFS source file start with This leaves two options for intel-mkl:x64-osx
|
This has become a little bit more than just osx install:
W.r.t. to osx
If there is still reluctance to accept this into the repo, we should either disable it temporarily and/or add an evironment variable to enable the use of hdiutil. |
Hi @dg0yt, I have a couple of questions regarding the hdiutil script.
Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags. |
Yes. This is the only mode I test. (To be clear: A user that can use xcode.)
If something interrups the script after attaching, the image will remain attached. Note that this must be a forceful interruption. Running out of disk space during copying isn't enough. Unmounting will also be attempted if copying fails. This is the whole point of using The user can detach the image with hdiutil or with a single click in Finder (the counterpart of Windows Explorer). I verified that it is not remounted on reboot.
Yes. I verified that I can mount to a directory created with |
From a concurrency safety standpoint, would it make sense to let the mount point be a unique temp directory? |
I don't know but there is a reason why I made the test with |
Ok, the PR looks good to me, pending the change to a unique temp directory for the mount point. Moving the PR to draft. Please set it to "ready for review" once changes have been applied. |
Uses hdiutil to attach/detach the dmg. I'm unsure if we should try hard to always detach to avoid CI problems.
Intentionally putting osx libs into
lib/intel64
as on linux because it plays well with cmake BLAS find/ignore setup.Update: #30483 (comment)
./vcpkg x-add-version --all
and committing the result.