Hi MK, No, I don't think this works on the M1 MacBook. Our building environment (i.e., the docker image) is for the x86_64 platform. One way to build on the M1 Mac is to use a virtualized environment (e.g., using VirtuaBox).
Mingshen On Tue, Mar 22, 2022 at 7:37 PM MK Kim <myloveh...@gmail.com> wrote: > > Hi Mingshen Sun, > > Thanks for your support. > > I have one question, > > 1. I try to test this version in Macbook M1. This is not working in my mac. > Could it support Mac M1? > > I saw it below message. > ======================================================================================================================== > mk@MKs-MacBook-Pro ~ % docker run --rm -v $(pwd):/teaclave -w /teaclave \ > -it teaclave/teaclave-build-ubuntu-1804-sgx-2.14:latest \ > bash -c ". /root/.cargo/env && \ > . /opt/sgxsdk/environment && \ > mkdir -p build && cd build && \ > cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON -DGIT_SUBMODULE=OFF .. && \ > make" > WARNING: The requested image's platform (linux/amd64) does not match the > detected host platform (linux/arm64/v8) and no specific platform was requested > CMake Error: The source directory "/teaclave" does not appear to contain > CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > ======================================================================================================================== > > If you have any questions, please let me know. > > BR, > MK > > On Tue, Mar 22, 2022 at 3:58 PM Mingshen Sun <ms...@apache.org> wrote: >> >> Hi all, >> >> I am pleased to be calling this vote for the third release of >> Apache Teaclave (incubating) 0.4.0 (release candidate 1). >> >> The release candidate to be voted over is available at: >> - https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.4.0-rc.1/ >> >> The release candidate is signed with a GPG key available at: >> - https://dist.apache.org/repos/dist/dev/incubator/teaclave/KEYS >> >> The Git commit for this release is: >> - >> https://gitbox.apache.org/repos/asf?p=incubator-teaclave.git;a=commit;h=37b248b2b8a5215fed668b4e71b674ce57b0b352 >> >> The release note is available in: >> - https://github.com/apache/incubator-teaclave/releases/tag/v0.4.0-rc.1 >> >> Build guide and get started instructions can be found at: >> - >> https://github.com/apache/incubator-teaclave/blob/v0.4.0-rc.1/docs/my-first-function.md >> >> The short version of building Teaclave from the source tarball: >> >> ``` >> $ wget >> https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.4.0-rc.1/apache-teaclave-0.4.0-rc.1-incubating.tar.gz >> $ tar zxvf apache-teaclave-0.4.0-rc.1-incubating.tar.gz && cd \ >> apache-teaclave-0.4.0-rc.1-incubating >> $ # Instructions to verify the source tar: >> https://teaclave.apache.org/download/#verify-the-integrity-of-the-files >> >> $ docker run --rm -v $(pwd):/teaclave -w /teaclave \ >> -it teaclave/teaclave-build-ubuntu-1804-sgx-2.14:latest \ >> bash -c ". /root/.cargo/env && \ >> . /opt/sgxsdk/environment && \ >> mkdir -p build && cd build && \ >> cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON -DGIT_SUBMODULE=OFF .. && \ >> make" >> ``` >> >> The vote will be open for at least 72 hours. Everyone is welcome to >> vote. Please vote by replying to this thread explicitly. >> >> [ ] +1 approve >> [ ] +0 no opinion >> [ ] -1 disapprove with the reason >> >> Anyone can participate in testing and voting, not just committers, >> please feel free to try out the release candidate and provide your >> votes. Please also reply with things you have checked. >> >> A checklist for reference: >> - >> https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist >> >> Best, >> >> Mingshen Sun >> Apache Teaclave (incubating) PPMC >> https://mssun.me >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org >> For additional commands, e-mail: dev-h...@teaclave.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For additional commands, e-mail: dev-h...@teaclave.apache.org