Closed Bug 1360771 Opened 7 years ago Closed 7 years ago

Look for llvm-config39 as well as llvm-config-3.9

Categories

(Firefox Build System :: General, defect)

Unspecified
FreeBSD
defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file)

Downstream LLVM packages on FreeBSD currently don't provide unsuffixed llvm-config.

$ echo "ac_add_options --enable-stylo" >>.mozconfig
$ pkg install llvm39

$ ./mach bootstrap
$ ./mach build
[...]
 0:01.58 checking for llvm-config... not found
 0:01.59 ERROR: Could not find LLVM/Clang installation for compiling stylo build-time
 0:01.59 bindgen.  Please put 'llvm-config' in your PATH, specify the
 0:01.59 'LLVM_CONFIG' environment variable, or pass the '--with-libclang-path'
 0:01.59 and '--with-clang-path' options to configure.
 0:01.61 *** Fix above errors and then restart with\
 0:01.61                "/usr/local/bin/gmake -f client.mk build"
Blocks: 1360781
Comment on attachment 8863084 [details]
Bug 1360771 - llvm-config is N/A on FreeBSD try llvm-config39 as well.

https://reviewboard.mozilla.org/r/134922/#review137900

Thanks for maintaining bsd support! r=me with the commit message updated.

::: commit-message-6df3d:2
(Diff revision 1)
> +Bug 1360771 - Check for llvm-config39 in configure. r?rillian
> +

Please include a 'why' section of your commit message describing the motivation for the change. Something like
```
Bug 1360771 - Check for llvm-config39 in configure. r?rillian

FreeBSD does not provide an unversioned llvm-config and uses a different scheme for its versioned script names.
```

This information is clearly available in the referenced bug of course, but it's nice to have it available in the log as well.
Attachment #8863084 - Flags: review?(giles) → review+
Keywords: checkin-needed
Comment on attachment 8863084 [details]
Bug 1360771 - llvm-config is N/A on FreeBSD try llvm-config39 as well.

https://reviewboard.mozilla.org/r/134922/#review137904
Assignee: nobody → jbeich
Keywords: checkin-needed
Pushed by rgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff984d234dd0
llvm-config is N/A on FreeBSD try llvm-config39 as well. r=rillian
https://hg.mozilla.org/mozilla-central/rev/ff984d234dd0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: