Minor makefile bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libadjoint |
New
|
Undecided
|
Unassigned |
Bug Description
Building libadjoint with these lines:
export PETSC_ARCH=
export PETSC_DIR=
export SLEPC_DIR=
make install prefix=
where
martinal@
/home/martinal/
The libadjoint build produces the following warning:
...
INSTALL ///home/
...
gcc -pthread -fno-strict-
gcc: warning: /home/martinal/opt: linker input file unused because linking not done
That is, somehow half the install path was added to the gcc command for compiling adj_python_utils.c into adj_python_utils.o.
How strange!
adj_python_utils.c is compiled by python's distutils -- the Makefile calls setup.py, but we don't specify the compiler options.
Can you please remove the @ from the lines in the Makefile that call setup.py, and see what command is getting executed to call setup.py?