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

GH actions CI for clang uses g++ #1872

jeroen opened this issue Mar 23, 2020 · 1 comment

GH actions CI for clang uses g++ #1872

jeroen opened this issue Mar 23, 2020 · 1 comment


Copy link

@jeroen jeroen commented Mar 23, 2020

@dlemstra I noticed that the build that uses CC=clang but CXX still uses g++ instead of clang++:

Options used to compile and link:
  PREFIX          = /usr
  EXEC-PREFIX     = /usr
  VERSION         = 7.0.10
  CC              = clang
  CFLAGS          =  -fopenmp -Wno-deprecated-declarations -Wall -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  PCFLAGS         = 
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = 
  LIBS            =                                         -lm     
  CXX             = g++
  CXXFLAGS        = -g -O2 -pthread
  FEATURES        = DPC Cipher OpenMP
  DELEGATES       = mpeg

This comment has been minimized.

Copy link

@dlemstra dlemstra commented Mar 24, 2020

This must be happening due to the setup of the environment. Maybe changing apt-get install -y autoconf pkg-config ${{matrix.compiler}} to apt-get install -y autoconf pkg-config ${{matrix.compiler}} ${{matrix.compiler}}++ resolves the issue? Could you open a PR for that so we can check this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.