forked from chapel-lang/chapel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bundled fltk, have chplvis require a separately installed one (c…
…hapel-lang#26382) Resolves chapel-lang#26370 This PR removes `third-party/fltk` in favor of expecting users to have `fltk` already installed and available when they `make chplvis`. The reasons for this are: 1. We were seeing problems building the bundled fltk 2. Fltk doesn't build without dependencies. If users have to install dependencies to build `chplvis`, why not ask them to install `fltk`? Meanwhile, `fltk` is available in Homebrew, Spack, and various Linux package managers. This PR adjusts `tools/chplvis/Makefile`: * to use `fltk-config` and `fluid` from the `PATH` (although `make FLTK_CONFIG=<something> FLTK_FLUID=<something-else>` should work to override them) * to automatically add `-I` and `-L` paths for `/opt/homebrew/{include,lib}` on ARM Macs * to use `fltk-config --use-images` because `chplvis` uses `Fl_PNG_Image` Lastly, this PR fixes a bug in `chplvis` that was causing core dump. Reviewed by @benharsh - thanks! - [x] chplvis builds on Mac OS X with Homebrew installed fltk - [x] chplvis builds on Ubuntu 24.04 with system-installed fltk - [x] full comm=none testing
- Loading branch information
Showing
11 changed files
with
33 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters