| | Re: pictures at tracker Ross Crawford
|
| | (...) There's another problem with it too - if the main part file is uploaded before the sub-parts / primitives, it may display with incorrect older versions, or none at all. Maybe there needs to be a scan when a sub-part / primitive is submitted to (...) (23 years ago, 15-May-02, to lugnet.cad)
|
| | |
| | | | Re: pictures at tracker Larry Pieniazek
|
| | | | (...) Hey... this is starting to sound like build/make dependency analysis. Any chance of getting good old "make" itself to do the work of figuring out what needs to be regenned when a file is uploaded? The dependency calculation seems (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | |
| | | | | | Re: pictures at tracker Steve Bliss
|
| | | | | (...) That seems reasonable. The dependencies are fairly straightforward, and can be checked by simple mod-date comparision. (...) Hmm. Can it deal with files being in subdirectories? Like, if the search path is /home/tracker/unoffi.../official, and (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | |
| | | | | | | Re: pictures at tracker Larry Pieniazek
|
| | | | | | (...) Well, not sure. Bear with. Remember that make doesn't actually make things. Or find things. It just uses other programs to make them or find them based on production rules. In this case it's actually LDGlite that needs to find the correct (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | | Re: pictures at tracker Kyle McDonald
|
| | | | | | | | (...) Actually, when it does it's timestamp comparisons to decide if things need to be made, it *does* need to find them. See my other post. -Kyle (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | | |
| | | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | | | Larry Wrote: (...) This is the key point - if ldglite needs to have things in certain places in order to work correctly, the output of our make sessions needs to set up that structure correctly. (...) Yes, symlinks are super-powerful (and (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | Re: pictures at tracker Kyle McDonald
|
| | | | | | Steve Bliss wrote: > In lugnet.cad, Larry Pieniazek writes: > > >>Hey... this is starting to sound like build/make dependency analysis. Any >>chance of getting good old "make" itself to do the work of figuring out what >>needs to be regenned when a (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | | Re: pictures at tracker Kyle McDonald
|
| | | | | | | | (...) Lots of this stuff can be done different ways, but I think I should have written those as: in 3001.dep: 3001.pic: 3001.dat stud4.pic box5.pic stud.pic and in stud.dep: stud.pic: stud.dat 4-4edge.pic 4-4cyli.pic 4-4disc.pic [Note .dat changed (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | | |
| | | | | | | | Re: pictures at tracker Steve Bliss
|
| | | | | | | (...) Hmm. I don't think that would quite work -- files with duplicate names can exist in different subdirectories of the library. Sometimes this is on purpose, sometimes it's accidental. Would it make a difference (good or bad) if the files are (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | Re: pictures at tracker Ross Crawford
|
| | | | | (...) Generally, make doesn't search at all - the program which creates the dependencies pinds the right version & sticks the path in there with it. See "man makedepend" which is the program that does it for C sources. All make does is check the (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | |
| | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | (...) I'm going to step in here and volunteer my efforts as a make expert to the group. I use make every day and have an extensive system that allows me to build embedded software for multiple platforms and hardware versions from one source tree, (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | |
| | | | | | | Re: pictures at tracker Larry Pieniazek
|
| | | | | | (...) Now that is a way cool offer! Awesome! (...) Me too. I don't USE make every day but I know it's one of the niftiest things there is in the computer world. Make can make *anything*. Well, just about: $ make love make: do not know how to make (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | | | (...) I'm just now restoring all the messages from this thread (I wasn't sure I could help until make came up :-) I'll review them and see if I can do anything that makes sense. Hopefully the result won't be: make: *** No rule to make target (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | Re: pictures at tracker Steve Bliss
|
| | | | | Replying to a couple of things at once (and resisting the urge to XFUT lugnet.cad.dev.org.ldraw, which should have happened 30 messages ago...). (...) That sounds great! That's if it's ok with Jacob. (...) We've basically got one, although it might (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | |
| | | | | | | Re: pictures at tracker Larry Pieniazek
|
| | | | | | (...) not*"building*, no... but *make*-ing is quite feasible since it would be incremental and unless the upload was a major major basic primitive, not of huge effect, right? I am thinking that you run make as a background job from cron every 2 min (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | | Re: pictures at tracker Steve Bliss
|
| | | | | | | (...) Right. But Ralph was asking about *building*, not *make'ing*. :) (...) Err, I'm not seeing how that would work. The symlinks would have the same names (and file extensions) as the actual part files. If we introduction a production for .dat, it (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | Re: pictures at tracker Kyle McDonald
|
| | | | | (...) So something could be written that would convert this to Make format or it could read the files themselves. (...) Yes, because the s/ is in the datfile, and if it was kept in the dependency file, Make would look for s/973s01.dat in all the (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | |
| | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | | (...) Thanks. I knew that keeping make in the toolbox would come in handy! (...) Me too, but sometimes you need to make sure! (...) Yes. (...) Exactly. Inference rules can take care of this. Another option would be to run one of: make all - builds (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | Re: pictures at tracker Steve Bliss
|
| | | | | | (...) Or the something that creates the file could write the Make format itself. (...) OK. The current dependency file already includes the location (up to p/ or parts/), but if that work could be pushed off on make, it might be worth it. (...) I'd (...) (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | | | |
| | | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | | | All, I've got my Linux system runnig on the test machine, now I need to ldglite up and running. I got the mesa lib, but does anyone have a pre-built version of ldglite I can use? I'll work on things this weekend and let you know how things are (...) (23 years ago, 17-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | | | Re: pictures at tracker Don Heyse
|
| | | | | | | (...) Pre-built? What?!? I thought you were the local make expert. ;^) Seriously though, If an expert at make can't build ldglite then what's the point of the linux instructions. Give them a try: (URL) grab ldglitesrc0_9_5.zip instead of 0_9_4, and (...) (23 years ago, 17-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | | | RE: pictures at tracker Ralph Hempel
|
| | | | | | | (...) that means I'm lazy too! I was *wondering* why there were no pre-built binaries avaialable. (...) I already got those last night - I just haven't had enough personal CPU cycles to go through the build procedure myself. Nice docs on the linux (...) (23 years ago, 17-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | | | Re: pictures at tracker Don Heyse
|
| | | | | | | (...) I guess because I'd have to make a bunch of binaries, one for every conceivable linux distribution, and being an engineer myself, I'm lazy too. :) I provide prebuilt binaries for certain closed-source operating systems though because they (...) (23 years ago, 17-May-02, to lugnet.cad)
|
| | | | | | | |
| | | | | | | Re: pictures at tracker Jacob Sparre Andersen
|
| | | | | (...) Nothing is ever missing from my Linux systems, but I may (more or less consiously :-) have decided that it should not be there. Jacob (23 years ago, 17-May-02, to lugnet.cad)
|
| | | | | |
| | | | Re: pictures at tracker Steve Bliss
|
| | | | (...) That'd be fairly straightforward to implement. The PT already keeps a dependency file. Or two. And there's always grep... Steve (23 years ago, 16-May-02, to lugnet.cad)
|
| | | | |