Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full acc loop #744

Closed
wants to merge 2 commits into from
Closed

Full acc loop #744

wants to merge 2 commits into from

Conversation

hzhuang1
Copy link
Contributor

@hzhuang1 hzhuang1 commented Oct 9, 2022

It's a replacement patch set of (#692).

With this patch set, empty parameter is totally avoided.

easyaspi314 and others added 2 commits October 9, 2022 09:05
This is in preparation for an SVE implementation
Since empty parameter isn't allowed in C90, avoid to use empty
parameter at all.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
@hzhuang1
Copy link
Contributor Author

hzhuang1 commented Oct 9, 2022

Screen Shot 2022-10-09 at 10 13 51

What's wrong with this issue? Any suggestion to fix this issue?

@Cyan4973
Copy link
Owner

Cyan4973 commented Oct 9, 2022

Unfortunately, I'm unable to help directly on this topic.
The tipi tests and build script were created by @pysco68 in #688.

@hzhuang1
Copy link
Contributor Author

hzhuang1 commented Oct 9, 2022

@pysco68 Yannic, there're some errors on tipi build. I don't have any more logs.

  1. No permission on accessing /root/.docker/config.jason file.
  2. Can't create git repository.

Could you help to share any suggestion on these issues?

Thanks

@hzhuang1
Copy link
Contributor Author

hzhuang1 commented Oct 11, 2022

@Cyan4973 Yann, I tried to download tipi to my local x86 machine. With an example file on testing xxhash interface, local tipi could build example and xxhash successfully. And it could print out the result as expected. If I switch to run tipi with remote server, it claims that payment is required.

Whatever, tipi could work. But I don't know why it reports error at here. I think it doesn't block our mission. Could we just ignore this checking error on tipi build?

@pysco68
Copy link
Contributor

pysco68 commented Oct 11, 2022

hey @Cyan4973 @hzhuang1 sorry for my delayed response, for some reasons the github notifications for xxhash we spam-canned and I didn't see this was going on.

We have a fix scheduled for release that should solve the bug the CI is experiencing, so if you're comfortable with leaving things as-is it should just start working again soon.

Otherwise you could patch-up the github CI workflow:

  tipi-build-linux:
    name: tipi.build project build and dependency resolution 
    runs-on: ubuntu-latest
    container: tipibuild/tipi-ubuntu

    env:
      HOME: /root

    steps:

      - uses: actions/checkout@v2
         # FIX: we currently need a full clone
         with:
          fetch-depth: '0' 
      - run: |
          mkdir -p /usr/local/share/.tipi   
          # FIX: Hack for github action       
          git config --global --add safe.directory /usr/local/share/.tipi
          git config --global --add safe.directory /__w/xxHash/xxHash/

      # checking if the xxHash project builds and passes tests
      - name: Build as project target linux-cxx17 (run test multiInclude)
        run: tipi . --dont-upgrade --verbose --test multiInclude -t linux-cxx17

      - name: Build as project target linux-cxx20 (run test multiInclude)
        run: tipi . --dont-upgrade --verbose --test multiInclude -t linux-cxx20

      - name: Cleanup project builds
        run: rm -r ./build

      # trying if pulling the dependency with tipi works properly
      - name: Build as dependency
        run: |
          cd ./cli
          tipi . --dont-upgrade --verbose -t linux-cxx17
          ./build/linux-cxx17/bin/xsum_os_specific

I'm happy to contribut a patch, but given that it should just start working again this is probably unecessary work for everyone involved.

@hzhuang1 the CI as implemented here doesn't do a "remote build" but rather a "local one" but on the GH node. Shameless plug: If you'd like to give the remote builds a try, you're welcome to start a free trial with us ;)

hzhuang1 added a commit to hzhuang1/xxHash that referenced this pull request Oct 19, 2022
[err] Dynamic exception type: std::runtime_error
std::exception::what: can not create git repository [-3] - config value
  'safe.directory' was not found
[err] Something went wrong, for help on your issue, we could enjoy getting
  your report at https://tipi.build/#contact
Error: Process completed with exit code 1.

Apply the workaround from Yannic (Cyan4973#744)
on github CI workflow

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Yannic Staudt <yannic@tipi.build>
@hzhuang1
Copy link
Contributor Author

Copy the code snippet from Yannic, and create the pull request #749.

@hzhuang1
Copy link
Contributor Author

@Cyan4973 Could you help to share any comment on this pull request?

@Cyan4973
Copy link
Owner

I have a pretty full week unfortunately.
I'm likely going to find some time for it by the end of the week.

@hzhuang1
Copy link
Contributor Author

No problem. Thanks a lot.

@hzhuang1
Copy link
Contributor Author

The latest simplified version is in #756. So close it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants