Skip to content

only enable link what you use on GNU compilers#536

Merged
amcadmus merged 1 commit intodeepmodeling:masterfrom
njzjz:only_link_what_you_use_on_gnu
Apr 20, 2021
Merged

only enable link what you use on GNU compilers#536
amcadmus merged 1 commit intodeepmodeling:masterfrom
njzjz:only_link_what_you_use_on_gnu

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Apr 20, 2021

Clang doesn't support this flag, cause an error on osx:

ld: unknown option: --no-as-needed

This commit should be cherry-picked to r1.2 branch.

Clang doesn't support this flag, cause an error on osx:

> ld: unknown option: --no-as-needed

This commit should be cherry-picked to `r1.2` branch.
@amcadmus amcadmus merged commit 0c57047 into deepmodeling:master Apr 20, 2021
@njzjz njzjz deleted the only_link_what_you_use_on_gnu branch May 14, 2021 02:11
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 2, 2021
…_on_gnu

only enable link what you use on GNU compilers
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.

2 participants