Skip to content

Commit

Permalink
fix Freebsd cross build fix clang format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Farzon Lotfi committed Dec 6, 2023
1 parent defa884 commit 10192b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-freeBSD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
TARGET_TRIPLE: x86_64-unknown-freebsd13.1
TARGET_TRIPLE: x86_64-unknown-freebsd13.2

jobs:

Expand All @@ -36,7 +36,7 @@ jobs:
ca-certificates vim xz-utils libc++-dev libc++abi-dev
- name: setup sysroot
run: |
cd /tmp && wget http://ftp.plusline.de/FreeBSD/releases/amd64/13.1-RELEASE/base.txz \
cd /tmp && wget http://ftp.plusline.de/FreeBSD/releases/amd64/13.2-RELEASE/base.txz \
&& mkdir -p /opt/cross-freebsd-13 \
&& cd /opt/cross-freebsd-13 \
&& tar -xf /tmp/base.txz ./lib/ ./usr/lib/ ./usr/include/ \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.freebsd-cross
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN mkdir $WORKDIR
#Set the working dir to the env variable
WORKDIR $WORKDIR

RUN cd /tmp && wget http://ftp.plusline.de/FreeBSD/releases/amd64/13.1-RELEASE/base.txz \
RUN cd /tmp && wget http://ftp.plusline.de/FreeBSD/releases/amd64/13.2-RELEASE/base.txz \
&& mkdir -p /opt/cross-freebsd-13 \
&& cd /opt/cross-freebsd-13 \
&& tar -xf /tmp/base.txz ./lib/ ./usr/lib/ ./usr/include/ \
Expand All @@ -31,7 +31,7 @@ COPY scripts scripts
COPY cli-test-cases cli-test-cases
COPY src src

ENV TARGET_TRIPLE=x86_64-unknown-freebsd13.1
ENV TARGET_TRIPLE=x86_64-unknown-freebsd13.2
RUN cmake -S . -B build \
-GNinja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Syntax/SyntaxKind.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#pragma once
#include <cassert>
#include <iostream>
#include <stdint.h>
#include <string>
#include <unordered_map>
#include <stdint.h>

class SyntaxKind {
public:
Expand Down

0 comments on commit 10192b8

Please sign in to comment.