File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,13 @@ echo $CFLAGS
136
136
%endif
137
137
138
138
# building lwnode executable
139
+
140
+ CFLAGS+= " -fno-lto "
141
+ CXXFLAGS+= " -fno-lto "
142
+ LDFLAGS+= " -fno-lto "
143
+
144
+ ./tools/envinfo.sh
145
+
139
146
./configure.py --tizen --verbose \
140
147
--nopt --dest-cpu= '%{tizen_arch }' \
141
148
--arch= '%{tizen_arch }' \
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ SCRIPT_DIR=$( dirname " $( readlink -f " $0 " ) " )
4
+ [ -f " $SCRIPT_DIR /logo.sh" ] && source " $SCRIPT_DIR /logo.sh"
5
+
6
+ print_version () {
7
+ local cmd=$1
8
+ local prefix=$2
9
+ if command -v $cmd & > /dev/null; then
10
+ if [ -z " $prefix " ]; then
11
+ echo -e " $( $cmd --version) \n"
12
+ else
13
+ echo -e " $prefix : $( $cmd --version) \n"
14
+ fi
15
+ else
16
+ echo -e " $cmd not found\n"
17
+ fi
18
+ }
19
+
20
+ print_env_var () {
21
+ local var_name=$1
22
+ local var_value=$2
23
+ local delimiter=$3
24
+
25
+ if [[ -n $var_value ]]; then
26
+ echo " envvar($var_name ):"
27
+ if [[ -n $delimiter ]]; then
28
+ echo " $var_value " | tr " $delimiter " ' \n'
29
+ else
30
+ echo " $var_value "
31
+ fi
32
+ echo
33
+ fi
34
+ }
35
+
36
+ print_version cmake
37
+ print_version gcc
38
+ print_version make
39
+ print_version ninja ninja
40
+ print_version node node
41
+ print_version npm npm
42
+ print_version python python
43
+ print_version clang
44
+ print_version clang-format
45
+ print_version valgrind
46
+
47
+ echo " nproc: $( getconf _NPROCESSORS_ONLN) " && echo
48
+ print_env_var " RUNNER_NAME" " $RUNNER_NAME "
49
+ print_env_var " CC" " $CC "
50
+ print_env_var " CXX" " $CXX "
51
+ print_env_var " CXXFLAGS" " $CXXFLAGS " ' '
You can’t perform that action at this time.
0 commit comments