Giter VIP home page Giter VIP logo

Comments (3)

syclik avatar syclik commented on May 28, 2024

Yes, that was intentional. In the clean-all target, there there is this
line:
$(RM) $(wildcard *.d) $(wildcard *.o)

The .dSYM files are debug output files.

The .d.* files are temporary dependency files that get left behind if the
build is escaped manually before the end of a build.

The intention was to keep both the .d and .o files around after a clean so
tests can be run without having to regenerate these files.

On Thu, May 30, 2013 at 1:54 PM, bgoodri [email protected] wrote:

On Linux,

goodrich@CYBERPOWERPC:/opt/stan$ make -n clean
rm -f
rm -f

while in the makefile

clean:
$(RM) $(wildcard .dSYM) $(wildcard *.d.)
$(RM) $(wildcard $(MODEL_SPECS:%.stan=%.cpp) $(MODEL_SPECS:%.stan=%$(EXE)) $(MODEL_SPECS:%.stan=%.o))

So, for example, all the .d and .o files persist.


Reply to this email directly or view it on GitHubhttps://github.com//issues/100
.

from stan.

bgoodri avatar bgoodri commented on May 28, 2024

But the arguments don't expand for make clean-all either:

goodrich@CYBERPOWERPC:/opt/stan$ make -n clean-all | head -n 7
rm -f
rm -f
rm -f -r doc/api
cd src/docs/stan-reference; rm -f *.brf *.aux *.bbl *.blg *.log *.toc *.pdf
*.out *.idx *.ilg *.ind *.cb *.cb2 *.upa
rm -f -r models src/stan/model/model_header.hpp.gch
src/stan/model/model_header.hpp.pch src/stan/model/model_header.hpp.d
rm -f -r test/* bin doc
rm -f

Ben

On Thu, May 30, 2013 at 3:29 PM, Daniel Lee [email protected]:

Yes, that was intentional. In the clean-all target, there there is this
line:
$(RM) $(wildcard *.d) $(wildcard *.o)

The .dSYM files are debug output files.

The .d.* files are temporary dependency files that get left behind if the
build is escaped manually before the end of a build.

The intention was to keep both the .d and .o files around after a clean so
tests can be run without having to regenerate these files.

On Thu, May 30, 2013 at 1:54 PM, bgoodri [email protected]
wrote:

On Linux,

goodrich@CYBERPOWERPC:/opt/stan$ make -n clean
rm -f
rm -f

while in the makefile

clean:
$(RM) $(wildcard .dSYM) $(wildcard *.d.)
$(RM) $(wildcard $(MODEL_SPECS:%.stan=%.cpp)
$(MODEL_SPECS:%.stan=%$(EXE)) $(MODEL_SPECS:%.stan=%.o))

So, for example, all the .d and .o files persist.


Reply to this email directly or view it on GitHub<
https://github.com/stan-dev/stan/issues/100>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/100#issuecomment-18702433
.

from stan.

syclik avatar syclik commented on May 28, 2024

Ok. I see it. I wrote that before I realized there was no recursive wildcard in make. I'm going to need to use a $(shell find...) to search through the directories.

from stan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.