This repository was archived by the owner on Nov 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export SDK=$SDKLT/src
20
20
# export CC=clang-3.9
21
21
# export LD=lld-3.9
22
22
# export ADD_CFLAGS="-g -fno-omit-frame-pointer -O0"
23
+ # export ADD_LDFLAGS=""
23
24
24
25
cd $SDK /appl/demo
25
26
make TARGET_PLATFORM=xlr_linux clean -j
Original file line number Diff line number Diff line change @@ -39,13 +39,27 @@ jobs:
39
39
rm linux-4.14.49-OpenNetworkLinux.tar.xz
40
40
popd
41
41
- checkout
42
+ - run :
43
+ name : Create build directory
44
+ command : mkdir -p ~/build
42
45
- run :
43
46
name : Build SDKLT
44
- command : .circleci/build-sdklt.sh
47
+ command : |
48
+ export ADD_CFLAGS="-fomit-frame-pointer -O3"
49
+ .circleci/build-sdklt.sh
50
+ mv ~/sdklt-4.14.49.tgz ~/build/sdklt-4.14.49.tgz
51
+ - run :
52
+ name : Build SDKLT debug
53
+ command : |
54
+ export ADD_CFLAGS="-g -fno-omit-frame-pointer -O0 -fsanitize=address"
55
+ export ADD_LDFLAGS="-fsanitize=address"
56
+ .circleci/build-sdklt.sh
57
+ mv ~/sdklt-4.14.49.tgz ~/build/sdklt-debug-4.14.49.tgz
45
58
- persist_to_workspace :
46
- root : ~/
59
+ root : ~/build/
47
60
paths :
48
61
- sdklt-4.14.49.tgz
62
+ - sdklt-debug-4.14.49.tgz
49
63
50
64
publish-github-release :
51
65
docker :
You can’t perform that action at this time.
0 commit comments