Comments (3)
Holmake "calls itself recursively" automatically: I'd try having a line like
install: $(patsubst %,../src/%/install,$(OTDIRS))
and with a definition of OTDIRS
along the lines of
OTDIRS = bag integer pred_set-src/more_theories coalgebras ...
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 Holmakefile
s.
from hol.
Thanks for your hints, but how can Holmake interpret $(patsubst %,../../%/install,$(OTDIRS))
, which becomes something like /Users/binghe/ML/HOL.otknl/src/boss/install
as the "install" target of the Holmakefile
under /Users/binghe/ML/HOL.otknl/src/boss
, instead of a literal file named install
there?
When I put the toplevel "install" target into $(HOLDIR)/src/parallel_builds/core/Holmakefile
with all necessary dependencies added into the "install" target of each related Holmakefile
, eventually I got this message say Don't know how to build necessary target(s): /Users/binghe/ML/HOL.otknl/src/boss/install
~/ML/HOL.otknl/src/parallel_builds/core$ Holmake -j1 install
Holmake: *** Switching to execute /Users/binghe/ML/HOL.otknl/bin/Holmake
Holmake: *** (As we are in/under its HOLDIR)
Holmake: Scanned 31 directories
Holmake: Don't know how to build necessary target(s): /Users/binghe/ML/HOL.otknl/src/boss/install
Holmake failed with exception: Fail: MLton.Exit.exit(256): exit must have 0 <= status < 256
unhandled exception: Fail: MLton.Exit.exit
Top-level handler raised exception.
from hol.
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.
from hol.
Related Issues (20)
- Induct_on / using example HOT 2
- Inductive definition should better diagnose syntax problems HOT 3
- More floating point theorems HOT 3
- Amjad style lazy theorems
- qmatch_abbrev_tac should rename var/var bindings rather than abbreviate them
- Case expression prints badly HOT 1
- (p==>q)==>(~q==>~p) tactic HOT 2
- Configure failure on macOS: Failed to make mlyacc (Fail "Command failed") HOT 4
- Store location information about where theorems were proved in Theory.sig files
- Emacs mode doesn't have M-h H in menu
- Failure to build on Android/termux HOT 6
- emacs mode should choose HOL executable based on lastmaker file (if any) HOT 1
- emacs mode: package the lisp code for it to be released in a package archive HOT 1
- Manual Makefile HOT 5
- Proof failed but Holmake doesn't report it HOT 6
- Use kernel compute feature in HOL4 simplifier, decision procedures, and EVAL HOT 6
- Some small typos in the doc HOT 2
- Alpha turns into a by accident
- Tools should report config files' location
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hol.