Skip to content

Add macOS/Darwin build support and Clang compatibility fixes#2

Open
jzmiller1 wants to merge 1 commit intodavidson16807:masterfrom
jzmiller1:run-on-macos
Open

Add macOS/Darwin build support and Clang compatibility fixes#2
jzmiller1 wants to merge 1 commit intodavidson16807:masterfrom
jzmiller1:run-on-macos

Conversation

@jzmiller1
Copy link

  • Add Darwin/macOS platform detection and Homebrew paths to all 14 demo Makefiles

  • Add OpenMP support for macOS using libomp in 7-openmp and 8-interaction demos

  • Fix GLSL shader syntax errors (remove errant semicolons after main()) in 5 shader files

  • Remove constexpr from std::string return types in 10 analytic math headers (not literal type)

  • Replace std::vector with std::array in 3 index files (Clang compatibility)

  • Fix vexing parse issues in ColumnSummaryOps_test.cpp and CrustSummaryOps_test.cpp

  • Add initializer_list overload to PolynomialRailyardRelation.hpp for template deduction

  • Fix constexpr/static issues in Properties.hpp and GasPropertyStateRelation.hpp

  • Add missing includes and suppress Clang-specific warnings in test Makefiles

  • Comment out unused variables and type aliases to fix Clang -Wunused-* errors

* Add Darwin/macOS platform detection and Homebrew paths to all 14 demo Makefiles

* Add OpenMP support for macOS using libomp in 7-openmp and 8-interaction demos

* Fix GLSL shader syntax errors (remove errant semicolons after main()) in 5 shader files

* Remove constexpr from std::string return types in 10 analytic math headers (not literal type)

* Replace std::vector<const std::string> with std::array in 3 index files (Clang compatibility)

* Fix vexing parse issues in ColumnSummaryOps_test.cpp and CrustSummaryOps_test.cpp

* Add initializer_list overload to PolynomialRailyardRelation.hpp for template deduction

* Fix constexpr/static issues in Properties.hpp and GasPropertyStateRelation.hpp

* Add missing includes and suppress Clang-specific warnings in test Makefiles
@jzmiller1
Copy link
Author

Thanks for sharing your project. I did a bit to get the demos running on MacOS and thought I would share it as a PR in case you wanted any of these changes.

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.

1 participant