Code Monkey home page Code Monkey logo

Comments (2)

jkotas avatar jkotas commented on August 21, 2024 1

The compiler gets configured through https://github.com/dotnet/runtime/blob/main/eng/native/gen-buildsys.sh#L30-L31 script that exports CCC_CC and CCC_CXX environment variables. I would expect that llvm build via cmake is going to respect these env variables as well. Try to set these env variables directly or run this script to set them.

from runtimelab.

jkotas avatar jkotas commented on August 21, 2024

This image is setup to use clang-18 both as the C/C++ compiler and the assembler.

This is example of build log from dotnet/runtime build https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/717075/logs/439

Look for:

2024-06-22T23:25:19.1457207Z   -- Check for working C compiler: /usr/local/bin/clang-18 - skipped
2024-06-22T23:25:19.1465561Z   -- Detecting C compile features
2024-06-22T23:25:19.1473467Z   -- Detecting C compile features - done
2024-06-22T23:25:19.1661111Z   -- Detecting CXX compiler ABI info
2024-06-22T23:25:19.2681211Z   -- Detecting CXX compiler ABI info - done
2024-06-22T23:25:19.2774567Z   -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
2024-06-22T23:25:19.2780740Z   -- Detecting CXX compile features
2024-06-22T23:25:19.2787635Z   -- Detecting CXX compile features - done
2024-06-22T23:25:19.3269188Z   Detected Linux x86_64
2024-06-22T23:25:19.3275136Z   -- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG
2024-06-22T23:25:19.4124657Z   -- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG - Success
2024-06-22T23:25:19.4129833Z   -- Performing Test COMPILER_SUPPORTS_W_IMPLICIT_FALLTHROUGH
2024-06-22T23:25:19.4981939Z   -- Performing Test COMPILER_SUPPORTS_W_IMPLICIT_FALLTHROUGH - Success
2024-06-22T23:25:19.4988554Z   -- Performing Test COMPILER_SUPPORTS_W_RESERVED_IDENTIFIER
2024-06-22T23:25:19.5850024Z   -- Performing Test COMPILER_SUPPORTS_W_RESERVED_IDENTIFIER - Success
2024-06-22T23:25:19.6336920Z   -- The ASM compiler identification is Clang 18.1.4 with GNU-like command-line
2024-06-22T23:25:19.6368436Z   -- Found assembler: /usr/local/bin/clang-18

from runtimelab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.