Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v5.3.0 #217

Merged
merged 23 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b446a00
xmosdoc v4 fixes
BrennanGit Sep 22, 2023
45ff964
move docs build to jenkins
BrennanGit Sep 22, 2023
86c342f
doc_builder -> xmosdoc
BrennanGit Oct 3, 2023
2fa4c5b
set xmosdoc version to v4
BrennanGit Oct 10, 2023
5e74ad5
Merge pull request #211 from BrennanGit/feature/doc_builder_v4
BrennanGit Oct 20, 2023
edc7f53
Add support for XCommon CMake build system on v5.2.0 and above
xalbertoisorna May 15, 2024
6015650
adding missing files
xalbertoisorna May 28, 2024
dd4b37d
minor review updates
xalbertoisorna May 28, 2024
2c7bcef
Merge pull request #215 from xmos/feature/xcommon_cmake_on_v5
xalbertoisorna May 30, 2024
12152c6
Include platform.h in vanilla.cpp
ACascarino Jul 30, 2024
4a7f597
Update changelog
ACascarino Jul 30, 2024
936aca4
Merge pull request #216 from ACascarino/bugfix/vanilla_platform_h
ACascarino Jul 30, 2024
568154f
Update version number
ACascarino Jul 30, 2024
f710437
Bump version number
ACascarino Jul 30, 2024
eab6de3
Bump infr_apps and infr_scripts_py
ACascarino Jul 30, 2024
bc2c186
Include platform.h
ACascarino Jul 30, 2024
70798c7
More platform.h fixes
ACascarino Jul 30, 2024
129ef7c
Yet more platform.h changes
ACascarino Jul 30, 2024
d7d8745
Another set of platform.h fixes
ACascarino Jul 30, 2024
4b50c3d
Fix xscope invocation in tests
ACascarino Jul 30, 2024
d36db2d
Merge pull request #218 from ACascarino/feature/release_fixes_v5.3.0
ACascarino Jul 31, 2024
7687ecd
Copyrights
ACascarino Jul 31, 2024
b30dd40
Merge pull request #219 from ACascarino/feature/release_fixes_v5.3.0
ACascarino Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions .github/workflows/docs.yml

This file was deleted.

7 changes: 6 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
lib_mic_array change log
========================

5.3.0
-----

* FIXED: Vanilla configuration now compiles correctly under XTC 15.3.0
* ADDED: Support for XCommon CMake build system

5.2.0
-----

Expand Down Expand Up @@ -215,4 +221,3 @@ lib_mic_array change log
- lib_logging: Added dependency 2.0.0

- lib_xassert: Added dependency 2.0.0

