Skip to content

Commit

Permalink
restore build script
Browse files Browse the repository at this point in the history
Signed-off-by: He, Jing J <jing.j.he@intel.com>
  • Loading branch information
jinghe-INTC committed Mar 1, 2024
1 parent 5085a34 commit bdb6beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- run: |
echo "Run, Build Application using script"
wget https://download.01.org/intel-sgx/sgx-linux/2.23/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.23.100.2.bin; chmod +x *.bin; echo yes | ./sgx_linux_x64_sdk_2.*.bin; source sgxsdk/environment; cd Linux; make sgxssl_no_mitigation
wget https://download.01.org/intel-sgx/sgx-linux/2.23/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.23.100.2.bin; chmod +x *.bin; echo yes | ./sgx_linux_x64_sdk_2.*.bin; source sgxsdk/environment; wget https://www.openssl.org/source/openssl-3.0.13.tar.gz --directory-prefix=openssl_source/; cd Linux; make sgxssl_no_mitigation
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
2 changes: 1 addition & 1 deletion Linux/build_openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# this variable must be set to the path where Intel® Software Guard Extensions SDK is installed
SGXSSL_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $SGXSSL_ROOT
wget https://www.openssl.org/source/openssl-3.0.13.tar.gz --directory-prefix=../../openssl_source/ || exit 1

OPENSSL_VERSION=`ls $SGXSSL_ROOT/../openssl_source/*3.0.*.tar.gz | head -1 | grep -o '[^/]*$' | sed -s -- 's/\.tar\.gz//'`
if [ "$OPENSSL_VERSION" == "" ]
then
Expand Down

0 comments on commit bdb6beb

Please sign in to comment.