Comments (6)
I can't reproduce those symptoms on my laptop (Ubuntu 12.04 LTS, CMake 2.8.7). In particular,
$ make clean
from the top-level build directory of my (debug-configuration) build tree removes all the .o
files as well as the tests and other executables. Granted, there are still quite a lot of generated files in said directory but those (mostly) go away with
$ make distclean
What's your environment?
from opm-core.
I cannot reproduce it either;
make
find CMakeFiles/opmcore.dir -name '*.o' | wc -l
make clean
find CMakeFiles/opmcore.dir -name '*.o' | wc -l
gives 98 and 0 respectively.
Maybe it's a rights issue?
What does
strace cmake -P CMakeFiles/opmcore.dir/cmake_clean.cmake 2>&1 | grep ^unlink
return?
from opm-core.
Somehow I must have been mistaken. make clean does clean nearly all of the
files.
The following files remain there after make clean:
all modules: the lib.la files
opm-upscaling: bin/.debug
from opm-core.
In my experience 'make clean' is problematic regardless of the build system. If you checked your stuff out using git and want a pristine source directory (while keeping the modifications of files which are already known to git), it is probably best to use 'git clean -fdx'. If want to remove the cruft from the build directory, the easiest thing is probably to delete it and create a new one...
from opm-core.
The following files remain there after make clean; lib.la files, bin/.debug
Those files are created by post-processing of the targets; I haven't found any way to add them to the 'clean' target -- that is a special/magic target which is added by CMake directly into the Makefiles and doesn't work with e.g. add_custom_command
. If you use make distclean
they should go away, too.
from opm-core.
Wow! I like your make distclean. Never understood why this is not there in CMake. Seems to be an attitud kind of thing.
from opm-core.
Related Issues (20)
- Some tests break after OPM/opm-parser#768 HOT 1
- Initialization and restart HOT 1
- Failing test_relpermdiagnostics HOT 4
- Dereferencing of end iterator happens in initStateEquil.hpp
- test_pinchprocessor is broken? HOT 3
- opm-core build fails HOT 4
- parameter's ouput does not show up in .CASE_NAME.DEBUG HOT 2
- Allow passing the size of the initial time step to adaptive time stepper HOT 1
- Runtime failure in "linsolver" test - umfpack not configured HOT 2
- Add restart test with no wells present.
- WellState::init has memory problems HOT 7
- Don't we need to keep track of (artificially) shut completions in the simulator for output? HOT 3
- Windows Installer (guide) failed HOT 3
- Compilation error due to not finding opm/output/data/Wells.hpp HOT 2
- Broken test HOT 3
- Multiple definitions of OPM_THROW HOT 1
- opm-core broken related to petsc HOT 2
- Some files missing? HOT 2
- Question: How OPM handles well sources in multi-cell wells? HOT 4
- Installing OPM in CentOS 8.1 (RPM) HOT 3
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 opm-core.