A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/WebAssembly/wasi-sdk/commit/46fe12f3a12e2334e39a6f104793cec37accd299 below:

update to LLVM 16.0.0 (#314) · WebAssembly/wasi-sdk@46fe12f · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+9

-10

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+9

-10

lines changed Original file line number Diff line number Diff line change

@@ -37,7 +37,8 @@ BASH=

37 37 38 38

endif

39 39 40 -

CLANG_VERSION=$(shell $(BASH) ./llvm_version.sh $(LLVM_PROJ_DIR))

40 +

# Only the major version is needed for Clang, see https://reviews.llvm.org/D125860.

41 +

CLANG_VERSION=$(shell $(BASH) ./llvm_version_major.sh $(LLVM_PROJ_DIR))

41 42

VERSION:=$(shell $(BASH) ./version.sh)

42 43

DEBUG_PREFIX_MAP=-fdebug-prefix-map=$(ROOT_DIR)=wasisdk://v$(VERSION)

43 44

@@ -67,8 +68,8 @@ build/llvm.BUILT:

67 68

-DLLVM_TARGETS_TO_BUILD=WebAssembly \

68 69

-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi \

69 70

-DLLVM_ENABLE_PROJECTS="lld;clang;clang-tools-extra" \

70 -

$(if $(patsubst 9.%,,$(CLANG_VERSION)), \

71 -

$(if $(patsubst 10.%,,$(CLANG_VERSION)), \

71 +

$(if $(patsubst 9,,$(CLANG_VERSION)), \

72 +

$(if $(patsubst 10,,$(CLANG_VERSION)), \

72 73

-DDEFAULT_SYSROOT=../share/wasi-sysroot, \

73 74

-DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot), \

74 75

-DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot) \

Original file line number Diff line number Diff line change

@@ -0,0 +1,4 @@

1 +

#/bin/bash

2 +

LLVM_PROJ_DIR=${1:-./src/llvm-project}

3 +

MAJOR=`grep "set(LLVM_VERSION_MAJOR" $LLVM_PROJ_DIR/llvm/CMakeLists.txt | awk '{print substr($2, 1, length($2) - 1)}'`

4 +

echo $MAJOR

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4