95 changes: 62 additions & 33 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('xmos_jenkins_shared_library@v0.25.0') _
@Library('xmos_jenkins_shared_library@v0.33.0') _
getApproval()
pipeline {
agent none
Expand All @@ -15,53 +15,82 @@ pipeline {
parameters {
string(
name: 'TOOLS_VERSION',
defaultValue: '15.2.1',
defaultValue: '15.3.0',
description: 'The XTC tools version'
)
}
environment {
REPO = 'lib_mic_array'
}
stages {
stage('Basic tests') {
agent {
label 'x86_64 && linux'
}
stages {
stage("Setup") {
// Clone and install build dependencies
stage('Build and Docs') {
parallel {
stage('Build Docs') {
agent { label "docker" }
environment { XMOSDOC_VERSION = "v4.0" }
steps {
// Print the build agent name
println "RUNNING ON"
println env.NODE_NAME
// Clone infrastructure repos
sh "git clone --branch v1.4.6 [email protected]:xmos/infr_apps"
sh "git clone --branch v1.2.1 [email protected]:xmos/infr_scripts_py"
// clone
dir("$REPO") {
checkout scm
sh "git submodule update --init --recursive"
withTools(params.TOOLS_VERSION) {
installDependencies()
}
checkout scm
sh 'git submodule update --init --recursive --depth 1'
sh "docker pull ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION"
sh """docker run -u "\$(id -u):\$(id -g)" \
--rm \
-v ${WORKSPACE}:/build \
ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION -v"""
archiveArtifacts artifacts: "doc/_build/**", allowEmptyArchive: true
}
post {
cleanup {
xcoreCleanSandbox()
}
}
}
stage("Lib checks") {
steps {
println "Unlikely these will pass.."
// warnError("Source Check"){ sourceCheck("${REPO}") }
// warnError("Changelog Check"){ xcoreChangelogCheck("${REPO}") }
stage('Basic tests') {
when {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird change... but ok

expression { !env.GH_LABEL_DOC_ONLY.toBoolean() }
}
agent {
label 'x86_64 && linux'
}
stages {
stage("Setup") {
// Clone and install build dependencies
steps {
// Print the build agent name
println "RUNNING ON"
println env.NODE_NAME
// Clone infrastructure repos
sh "git clone --branch v1.6.0 [email protected]:xmos/infr_apps"
sh "git clone --branch v1.3.0 [email protected]:xmos/infr_scripts_py"
// clone
dir("$REPO") {
checkout scm
sh "git submodule update --init --recursive"
withTools(params.TOOLS_VERSION) {
installDependencies()
}
}
}
}
stage("Lib checks") {
steps {
println "Unlikely these will pass.."
// warnError("Source Check"){ sourceCheck("${REPO}") }
// warnError("Changelog Check"){ xcoreChangelogCheck("${REPO}") }
}
}
}
post {
cleanup {
xcoreCleanSandbox()
}
}
}
}
post {
cleanup {
xcoreCleanSandbox()
}
}
}
stage('HW tests') {
when {
expression { !env.GH_LABEL_DOC_ONLY.toBoolean() }
}
agent {
label 'xvf3800' // We have plenty of these (6) and they have a single XTAG connected
}
Expand Down Expand Up @@ -115,4 +144,4 @@ pipeline {
}
}
}
}
}
3 changes: 2 additions & 1 deletion demos/common/src/dac_port.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// Copyright (c) 2022-2023 XMOS LIMITED.
// Copyright (c) 2022-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public License: Version 1

#include <assert.h>

#include "app_config.h"
#include "i2c.h"
#include "aic3204/aic3204.h"
#include "platform.h"

i2c_master_t i2c_master_ctx;

Expand Down
4 changes: 2 additions & 2 deletions demos/demo/src/app.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2022 XMOS LIMITED.
// Copyright 2022-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include "app.h"

#include <platform.h>
#include "mic_array/cpp/Prefab.hpp"

#define DCOE_ENABLED true
Expand Down
3 changes: 2 additions & 1 deletion demos/demo/src/app_i2s.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 XMOS LIMITED.
// Copyright 2022-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include <platform.h>
Expand All @@ -15,6 +15,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <platform.h>

#include <math.h>

Expand Down
3 changes: 2 additions & 1 deletion demos/demo_par_decimator/src/app.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// Copyright 2023 XMOS LIMITED.
// Copyright 2023-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include <stdint.h>
#include <xcore/channel_streaming.h>
#include <xcore/interrupt.h>
#include <platform.h>

#include "app_config.h"
#include "app_mic_array.hpp"
Expand Down
3 changes: 2 additions & 1 deletion demos/demo_par_decimator/src/app_i2s.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 XMOS LIMITED.
// Copyright 2023-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include <platform.h>
Expand All @@ -18,6 +18,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <platform.h>

#include <math.h>

Expand Down
3 changes: 2 additions & 1 deletion demos/demo_vanilla/src/app_i2s.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 XMOS LIMITED.
// Copyright 2022-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include <platform.h>
Expand All @@ -15,6 +15,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <platform.h>

#include <math.h>

Expand Down
3 changes: 2 additions & 1 deletion demos/measure_mips/src/app.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// Copyright 2022 XMOS LIMITED.
// Copyright 2022-2024 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#include <iostream>
#include <cstdio>
#include <xcore/channel_streaming.h>

#include "app.h"
#include <platform.h>

#include "mic_array/cpp/MicArray.hpp"
#include "mic_array/cpp/Prefab.hpp"
Expand Down
Loading
Loading