-
Notifications
You must be signed in to change notification settings - Fork 145
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
Command sequence for installing HOL's OpenTheory packages #1121
Comments
Holmake "calls itself recursively" automatically: I'd try having a line like
and with a definition of
If there are dependencies between the various install targets (you say something about "the correct order" above), this can be recorded by inserting those dependencies into the |
Thanks for your hints, but how can Holmake interpret When I put the toplevel "install" target into
|
I admit that I hadn’t checked the behaviour on phony targets but I did think this should work. The workaround of having indicator files should definitely work—nice idea. |
Before building HOL with
--otknl
, theopentheory
command must be available and initialized (shell command:opentheory init
), and the OT package "base-1.221" [1] must be already installed (shell command:opentheory update; opentheory install base
).[1] https://opentheory.gilith.com/?pkg=base-1.221
After the build completed (it takes a long time, say 10+ hours, with at leat 32GB memory (
-j1
), better 64GB (-j2
)), the built OT packages must be installed locally (and possibly can be uploaded to OT repository, without any authentication!) so that other user code can be correctly exported. These packages must be installed in a correct order. VariousHolmakefile
has been modified with aninstall
target which calls the actualopentheory install
command with correct arguments, while the following toplevel command sequence gives their location and order:The problem is that, I don't know where to put the above Makefile fragment into HOL code base. And I know it's not a good style to call
Holmake
command in a nested way. Anyway, I hope, by callingbin/build --otknl --install
(or something similar) after the build, the above commands (or something equivalent) can be executed in the same order. Can this be implemented (by HOL maintainer), or I can have some hints on how to do it?--Chun
The text was updated successfully, but these errors were encountered: