Skip to content

add with_musl compile option to support musl-linux#27798

Merged
chenwhql merged 1 commit intoPaddlePaddle:developfrom
chen-zhiyu:develop-musl
Oct 12, 2020
Merged

add with_musl compile option to support musl-linux#27798
chenwhql merged 1 commit intoPaddlePaddle:developfrom
chen-zhiyu:develop-musl

Conversation

@chen-zhiyu
Copy link
Contributor

@chen-zhiyu chen-zhiyu commented Oct 10, 2020

PR types

New features

PR changes

Others

Describe

to support port paddle to libos-like SGX TEE enironment, which used musl as basic libc runtime.
currently supported scone and occlum, and graphene is under working.

  1. add with_musl compile option
  2. fix problem in quering libc version
  3. add macro to disable involved the backtrace(which is not valid in musl) when with_musl=on
  4. upgrade protobuf from 3.1.0 to 3.5.0, to fix the bswap_* function redefined in probuff lib when with_crypto is enabled(not in this version).

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Oct 10, 2020

✅ This PR's description meets the template requirements!
Please wait for other CI results.

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI
Copy link
Collaborator

ZHUI commented Dec 15, 2021

image

PR中的 ldd 命令,部分机器上可能存在问题。

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.

4 participants