Skip to content

c-blosc: Add -std=gnu99 flag when gcc.#11959

Merged
scheibelp merged 4 commits intospack:developfrom
tkameyama:bugfix/c-blosc
Aug 6, 2019
Merged

c-blosc: Add -std=gnu99 flag when gcc.#11959
scheibelp merged 4 commits intospack:developfrom
tkameyama:bugfix/c-blosc

Conversation

@tkameyama
Copy link
Copy Markdown
Contributor

c-blosc add -std=gnu99 flag if x86_64 and gcc.
But -std=gnu99 flag is needed for all target.
This fix is added -std=gnu99 flag when compiler is gcc.

@tkameyama
Copy link
Copy Markdown
Contributor Author

Since #12110 was merged, I rebased

@tkameyama
Copy link
Copy Markdown
Contributor Author

Because #12204 is merged, I rebased

@scheibelp scheibelp merged commit 567cef7 into spack:develop Aug 6, 2019
@scheibelp
Copy link
Copy Markdown
Member

Thanks!

likask added a commit to likask/spack that referenced this pull request Aug 7, 2019
…upsream_develop

* commit 'f7026a058b63f5a3109691e2c3871ee77c08f756': (1881 commits)
  Version 19.8.1 of PLASMA  (spack#12299)
  new package: py-exodus (spack#12291)
  ncurses: fix pic and opt flags (spack#12272)
  pumi: new version 2.2.1 (spack#12282)
  tests: explain and test dependency flattening routines (spack#11993)
  graphviz package: add MacOS fixes and quartz support (spack#11128)
  Overhaul numpy package (spack#12170)
  mirrors: mirror config should use spack variable expansions (spack#9027)
  stacks: fix reference handling in env.write() (spack#12096)
  fltk: fix about variable types (spack#12292)
  Avoid sending empty reports to codecov (spack#12293)
  Packages/musl (spack#12288)
  c-blosc package: Add -std=gnu99 flag for gcc (spack#11959)
  Move new packages from tutorial to builtin (spack#12289)
  Balay/amrex 19.08 (spack#12287)
  openPMD-api: pre-load depend libs (spack#12279)
  Add version 19.8.0 of PLASMA (spack#12275)
  Add version 2.5.1 of MAGMA released today (spack#12274)
  ginkgo: add maintainers (spack#12273)
  new package: py-backports-tempfile (spack#12261)
  ...

# Conflicts:
#	.travis.yml
#	var/spack/repos/builtin/packages/moab/package.py
#	var/spack/repos/builtin/packages/mofem-cephas/package.py
#	var/spack/repos/builtin/packages/mofem-fracture-module/package.py
#	var/spack/repos/builtin/packages/mofem-users-modules/package.py
#	var/spack/repos/builtin/packages/petsc/package.py
dev-zero pushed a commit to dev-zero/spack that referenced this pull request Aug 13, 2019
When building with GCC, c-blosc requires the -std=gnu99 flag.
Before this patch, the build would only add -std=gnu99 for GCC when
building on specific architectures; this adds -std=gnu99 in all cases
when using GCC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants