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
d31ae764
Unverified
Commit
d31ae764
authored
Sep 01, 2019
by
kladkogex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tgmp dir
parent
44768e6a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
22 deletions
+40
-22
Makefile
Makefile
+8
-8
configure
configure
+22
-4
configure.ac
configure.ac
+2
-2
Makefile
secure_enclave/Makefile
+8
-8
No files found.
Makefile
View file @
d31ae764
...
...
@@ -251,8 +251,8 @@ ECHO_N = -n
ECHO_T
=
ENCLAVE_SIGN_TARGET
=
signed_enclave_dev
EXEEXT
=
GMP_CPPFLAGS
=
GMP_LDFLAGS
=
GMP_CPPFLAGS
=
-I
/d/sgxd/gmp_build/include
GMP_LDFLAGS
=
-L
/d/sgxd/gmp_build/lib
INSTALL
=
/usr/bin/install
-c
INSTALL_DATA
=
${
INSTALL
}
-m
644
INSTALL_PROGRAM
=
${
INSTALL
}
...
...
@@ -275,10 +275,10 @@ PACKAGE_URL =
PACKAGE_VERSION
=
1.0
PATH_SEPARATOR
=
:
SET_MAKE
=
SGXSDK
=
/d/sgxd
/sgx-sdk-build/sgxsdk
SGXSDK_BINDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/bin/x64
SGXSDK_INCDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/include
SGXSDK_LIBDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/lib64
SGXSDK
=
.
/sgx-sdk-build/sgxsdk
SGXSDK_BINDIR
=
.
/sgx-sdk-build/sgxsdk/bin/x64
SGXSDK_INCDIR
=
.
/sgx-sdk-build/sgxsdk/include
SGXSDK_LIBDIR
=
.
/sgx-sdk-build/sgxsdk/lib64
SGXSSL
=
/opt/intel/sgxssl
SGXSSL_INCDIR
=
/opt/intel/sgxssl/include
SGXSSL_LIBDIR
=
/opt/intel/sgxssl/lib64
...
...
@@ -297,8 +297,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB
=
sgx_urts
SHELL
=
/bin/bash
STRIP
=
TGMP_CPPFLAGS
=
TGMP_LDFLAGS
=
TGMP_CPPFLAGS
=
-I
/d/sgxd/gmp_build/include
TGMP_LDFLAGS
=
-L
/d/sgxd/gmp_build/lib
VERSION
=
1.0
abs_builddir
=
/d/sgxd
abs_srcdir
=
/d/sgxd
...
...
configure
View file @
d31ae764
...
...
@@ -4162,7 +4162,12 @@ fi
SGXSDK
=
"
${
PWD
}
/sgx-sdk-build/sgxsdk"
# Check whether --with-sgxsdk was given.
if
test
"
${
with_sgxsdk
+set
}
"
=
set
;
then
:
withval
=
$with_sgxsdk
;
SGXSDK
=
$withval
else
SGXSDK
=
"detect"
fi
if
test
"x
$sgxsim
"
=
"yes"
;
then
:
...
...
@@ -4254,9 +4259,22 @@ else
fi
SGX_DEBUG_FLAGS
=
$_sgxdebug
if
test
"x
$SGX_SDK
"
=
"x"
;
then
:
SGXSDK
=
detect
else
SGXSDK
=
env
fi
if
test
"x
$SGXSDK
"
=
"xenv"
;
then
:
SGXSDK
=
$SGX_SDK
elif
test
"x
$SGXSDK
"
!=
"xdetect"
;
then
:
if
test
-d
${
SGXSDK
}
;
then
:
elif
test
-d
/opt/intel/sgxsdk
;
then
:
SGXSDK
=
/opt/intel/sgxsdk
elif
test
-d
~/sgxsdk
;
then
:
SGXSDK
=
~/sgxsdk
elif
test
-d
./sgx-sdk-build/sgxsdk
;
then
:
SGXSDK
=
./sgx-sdk-build/sgxsdk
else
as_fn_error
$?
"Can't detect your Intel SGX SDK installation directory"
"
$LINENO
"
5
fi
...
...
@@ -4366,8 +4384,8 @@ $as_echo "$as_me: enabling SGX... ${ac_cv_enable_sgx}" >&6;}
ac_cv_sgx_init
=
yes
gmpdir
=
tgmpdir
=
gmpdir
=
${
PWD
}
/gmp_build
tgmpdir
=
${
PWD
}
/tgmp_build
# Check whether --with-gmpdir was given.
...
...
configure.ac
View file @
d31ae764
...
...
@@ -11,8 +11,8 @@ AM_PROG_CC_C_O
SGX_INIT()
gmpdir=
tgmpdir=
gmpdir=
${PWD}/gmp_build
tgmpdir=
${PWD}/tgmp_build
AC_ARG_WITH([gmpdir],
AC_HELP_STRING([--with-gmpdir=PATH], [specify the libgmp directory]),
...
...
secure_enclave/Makefile
View file @
d31ae764
...
...
@@ -219,8 +219,8 @@ ECHO_N = -n
ECHO_T
=
ENCLAVE_SIGN_TARGET
=
signed_enclave_dev
EXEEXT
=
.so
GMP_CPPFLAGS
=
GMP_LDFLAGS
=
GMP_CPPFLAGS
=
-I
/d/sgxd/gmp_build/include
GMP_LDFLAGS
=
-L
/d/sgxd/gmp_build/lib
INSTALL
=
/usr/bin/install
-c
INSTALL_DATA
=
${
INSTALL
}
-m
644
INSTALL_PROGRAM
=
${
INSTALL
}
...
...
@@ -243,10 +243,10 @@ PACKAGE_URL =
PACKAGE_VERSION
=
1.0
PATH_SEPARATOR
=
:
SET_MAKE
=
SGXSDK
=
/d/sgxd
/sgx-sdk-build/sgxsdk
SGXSDK_BINDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/bin/x64
SGXSDK_INCDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/include
SGXSDK_LIBDIR
=
/d/sgxd
/sgx-sdk-build/sgxsdk/lib64
SGXSDK
=
.
/sgx-sdk-build/sgxsdk
SGXSDK_BINDIR
=
.
/sgx-sdk-build/sgxsdk/bin/x64
SGXSDK_INCDIR
=
.
/sgx-sdk-build/sgxsdk/include
SGXSDK_LIBDIR
=
.
/sgx-sdk-build/sgxsdk/lib64
SGXSSL
=
/opt/intel/sgxssl
SGXSSL_INCDIR
=
/opt/intel/sgxssl/include
SGXSSL_LIBDIR
=
/opt/intel/sgxssl/lib64
...
...
@@ -265,8 +265,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB
=
sgx_urts
SHELL
=
/bin/bash
STRIP
=
TGMP_CPPFLAGS
=
TGMP_LDFLAGS
=
TGMP_CPPFLAGS
=
-I
/d/sgxd/gmp_build/include
TGMP_LDFLAGS
=
-L
/d/sgxd/gmp_build/lib
VERSION
=
1.0
abs_builddir
=
/d/sgxd/secure_enclave
abs_srcdir
=
/d/sgxd/secure_enclave
...
...
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