forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ceph#9853 from dx9/wip-alpine-dev-support
alpine: add alpine linux dev support
- Loading branch information
Showing
12 changed files
with
608 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Alpine Build (Experimental) | ||
|
||
## Dev Env Setup | ||
|
||
``` | ||
apk --update add bash sudo git | ||
git clone https://github.com/ceph/ceph | ||
``` | ||
|
||
### Build | ||
|
||
``` | ||
./run-make-check.sh -DWITH_EMBEDDED=OFF -DWITH_SYSTEM_BOOST=ON -DWITH_LTTNG=OFF -DWITH_REENTRANT_STRSIGNAL=ON -DWITH_THREAD_SAFE_RES_QUERY=ON | ||
``` | ||
|
||
### Packaging | ||
|
||
``` | ||
./make-apk.sh | ||
``` | ||
|
||
### Docker | ||
|
||
``` | ||
cd ceph/src | ||
./test/docker-test.sh --os-type alpine --os-version edge ./make-apk.sh | ||
or | ||
./test/docker-test.sh --os-type alpine --os-version edge -- ./run-make-check.sh -DWITH_EMBEDDED=OFF -DWITH_SYSTEM_BOOST=ON -DWITH_LTTNG=OFF -DWITH_REENTRANT_STRSIGNAL=ON -DWITH_THREAD_SAFE_RES_QUERY=ON | ||
``` | ||
|
||
## Known Issues | ||
|
||
- Uses musl libc malloc because musl does not currently support replacing malloc implementation. see https://bugs.alpinelinux.org/issues/5389 | ||
- No backtrace support need to look at libunwind integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; Plugins are available for notepad++, emacs, vim, gedit, | ||
; textmate, visual studio, and more. | ||
; | ||
; See http://editorconfig.org for details. | ||
|
||
# Top-most EditorConfig file. | ||
root = true | ||
|
||
[**/APKBUILD*] | ||
indent_style = tab | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
Oops, something went wrong.