Skip to content

20190524 trunk - where is clang compiler #50

Description

@libRh

Anyone know where the clang compiler is? Fist time using pkgsrc on macOS HighSierra. I want to install the latest clang version.

Activity

  1. krytarowski commented on Jul 19, 2019

    @krytarowski
    Member

    lang/clang ?

  2. libRh commented on Jul 19, 2019

    @libRh
    Author

    sudo pkgin -y install clang
    clang is not available in the repository
    calculating dependencies...done.

  3. krytarowski commented on Jul 19, 2019

    @krytarowski
    Member

    What's the repo? For macos I recommend to prompt joyent @jperkin .

  4. libRh commented on Jul 19, 2019

    @libRh
    Author

    that wahts I've done

    Copy and paste the lines below to install the 64-bit Sierra set.

    These packages are suitable for anyone running Sierra (10.12.6) or newer,

    and are updated from pkgsrc trunk every few days.

    BOOTSTRAP_TAR="bootstrap-trunk-x86_64-20190524.tar.gz"
    BOOTSTRAP_SHA="1c554a806fb41dcc382ef33e64841ace13988479"

    Download the bootstrap kit to the current directory.

    curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}

    Verify the SHA1 checksum.

    echo "${BOOTSTRAP_SHA} ${BOOTSTRAP_TAR}" >check-shasum
    shasum -c check-shasum

    Verify PGP signature. This step is optional, and requires gpg.

    curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}.asc
    curl -sS https://pkgsrc.joyent.com/pgp/1F32A9AD.asc | gpg --import
    gpg --verify ${BOOTSTRAP_TAR}{.asc,}

    Install bootstrap kit to /opt/pkg

    sudo tar -zxpf ${BOOTSTRAP_TAR} -C /

    Reload PATH/MANPATH (pkgsrc installs /etc/paths.d/10-pkgsrc for new sessions)

    eval $(/usr/libexec/path_helper)

    I completely new to this I try to learn C

  5. bsiegert commented on Jul 19, 2019

    @bsiegert
    Contributor
  6. libRh commented on Jul 19, 2019

    @libRh
    Author

    Oh okay so no clang for me? Will it eventually get fixed anytime soon?

  7. spchamp commented on Sep 7, 2019

    @spchamp

    The CC, CXX, and LD used for the build may, in ways, affect the build process. Albeit not on a BSD, I've been able to build a full LLVM toolchain on Debian 8 and more recently, on Debian 10, using the host LLVM toolchain distro – respectively, Debian LLVM 4 and LLVM 7 distributions.

    imoe; LLVM 8 from pkrsrc seems to work out for for building in pkgsrc, locally, once the initial pkgsrc LLVM build+install completes, using the host's LLVM distro – also using libcxx, libcxxabi (building on a Linux) and lld initially from the host OS distro, to build all those via pkgsrc. imoe it works out after the stage-1 build, using the host toolchain distro, namely LLVM. in that first build.

    imoe it also works out on FreeBSD 11.2 … under some local config.

    May there be another CC, CXX and LD available on the host, for the LLVM build?

  8. added a commit that references this issue on Apr 6, 2020
  9. added a commit that references this issue on May 8, 2020
  10. 208 remaining items

  11. added a commit that references this issue on Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions