Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
f11b41f2
Unverified
Commit
f11b41f2
authored
Dec 18, 2019
by
Sergiy Lavrynenko
Browse files
Options
Browse Files
Download
Plain Diff
SKALE-1850 build improvements
parents
a0a9d5ad
0fb11af9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
ccpp.yml
.github/workflows/ccpp.yml
+33
-0
README.md
README.md
+1
-1
build.py
scripts/build.py
+6
-0
No files found.
.github/workflows/ccpp.yml
0 → 100644
View file @
f11b41f2
name
:
C/C++ CI
on
:
[
push
]
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install packages
run
:
>
sudo apt-get update && sudo apt-get install -yq --no-install-recommends python-yaml vim telnet git
ca-certificates build-essential ocaml ocamlbuild automake autoconf libtool wget python
libssl-dev libssl-dev libcurl4-openssl-dev protobuf-compiler git libprotobuf-dev alien
cmake debhelper uuid-dev libxml2-dev libprotobuf10 cmake flex bison libprocps-dev ccache
autoconf texinfo libssl-dev libboost-all-dev libjsonrpccpp-dev libjsonrpccpp-tools
-
name
:
install sgx
run
:
>
git clone -b sgx_2.5 --depth 1 https://github.com/intel/linux-sgx &&
cd linux-sgx &&
patch -p1 -i ../docker/install-psw.patch && ./download_prebuilt.sh 2> /dev/null
&& make -s -j$(nproc) sdk_install_pkg psw_install_pkg
&& sudo ./linux/installer/bin/sgx_linux_x64_sdk_2.5.100.49891.bin --prefix=/opt/intel
&& sudo ./linux/installer/bin/sgx_linux_x64_psw_2.5.100.49891.bin &&
cd .. && rm -rf linux-sgx/
-
name
:
update git
run
:
git submodule update --init --recursive
-
name
:
build deps
run
:
cd scripts; ./build.py
-
name
:
build sgx
run
:
autoreconf -vif && automake && ./configure && make
README.md
View file @
f11b41f2
...
...
@@ -64,7 +64,7 @@ cd scripts; ./build.py; cd ..
## Configure and build
C
o to the project's top directory, then run
G
o to the project's top directory, then run
```
libtoolize --force
...
...
scripts/build.py
View file @
f11b41f2
...
...
@@ -70,7 +70,13 @@ BLS_BUILD_DIR = BLS_DIR + "/build"
JSON_LIBS_DIR
=
topDir
+
"/jsonrpc"
<<<<<<<
HEAD
#subprocess.call(["git", "submodule", "update", "--init"])
=======
subprocess
.
call
([
"git"
,
"submodule"
,
"update"
,
"--init"
])
>>>>>>>
origin
/
develop
subprocess
.
call
([
"rm"
,
"-f"
,
"install-sh"
])
subprocess
.
call
([
"rm"
,
"-f"
,
"compile"
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment