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

cross-compile ppc64le (qt6) #76

Open
wants to merge 3 commits into
base: qt6
Choose a base branch
from

Conversation

Tobias-Fischer
Copy link
Contributor

@Tobias-Fischer Tobias-Fischer commented Dec 2, 2022

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@Tobias-Fischer
Copy link
Contributor Author

@conda-forge-admin, please rerender

@Tobias-Fischer
Copy link
Contributor Author

I'm not sure what's going on here - any tips @conda-forge/help-ppc64le?

    Run Build Command(s):/home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/_build_env/bin/ninja cmTC_4e371 && [1/2] Building CXX object CMakeFiles/cmTC_4e371.dir/testCXXCompiler.cxx.o
    FAILED: CMakeFiles/cmTC_4e371.dir/testCXXCompiler.cxx.o 
    /home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/_build_env/bin/x86_64-conda-linux-gnu-c++   -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/_build_env/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/work=/usr/local/src/conda/qt6-main-6.4.1 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/_build_env=/usr/local/src/conda-prefix -o CMakeFiles/cmTC_4e371.dir/testCXXCompiler.cxx.o -c /home/conda/feedstock_root/build_artifacts/qt6-main_1669952323536/work/build_native/CMakeFiles/CMakeScratch/TryCompile-kEnmvo/testCXXCompiler.cxx
    cc1plus: error: bad value ('power8') for '-mtune=' switch
    cc1plus: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake tigerlake cooperlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 generic native
    ninja: build stopped: subcommand failed.

@h-vetinari
Copy link
Member

Looks like you're getting all the CPU arch options for x86 (the host); I'd simply remove -mtune= from the compiler options, alternatively need to figure out how to apply it to target, not host.

@hmaarrfk
Copy link
Contributor

see: #84 for an alternative.

@matthiasdiener
Copy link
Contributor

matthiasdiener commented Jan 17, 2023

ppc64le support for qt5 has been merged (via manual build) in #64

@jschueller
Copy link
Contributor

can you rebase/rerender ?

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@Tobias-Fischer
Copy link
Contributor Author

@conda-forge-admin, please rerender

@Tobias-Fischer
Copy link
Contributor Author

Sure, done @jschueller. Feel free to take over :)

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.

6 participants