stevedlawrence commented on code in PR #1210:
URL: https://github.com/apache/daffodil/pull/1210#discussion_r1560007580


##########
.github/workflows/main.yml:
##########
@@ -102,7 +102,10 @@ jobs:
 
       - name: Install Dependencies (macOS)
         if: runner.os == 'macOS'
-        run: brew install libmxml
+        run: |
+          brew tap-new local/libmxml
+          brew extract --version 3.3.1 libmxml local/libmxml
+          brew install [email protected]

Review Comment:
   Yeah, I found that the normal @xyz thing only works if the homebrew-core 
repo includes multiple versions. Homebrew only seems to do this for popular 
packages where people might need multiple versions, like node.js. For less 
popular packages, like libmxml, they only support the latest version. Seems to 
be a pretty basic package manager.
   
   So essentially what this does is it creates a local repo (`brew tap-new`), 
finds and extracts 3.3.1 out of the git history of homebrew-core into that 
local repo (`brew extract`), and then installs that local version.
   
   This is the only way I could find to do it. It seems kindof 
developer-y/experimental, so it feels like it we might want it to just be a 
short term solution. In the long term, we probably need to figure out why 4.x 
doesn't work and see if we can support that. But this at least allows our CI to 
pass.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to