Skip to content

Split install into subtargets#140

Merged
tkelman merged 1 commit intoJuliaMath:masterfrom
arjenroodselaar:split-install-target
Jul 19, 2016
Merged

Split install into subtargets#140
tkelman merged 1 commit intoJuliaMath:masterfrom
arjenroodselaar:split-install-target

Conversation

@arjenroodselaar
Copy link
Copy Markdown

When building a cross-compile toolchain for a freestanding platform one may not
want to build and install dynamic loadables.

Comment thread Makefile Outdated

install: all openlibm.pc
install-static: libopenlibm.a
mkdir -p $(DESTDIR)$(shlibdir)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably be libdir?

@arjenroodselaar
Copy link
Copy Markdown
Author

@tkelman thank you for a review and apologies for the sloppy PR. The comments have been addressed.

Comment thread Makefile Outdated
mkdir -p $(DESTDIR)$(libdir)
cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/

install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT) openlibm.pc
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the openlibm.pc need to be a dependency here?

@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Jul 19, 2016

not sloppy at all, thanks for the contribution!

@ViralBShah
Copy link
Copy Markdown
Member

Is this good to merge?

@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Jul 19, 2016

I think openlibm.pc should be deleted from the install-shared line but otherwise yes IMO

When building a cross-compile toolchain for a freestanding platform one may not
want to build and install shared objects.
@arjenroodselaar
Copy link
Copy Markdown
Author

This should be good to go now.

@tkelman tkelman merged commit b170b72 into JuliaMath:master Jul 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants